C# Class Inazuma.Mono.Cecil.MetadataSystem

Datei anzeigen Open project: mayuki/Inazuma Class Usage Examples

Public Methods

Method Description
AddEventsRange ( uint type_rid, Range range ) : void
AddFieldDefinition ( FieldDefinition field ) : void
AddMemberReference ( MemberReference member ) : void
AddMethodDefinition ( MethodDefinition method ) : void
AddPropertiesRange ( uint type_rid, Range range ) : void
AddTypeDefinition ( TypeDefinition type ) : void
AddTypeReference ( TypeReference type ) : void
Clear ( ) : void
GetFieldDeclaringType ( uint field_rid ) : TypeDefinition
GetFieldDefinition ( uint rid ) : FieldDefinition
GetMemberReference ( uint rid ) : MemberReference
GetMethodDeclaringType ( uint method_rid ) : TypeDefinition
GetMethodDefinition ( uint rid ) : MethodDefinition
GetTypeDefinition ( uint rid ) : TypeDefinition
GetTypeReference ( uint rid ) : TypeReference
RemoveCustomAttributeRange ( ICustomAttributeProvider owner ) : void
RemoveEventsRange ( TypeDefinition type ) : void
RemoveGenericConstraintMapping ( GenericParameter generic_parameter ) : void
RemoveGenericParameterRange ( IGenericParameterProvider owner ) : void
RemoveInterfaceMapping ( TypeDefinition type ) : void
RemoveNestedTypeMapping ( TypeDefinition type ) : void
RemoveOverrideMapping ( MethodDefinition method ) : void
RemovePropertiesRange ( TypeDefinition type ) : void
RemoveReverseNestedTypeMapping ( TypeDefinition type ) : void
RemoveSecurityDeclarationRange ( ISecurityDeclarationProvider owner ) : void
SetGenericConstraintMapping ( uint gp_rid, MetadataToken mapping ) : void
SetInterfaceMapping ( uint type_rid, MetadataToken mapping ) : void
SetNestedTypeMapping ( uint type_rid, uint mapping ) : void
SetOverrideMapping ( uint rid, MetadataToken mapping ) : void
SetReverseNestedTypeMapping ( uint nested, uint declaring ) : void
TryGetCustomAttributeRanges ( ICustomAttributeProvider owner, Range &ranges ) : bool
TryGetEventsRange ( TypeDefinition type, Range &range ) : bool
TryGetGenericConstraintMapping ( GenericParameter generic_parameter, MetadataToken &mapping ) : bool
TryGetGenericParameterRanges ( IGenericParameterProvider owner, Range &ranges ) : bool
TryGetInterfaceMapping ( TypeDefinition type, MetadataToken &mapping ) : bool
TryGetNestedTypeMapping ( TypeDefinition type, uint &mapping ) : bool
TryGetOverrideMapping ( MethodDefinition method, MetadataToken &mapping ) : bool
TryGetPrimitiveElementType ( TypeDefinition type, ElementType &etype ) : bool
TryGetPropertiesRange ( TypeDefinition type, Range &range ) : bool
TryGetReverseNestedTypeMapping ( TypeDefinition type, uint &declaring ) : bool
TryGetSecurityDeclarationRanges ( ISecurityDeclarationProvider owner, Range &ranges ) : bool
TryProcessPrimitiveTypeReference ( TypeReference type ) : void

Private Methods

Method Description
BinaryRangeSearch ( TypeDefinition types, uint rid, bool field ) : TypeDefinition
InitializePrimitives ( ) : void
TryGetPrimitiveData ( TypeReference type, bool>.Row &primitive_data ) : bool

Method Details

AddEventsRange() public method

public AddEventsRange ( uint type_rid, Range range ) : void
type_rid uint
range Range
return void

AddFieldDefinition() public method

public AddFieldDefinition ( FieldDefinition field ) : void
field FieldDefinition
return void

AddMemberReference() public method

public AddMemberReference ( MemberReference member ) : void
member MemberReference
return void

AddMethodDefinition() public method

public AddMethodDefinition ( MethodDefinition method ) : void
method MethodDefinition
return void

AddPropertiesRange() public method

public AddPropertiesRange ( uint type_rid, Range range ) : void
type_rid uint
range Range
return void

AddTypeDefinition() public method

public AddTypeDefinition ( TypeDefinition type ) : void
type TypeDefinition
return void

AddTypeReference() public method

public AddTypeReference ( TypeReference type ) : void
type TypeReference
return void

Clear() public method

public Clear ( ) : void
return void

GetFieldDeclaringType() public method

public GetFieldDeclaringType ( uint field_rid ) : TypeDefinition
field_rid uint
return TypeDefinition

GetFieldDefinition() public method

public GetFieldDefinition ( uint rid ) : FieldDefinition
rid uint
return FieldDefinition

GetMemberReference() public method

public GetMemberReference ( uint rid ) : MemberReference
rid uint
return MemberReference

GetMethodDeclaringType() public method

public GetMethodDeclaringType ( uint method_rid ) : TypeDefinition
method_rid uint
return TypeDefinition

GetMethodDefinition() public method

public GetMethodDefinition ( uint rid ) : MethodDefinition
rid uint
return MethodDefinition

GetTypeDefinition() public method

public GetTypeDefinition ( uint rid ) : TypeDefinition
rid uint
return TypeDefinition

GetTypeReference() public method

public GetTypeReference ( uint rid ) : TypeReference
rid uint
return TypeReference

RemoveCustomAttributeRange() public method

public RemoveCustomAttributeRange ( ICustomAttributeProvider owner ) : void
owner ICustomAttributeProvider
return void

RemoveEventsRange() public method

public RemoveEventsRange ( TypeDefinition type ) : void
type TypeDefinition
return void

RemoveGenericConstraintMapping() public method

public RemoveGenericConstraintMapping ( GenericParameter generic_parameter ) : void
generic_parameter GenericParameter
return void

RemoveGenericParameterRange() public method

public RemoveGenericParameterRange ( IGenericParameterProvider owner ) : void
owner IGenericParameterProvider
return void

RemoveInterfaceMapping() public method

public RemoveInterfaceMapping ( TypeDefinition type ) : void
type TypeDefinition
return void

RemoveNestedTypeMapping() public method

public RemoveNestedTypeMapping ( TypeDefinition type ) : void
type TypeDefinition
return void

RemoveOverrideMapping() public method

public RemoveOverrideMapping ( MethodDefinition method ) : void
method MethodDefinition
return void

RemovePropertiesRange() public method

public RemovePropertiesRange ( TypeDefinition type ) : void
type TypeDefinition
return void

RemoveReverseNestedTypeMapping() public method

public RemoveReverseNestedTypeMapping ( TypeDefinition type ) : void
type TypeDefinition
return void

RemoveSecurityDeclarationRange() public method

public RemoveSecurityDeclarationRange ( ISecurityDeclarationProvider owner ) : void
owner ISecurityDeclarationProvider
return void

SetGenericConstraintMapping() public method

public SetGenericConstraintMapping ( uint gp_rid, MetadataToken mapping ) : void
gp_rid uint
mapping MetadataToken
return void

SetInterfaceMapping() public method

public SetInterfaceMapping ( uint type_rid, MetadataToken mapping ) : void
type_rid uint
mapping MetadataToken
return void

SetNestedTypeMapping() public method

public SetNestedTypeMapping ( uint type_rid, uint mapping ) : void
type_rid uint
mapping uint
return void

SetOverrideMapping() public method

public SetOverrideMapping ( uint rid, MetadataToken mapping ) : void
rid uint
mapping MetadataToken
return void

SetReverseNestedTypeMapping() public method

public SetReverseNestedTypeMapping ( uint nested, uint declaring ) : void
nested uint
declaring uint
return void

TryGetCustomAttributeRanges() public method

public TryGetCustomAttributeRanges ( ICustomAttributeProvider owner, Range &ranges ) : bool
owner ICustomAttributeProvider
ranges Range
return bool

TryGetEventsRange() public method

public TryGetEventsRange ( TypeDefinition type, Range &range ) : bool
type TypeDefinition
range Range
return bool

TryGetGenericConstraintMapping() public method

public TryGetGenericConstraintMapping ( GenericParameter generic_parameter, MetadataToken &mapping ) : bool
generic_parameter GenericParameter
mapping MetadataToken
return bool

TryGetGenericParameterRanges() public method

public TryGetGenericParameterRanges ( IGenericParameterProvider owner, Range &ranges ) : bool
owner IGenericParameterProvider
ranges Range
return bool

TryGetInterfaceMapping() public method

public TryGetInterfaceMapping ( TypeDefinition type, MetadataToken &mapping ) : bool
type TypeDefinition
mapping MetadataToken
return bool

TryGetNestedTypeMapping() public method

public TryGetNestedTypeMapping ( TypeDefinition type, uint &mapping ) : bool
type TypeDefinition
mapping uint
return bool

TryGetOverrideMapping() public method

public TryGetOverrideMapping ( MethodDefinition method, MetadataToken &mapping ) : bool
method MethodDefinition
mapping MetadataToken
return bool

TryGetPrimitiveElementType() public static method

public static TryGetPrimitiveElementType ( TypeDefinition type, ElementType &etype ) : bool
type TypeDefinition
etype ElementType
return bool

TryGetPropertiesRange() public method

public TryGetPropertiesRange ( TypeDefinition type, Range &range ) : bool
type TypeDefinition
range Range
return bool

TryGetReverseNestedTypeMapping() public method

public TryGetReverseNestedTypeMapping ( TypeDefinition type, uint &declaring ) : bool
type TypeDefinition
declaring uint
return bool

TryGetSecurityDeclarationRanges() public method

public TryGetSecurityDeclarationRanges ( ISecurityDeclarationProvider owner, Range &ranges ) : bool
owner ISecurityDeclarationProvider
ranges Range
return bool

TryProcessPrimitiveTypeReference() public static method

public static TryProcessPrimitiveTypeReference ( TypeReference type ) : void
type TypeReference
return void