C# 클래스 Gendarme.Framework.Rocks.ModuleRocks

ModuleRocks contains extensions methods for ModuleDefinition and the related collection classes.
파일 보기 프로젝트 열기: remobjects/mono-tools

Private Properties

프로퍼티 타입 설명
ModuleRocks System

공개 메소드들

메소드 설명
AnyMemberReference ( this self, bool>.Func predicate ) : bool

Check if any MemberReference, referenced by the current ModuleDefinition, satisfies the specified predicate.

Cecil's GetMemberReferences method will allocate a new array each time it is called. This extension method will cache the IEnumerable, on the first use, to reduce memory consumption.

AnyTypeReference ( this self, bool>.Func predicate ) : bool

Check if any TypeReference, referenced by the current ModuleDefinition, satisfies the specified predicate.

Cecil's GetTypeReferences method will allocate a new array each time it is called. This extension method will cache the IEnumerable, on the first use, to reduce memory consumption.

GetAllTypes ( this self ) : IEnumerable

Return an IEnumerable that allows a single loop (like a foreach) to traverse all types that are defined in a module.

LoadDebuggingSymbols ( this self ) : void

Load, if available, the debugging symbols associated with the module. This first try to load a MDB file (symbols from the Mono:: runtime) and then, if not present and running on MS.NET, try to load a PDB file (symbols from MS runtime).

비공개 메소드들

메소드 설명
ModuleRocks ( ) : System

메소드 상세

AnyMemberReference() 공개 정적인 메소드

Check if any MemberReference, referenced by the current ModuleDefinition, satisfies the specified predicate.
Cecil's GetMemberReferences method will allocate a new array each time it is called. This extension method will cache the IEnumerable, on the first use, to reduce memory consumption.
public static AnyMemberReference ( this self, bool>.Func predicate ) : bool
self this The ModuleDefinition on which the extension method can be called.
predicate bool>.Func The condition to execute on a provided MemberReference
리턴 bool

AnyTypeReference() 공개 정적인 메소드

Check if any TypeReference, referenced by the current ModuleDefinition, satisfies the specified predicate.
Cecil's GetTypeReferences method will allocate a new array each time it is called. This extension method will cache the IEnumerable, on the first use, to reduce memory consumption.
public static AnyTypeReference ( this self, bool>.Func predicate ) : bool
self this The ModuleDefinition on which the extension method can be called.
predicate bool>.Func The condition to execute on a provided TypeReference
리턴 bool

GetAllTypes() 공개 정적인 메소드

Return an IEnumerable that allows a single loop (like a foreach) to traverse all types that are defined in a module.
public static GetAllTypes ( this self ) : IEnumerable
self this The ModuleDefinition on which the extension method can be called.
리턴 IEnumerable

LoadDebuggingSymbols() 공개 정적인 메소드

Load, if available, the debugging symbols associated with the module. This first try to load a MDB file (symbols from the Mono:: runtime) and then, if not present and running on MS.NET, try to load a PDB file (symbols from MS runtime).
public static LoadDebuggingSymbols ( this self ) : void
self this
리턴 void