C# Class Mono.Cecil.MetadataSystem

Mostra file Open project: jbevain/cecil

Public Methods

Method Description
AddEventsRange ( uint type_rid, Range range ) : void
AddFieldDefinition ( FieldDefinition field ) : void
AddMemberReference ( MemberReference member ) : void
AddMethodDefinition ( Mono.Cecil.MethodDefinition method ) : void
AddPropertiesRange ( uint type_rid, Range range ) : void
AddTypeDefinition ( Mono.Cecil.TypeDefinition type ) : void
AddTypeReference ( TypeReference type ) : void
Clear ( ) : void
GetAssemblyNameReference ( uint rid ) : Mono.Cecil.AssemblyNameReference
GetDocument ( uint rid ) : Document
GetFieldDeclaringType ( uint field_rid ) : Mono.Cecil.TypeDefinition
GetFieldDefinition ( uint rid ) : FieldDefinition
GetImportScope ( uint rid ) : ImportDebugInformation
GetMemberReference ( uint rid ) : MemberReference
GetMethodDeclaringType ( uint method_rid ) : Mono.Cecil.TypeDefinition
GetMethodDefinition ( uint rid ) : Mono.Cecil.MethodDefinition
GetTypeDefinition ( uint rid ) : Mono.Cecil.TypeDefinition
GetTypeReference ( uint rid ) : TypeReference
RemoveCustomAttributeRange ( ICustomAttributeProvider owner ) : void
RemoveEventsRange ( Mono.Cecil.TypeDefinition type ) : void
RemoveGenericConstraintMapping ( Mono.Cecil.GenericParameter generic_parameter ) : void
RemoveGenericParameterRange ( IGenericParameterProvider owner ) : void
RemoveInterfaceMapping ( Mono.Cecil.TypeDefinition type ) : void
RemoveNestedTypeMapping ( Mono.Cecil.TypeDefinition type ) : void
RemoveOverrideMapping ( Mono.Cecil.MethodDefinition method ) : void
RemovePropertiesRange ( Mono.Cecil.TypeDefinition type ) : void
RemoveReverseNestedTypeMapping ( Mono.Cecil.TypeDefinition type ) : void
RemoveSecurityDeclarationRange ( ISecurityDeclarationProvider owner ) : void
SetGenericConstraintMapping ( uint gp_rid, MetadataToken mapping ) : void
SetInterfaceMapping ( uint type_rid, MetadataToken>.Row mapping ) : void
SetLocalScopes ( uint method_rid, Row records ) : 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 ( Mono.Cecil.TypeDefinition type, Range &range ) : bool
TryGetGenericConstraintMapping ( Mono.Cecil.GenericParameter generic_parameter, MetadataToken &mapping ) : bool
TryGetGenericParameterRanges ( IGenericParameterProvider owner, Range &ranges ) : bool
TryGetInterfaceMapping ( Mono.Cecil.TypeDefinition type, MetadataToken>.Row &mapping ) : bool
TryGetLocalScopes ( Mono.Cecil.MethodDefinition method, Row &scopes ) : bool
TryGetNestedTypeMapping ( Mono.Cecil.TypeDefinition type, uint &mapping ) : bool
TryGetOverrideMapping ( Mono.Cecil.MethodDefinition method, MetadataToken &mapping ) : bool
TryGetPrimitiveElementType ( Mono.Cecil.TypeDefinition type, ElementType &etype ) : bool
TryGetPropertiesRange ( Mono.Cecil.TypeDefinition type, Range &range ) : bool
TryGetReverseNestedTypeMapping ( Mono.Cecil.TypeDefinition type, uint &declaring ) : bool
TryGetSecurityDeclarationRanges ( ISecurityDeclarationProvider owner, Range &ranges ) : bool
TryGetStateMachineKickOffMethod ( Mono.Cecil.MethodDefinition method, uint &rid ) : bool
TryProcessPrimitiveTypeReference ( TypeReference type ) : void

Private Methods

Method Description
BinaryRangeSearch ( Mono.Cecil.TypeDefinition types, uint rid, bool field ) : Mono.Cecil.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 ( Mono.Cecil.MethodDefinition method ) : void
method Mono.Cecil.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 ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.TypeDefinition
return void

AddTypeReference() public method

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

Clear() public method

public Clear ( ) : void
return void

GetAssemblyNameReference() public method

public GetAssemblyNameReference ( uint rid ) : Mono.Cecil.AssemblyNameReference
rid uint
return Mono.Cecil.AssemblyNameReference

GetDocument() public method

public GetDocument ( uint rid ) : Document
rid uint
return Document

GetFieldDeclaringType() public method

public GetFieldDeclaringType ( uint field_rid ) : Mono.Cecil.TypeDefinition
field_rid uint
return Mono.Cecil.TypeDefinition

GetFieldDefinition() public method

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

GetImportScope() public method

public GetImportScope ( uint rid ) : ImportDebugInformation
rid uint
return ImportDebugInformation

GetMemberReference() public method

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

GetMethodDeclaringType() public method

public GetMethodDeclaringType ( uint method_rid ) : Mono.Cecil.TypeDefinition
method_rid uint
return Mono.Cecil.TypeDefinition

GetMethodDefinition() public method

public GetMethodDefinition ( uint rid ) : Mono.Cecil.MethodDefinition
rid uint
return Mono.Cecil.MethodDefinition

GetTypeDefinition() public method

public GetTypeDefinition ( uint rid ) : Mono.Cecil.TypeDefinition
rid uint
return Mono.Cecil.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 ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.TypeDefinition
return void

RemoveGenericConstraintMapping() public method

public RemoveGenericConstraintMapping ( Mono.Cecil.GenericParameter generic_parameter ) : void
generic_parameter Mono.Cecil.GenericParameter
return void

RemoveGenericParameterRange() public method

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

RemoveInterfaceMapping() public method

public RemoveInterfaceMapping ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.TypeDefinition
return void

RemoveNestedTypeMapping() public method

public RemoveNestedTypeMapping ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.TypeDefinition
return void

RemoveOverrideMapping() public method

public RemoveOverrideMapping ( Mono.Cecil.MethodDefinition method ) : void
method Mono.Cecil.MethodDefinition
return void

RemovePropertiesRange() public method

public RemovePropertiesRange ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.TypeDefinition
return void

RemoveReverseNestedTypeMapping() public method

public RemoveReverseNestedTypeMapping ( Mono.Cecil.TypeDefinition type ) : void
type Mono.Cecil.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>.Row mapping ) : void
type_rid uint
mapping MetadataToken>.Row
return void

SetLocalScopes() public method

public SetLocalScopes ( uint method_rid, Row records ) : void
method_rid uint
records Row
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 ( Mono.Cecil.TypeDefinition type, Range &range ) : bool
type Mono.Cecil.TypeDefinition
range Range
return bool

TryGetGenericConstraintMapping() public method

public TryGetGenericConstraintMapping ( Mono.Cecil.GenericParameter generic_parameter, MetadataToken &mapping ) : bool
generic_parameter Mono.Cecil.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 ( Mono.Cecil.TypeDefinition type, MetadataToken>.Row &mapping ) : bool
type Mono.Cecil.TypeDefinition
mapping MetadataToken>.Row
return bool

TryGetLocalScopes() public method

public TryGetLocalScopes ( Mono.Cecil.MethodDefinition method, Row &scopes ) : bool
method Mono.Cecil.MethodDefinition
scopes Row
return bool

TryGetNestedTypeMapping() public method

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

TryGetOverrideMapping() public method

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

TryGetPrimitiveElementType() public static method

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

TryGetPropertiesRange() public method

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

TryGetReverseNestedTypeMapping() public method

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

TryGetSecurityDeclarationRanges() public method

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

TryGetStateMachineKickOffMethod() public method

public TryGetStateMachineKickOffMethod ( Mono.Cecil.MethodDefinition method, uint &rid ) : bool
method Mono.Cecil.MethodDefinition
rid uint
return bool

TryProcessPrimitiveTypeReference() public static method

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