稍微修改过的Mono.Cecil

给Jb Evain发了email不过还没得到回复。但是有个功能想用但Mono.Cecil没有,而且也有些与System.Reflection不兼容的地方。想想还是自己先做点修改来用用好了。

修改的说明:
引用
Modified Mono.Cecil in a few places, based on Jb Evain's
Mono.Cecil in Mono SVN trunk on 2008-09-15.

1. modified Mono.Cecil.TypeReference.FullName
changed the concatenation character from '/' to '+',
in order to stay compatible with System.Reflection.

2. modified Mono.Cecil.TypeDefinition.IsClass
adds the !this.ValueType condition to stay compatible
with System.Reflection.

3. added Mono.Cecil.TypeDefinition.IsVisible
a convenience method to see whether a type is visible
outside the assembly, as what System.Reflection.Type.IsVisible does.

4. modified Mono.Cecil.Binary.ImageReader.Read(string)
a trivial modification, replaced:
  if (!File.Exists (fi.FullName))
with:
  if ( !fi.Exists )

5. all source code have been reformated due to my Visual
Studio's settings...

2008-09-21
RednaxelaFX


下载在附件里。

你可能感兴趣的:(SVN)