C# Class Inazuma.Mono.Cecil.Mixin

Show file Open project: mayuki/Inazuma Class Usage Examples

Public Methods

Method Description
CheckModifier ( TypeReference modifierType, TypeReference type ) : void
CheckName ( string name ) : void
CheckType ( TypeReference type ) : void
CheckedResolve ( this self ) : TypeDefinition
CompressMetadataToken ( this self, MetadataToken token ) : uint
ContainsGenericParameter ( this self ) : bool
CreateRSA ( this key_pair ) : RSA
GenericInstanceFullName ( this self, StringBuilder builder ) : void
GetAttributes ( this self, uint attributes ) : bool
GetAttributes ( this self, ushort attributes ) : bool
GetCustomAttributes ( this self, Collection &variable, ModuleDefinition module ) : Collection
GetEnumUnderlyingType ( this self ) : TypeReference
GetGenericParameters ( this self, Collection &collection, ModuleDefinition module ) : Collection
GetHasCustomAttributes ( this self, ModuleDefinition module ) : bool
GetHasGenericParameters ( this self, ModuleDefinition module ) : bool
GetHasMarshalInfo ( this self, ModuleDefinition module ) : bool
GetHasSecurityDeclarations ( this self, ModuleDefinition module ) : bool
GetMarshalInfo ( this self, MarshalInfo &variable, ModuleDefinition module ) : MarshalInfo
GetMaskedAttributes ( this self, uint mask, uint attributes ) : bool
GetMaskedAttributes ( this self, ushort mask, uint attributes ) : bool
GetMetadataToken ( this self, uint data ) : MetadataToken
GetNestedType ( this self, string fullname ) : TypeDefinition
GetParameter ( this self, int index ) : ParameterDefinition
GetSecurityDeclarations ( this self, Collection &variable, ModuleDefinition module ) : Collection
GetSemantics ( this self, MethodSemanticsAttributes semantics ) : bool
GetSentinelPosition ( this self ) : int
GetSize ( this self, int>.Func counter ) : int
GetVariable ( this self, int index ) : VariableDefinition
HasImplicitThis ( this self ) : bool
IsPrimitive ( this self ) : bool
IsTypeOf ( this self, string @namespace, string name ) : bool
IsTypeSpecification ( this type ) : bool
IsVarArg ( this self ) : bool
MethodSignatureFullName ( this self, StringBuilder builder ) : void
ReadCompressedUInt32 ( this data, int &position ) : uint
ResolveConstant ( this self, object &constant, ModuleDefinition module ) : void
SetAttributes ( this self, uint attributes, bool value ) : uint
SetAttributes ( this self, ushort attributes, bool value ) : ushort
SetMaskedAttributes ( this self, uint mask, uint attributes, bool value ) : uint
SetMaskedAttributes ( this self, ushort mask, uint attributes, bool value ) : ushort
SetSemantics ( this self, MethodSemanticsAttributes semantics, bool value ) : void
TypeFullName ( this self ) : string

Private Methods

Method Description
TryGetKeyContainer ( ISerializable key_pair, byte &key, string &key_container ) : bool

Method Details

CheckModifier() public static method

public static CheckModifier ( TypeReference modifierType, TypeReference type ) : void
modifierType TypeReference
type TypeReference
return void

CheckName() public static method

public static CheckName ( string name ) : void
name string
return void

CheckType() public static method

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

CheckedResolve() public static method

public static CheckedResolve ( this self ) : TypeDefinition
self this
return TypeDefinition

CompressMetadataToken() public static method

public static CompressMetadataToken ( this self, MetadataToken token ) : uint
self this
token MetadataToken
return uint

ContainsGenericParameter() public static method

public static ContainsGenericParameter ( this self ) : bool
self this
return bool

CreateRSA() public static method

public static CreateRSA ( this key_pair ) : RSA
key_pair this
return RSA

GenericInstanceFullName() public static method

public static GenericInstanceFullName ( this self, StringBuilder builder ) : void
self this
builder System.Text.StringBuilder
return void

GetAttributes() public static method

public static GetAttributes ( this self, uint attributes ) : bool
self this
attributes uint
return bool

GetAttributes() public static method

public static GetAttributes ( this self, ushort attributes ) : bool
self this
attributes ushort
return bool

GetCustomAttributes() public static method

public static GetCustomAttributes ( this self, Collection &variable, ModuleDefinition module ) : Collection
self this
variable Collection
module ModuleDefinition
return Collection

GetEnumUnderlyingType() public static method

public static GetEnumUnderlyingType ( this self ) : TypeReference
self this
return TypeReference

GetGenericParameters() public static method

public static GetGenericParameters ( this self, Collection &collection, ModuleDefinition module ) : Collection
self this
collection Collection
module ModuleDefinition
return Collection

GetHasCustomAttributes() public static method

public static GetHasCustomAttributes ( this self, ModuleDefinition module ) : bool
self this
module ModuleDefinition
return bool

GetHasGenericParameters() public static method

public static GetHasGenericParameters ( this self, ModuleDefinition module ) : bool
self this
module ModuleDefinition
return bool

GetHasMarshalInfo() public static method

public static GetHasMarshalInfo ( this self, ModuleDefinition module ) : bool
self this
module ModuleDefinition
return bool

GetHasSecurityDeclarations() public static method

public static GetHasSecurityDeclarations ( this self, ModuleDefinition module ) : bool
self this
module ModuleDefinition
return bool

GetMarshalInfo() public static method

public static GetMarshalInfo ( this self, MarshalInfo &variable, ModuleDefinition module ) : MarshalInfo
self this
variable MarshalInfo
module ModuleDefinition
return MarshalInfo

GetMaskedAttributes() public static method

public static GetMaskedAttributes ( this self, uint mask, uint attributes ) : bool
self this
mask uint
attributes uint
return bool

GetMaskedAttributes() public static method

public static GetMaskedAttributes ( this self, ushort mask, uint attributes ) : bool
self this
mask ushort
attributes uint
return bool

GetMetadataToken() public static method

public static GetMetadataToken ( this self, uint data ) : MetadataToken
self this
data uint
return MetadataToken

GetNestedType() public static method

public static GetNestedType ( this self, string fullname ) : TypeDefinition
self this
fullname string
return TypeDefinition

GetParameter() public static method

public static GetParameter ( this self, int index ) : ParameterDefinition
self this
index int
return ParameterDefinition

GetSecurityDeclarations() public static method

public static GetSecurityDeclarations ( this self, Collection &variable, ModuleDefinition module ) : Collection
self this
variable Collection
module ModuleDefinition
return Collection

GetSemantics() public static method

public static GetSemantics ( this self, MethodSemanticsAttributes semantics ) : bool
self this
semantics MethodSemanticsAttributes
return bool

GetSentinelPosition() public static method

public static GetSentinelPosition ( this self ) : int
self this
return int

GetSize() public static method

public static GetSize ( this self, int>.Func counter ) : int
self this
counter int>.Func
return int

GetVariable() public static method

public static GetVariable ( this self, int index ) : VariableDefinition
self this
index int
return VariableDefinition

HasImplicitThis() public static method

public static HasImplicitThis ( this self ) : bool
self this
return bool

IsPrimitive() public static method

public static IsPrimitive ( this self ) : bool
self this
return bool

IsTypeOf() public static method

public static IsTypeOf ( this self, string @namespace, string name ) : bool
self this
@namespace string
name string
return bool

IsTypeSpecification() public static method

public static IsTypeSpecification ( this type ) : bool
type this
return bool

IsVarArg() public static method

public static IsVarArg ( this self ) : bool
self this
return bool

MethodSignatureFullName() public static method

public static MethodSignatureFullName ( this self, StringBuilder builder ) : void
self this
builder System.Text.StringBuilder
return void

ReadCompressedUInt32() public static method

public static ReadCompressedUInt32 ( this data, int &position ) : uint
data this
position int
return uint

ResolveConstant() public static method

public static ResolveConstant ( this self, object &constant, ModuleDefinition module ) : void
self this
constant object
module ModuleDefinition
return void

SetAttributes() public static method

public static SetAttributes ( this self, uint attributes, bool value ) : uint
self this
attributes uint
value bool
return uint

SetAttributes() public static method

public static SetAttributes ( this self, ushort attributes, bool value ) : ushort
self this
attributes ushort
value bool
return ushort

SetMaskedAttributes() public static method

public static SetMaskedAttributes ( this self, uint mask, uint attributes, bool value ) : uint
self this
mask uint
attributes uint
value bool
return uint

SetMaskedAttributes() public static method

public static SetMaskedAttributes ( this self, ushort mask, uint attributes, bool value ) : ushort
self this
mask ushort
attributes uint
value bool
return ushort

SetSemantics() public static method

public static SetSemantics ( this self, MethodSemanticsAttributes semantics, bool value ) : void
self this
semantics MethodSemanticsAttributes
value bool
return void

TypeFullName() public static method

public static TypeFullName ( this self ) : string
self this
return string