Метод | Описание | |
---|---|---|
FindAttribute ( IEnumerable |
IF an attribute of the specified special type exists in the sequence, return it. Otherwise return null.
|
|
GetAttributeType ( ICustomAttribute attr ) : SpecialAttribute |
Determine if the specified attribute is of a special type, and if so return a code representing it. This is usefull for types not alread in IPlatformType
|
|
GetHiddenBaseClassMethod ( IMethodDefinition derivedClassMethod ) : IMethodDefinition |
Returns the method from the closest base class that is hidden by the given method according to C# rules. If the method is an interface method definition, then look at it's base interfaces If no such method exists, Dummy.MethodDefinition is returned.
|
|
GetHiddenField ( IFieldDefinition derivedClassField ) : IFieldDefinition |
Returns the field from the closest base class that is hidden by the given field according to C# rules.
|
|
IsMscorlibTypeNamed ( ITypeReference type, string name ) : bool |
True if the specified type is defined in mscorlib and has the specified name
|
Метод | Описание | |
---|---|---|
GetHiddenBaseClassMethod ( IMethodDefinition derivedClassMethod, ITypeDefinition baseClass ) : IMethodDefinition | ||
GetHiddenField ( IFieldDefinition derivedClassField, ITypeDefinition baseClass ) : IFieldDefinition |
public static FindAttribute ( IEnumerable |
||
attrs | IEnumerable |
|
sa | SpecialAttribute | |
Результат | ICustomAttribute |
public static GetAttributeType ( ICustomAttribute attr ) : SpecialAttribute | ||
attr | ICustomAttribute | |
Результат | SpecialAttribute |
public static GetHiddenBaseClassMethod ( IMethodDefinition derivedClassMethod ) : IMethodDefinition | ||
derivedClassMethod | IMethodDefinition | |
Результат | IMethodDefinition |
public static GetHiddenField ( IFieldDefinition derivedClassField ) : IFieldDefinition | ||
derivedClassField | IFieldDefinition | |
Результат | IFieldDefinition |
public static IsMscorlibTypeNamed ( ITypeReference type, string name ) : bool | ||
type | ITypeReference | |
name | string | |
Результат | bool |