Property | Type | Description | |
---|---|---|---|
AnonymousMethodsCounter | int | ||
DynamicSitesCounter | int | ||
MethodGroupsCounter | int | ||
TypeBuilder | TypeBuilder |
Property | Type | Description | |
---|---|---|---|
base_type | System.TypeSpec | ||
first_nonstatic_field | ICSharpCode.NRefactory.MonoCSharp.FieldBase | ||
has_static_constructor | bool | ||
iface_exprs | System.TypeSpec[] | ||
initialized_fields | List |
||
initialized_static_fields | List |
||
requires_delayed_unmanagedtype_check | bool | ||
spec | System.TypeSpec | ||
type_bases | List |
Property | Type | Description | |
---|---|---|---|
CheckRecursiveDefinition | System.TypeSpec | ||
CreateTypeBuilder | bool | ||
CreateTypeParameters | string[] | ||
DoDefineBaseType | bool | ||
GenerateDocComment | void | ||
ITypeDefinition | bool | ||
LookupNestedTypeInHierarchy | System.TypeSpec |
Method | Description | |
---|---|---|
Accept ( |
||
AddConstructor ( |
||
AddConstructor ( |
||
AddField ( ICSharpCode.NRefactory.MonoCSharp.FieldBase field ) : bool | ||
AddIndexer ( ICSharpCode.NRefactory.MonoCSharp.Indexer i ) : void |
Indexer has special handling in constrast to other AddXXX because the name can be driven by IndexerNameAttribute
|
|
AddMember ( |
||
AddNameToContainer ( |
||
AddOperator ( |
||
AddPartialPart ( |
||
AddTypeContainer ( |
||
ApplyAttributeBuilder ( |
||
CheckAttributeClsCompliance ( ) : void | ||
CheckPairedOperators ( ) : void | ||
CloseContainer ( ) : void | ||
ComputeIndexerName ( ) : void | ||
CreateContainer ( ) : bool | ||
CreateHoistedBaseCallProxy ( ICSharpCode.NRefactory.MonoCSharp.ResolveContext rc, |
||
CreateMetadataName ( StringBuilder sb ) : void | ||
CreateMethodSymbolEntry ( ) : |
||
Define ( ) : bool |
Populates our TypeBuilder with fields and methods
|
|
DoExpandBaseInterfaces ( ) : void | ||
Emit ( ) : void | ||
EmitContainer ( ) : void | ||
EmitIndexerName ( ) : void | ||
ExpandBaseInterfaces ( ) : void | ||
FilterNestedName ( string name ) : string | ||
GetAttributeCoClass ( ) : System.TypeSpec | ||
GetAttributeDefaultMember ( ) : string | ||
GetAttributeUsage ( PredefinedAttribute pa ) : |
||
GetCompilationSourceFile ( ) : ICSharpCode.NRefactory.MonoCSharp.CompilationSourceFile | ||
GetSignatureForMetadata ( ) : string | ||
IsBaseTypeDefinition ( System.TypeSpec baseType ) : bool | ||
IsClsComplianceRequired ( ) : bool | ||
IsUnmanagedType ( ) : bool | ||
LoadMembers ( System.TypeSpec declaringType, bool onlyTypes, MemberCache &cache ) : void | ||
LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression | ||
Mark_HasEquals ( ) : void | ||
Mark_HasGetHashCode ( ) : void | ||
MethodModifiersValid ( |
||
PrepareEmit ( ) : void | ||
RegisterFieldForInitialization ( |
||
RemoveContainer ( |
||
ResolveFieldInitializers ( ICSharpCode.NRefactory.MonoCSharp.BlockContext ec ) : void | ||
SetBaseType ( ) : void | ||
SetBaseTypes ( List |
||
SetPredefinedSpec ( BuiltinTypeSpec spec ) : void | ||
VerifyImplements ( |
Performs checks for an explicit interface implementation. First it checks whether the `interface_type' is a base inteface implementation. Then it checks whether `name' exists in the interface type.
|
|
VerifyMembers ( ) : void | ||
WriteDebugSymbol ( |
Method | Description | |
---|---|---|
AddTypeContainerMember ( |
||
DefineBaseTypes ( ) : bool | ||
DoDefineContainer ( ) : void | ||
DoDefineMembers ( ) : bool | ||
DoResolveTypeParameters ( ) : bool | ||
ResolveBaseTypes ( FullNamedExpression &base_class ) : System.TypeSpec[] |
This function computes the Base class and also the list of interfaces that the class or struct @c implements. The return value is an array (might be null) of interfaces implemented (as Types). The @base_class argument is set to the base object or null if this is `System.Object'.
|
|
TypeDefinition ( |
||
VerifyClsCompliance ( ) : bool |
Method | Description | |
---|---|---|
CheckRecursiveDefinition ( |
||
CreateTypeBuilder ( ) : bool | ||
CreateTypeParameters ( TypeParameters parentAllTypeParameters ) : string[] | ||
DoDefineBaseType ( ) : bool | ||
GenerateDocComment ( ICSharpCode.NRefactory.MonoCSharp.DocumentationBuilder builder ) : void | ||
ITypeDefinition ( IAssemblyDefinition assembly ) : bool | ||
LookupNestedTypeInHierarchy ( string name, int arity ) : System.TypeSpec |
public Accept ( |
||
visitor | ||
return | void |
public AddConstructor ( |
||
c | ||
return | void |
public AddConstructor ( |
||
c | ||
isDefault | bool | |
return | void |
public AddField ( ICSharpCode.NRefactory.MonoCSharp.FieldBase field ) : bool | ||
field | ICSharpCode.NRefactory.MonoCSharp.FieldBase | |
return | bool |
public AddIndexer ( ICSharpCode.NRefactory.MonoCSharp.Indexer i ) : void | ||
i | ICSharpCode.NRefactory.MonoCSharp.Indexer | |
return | void |
public AddMember ( |
||
symbol | ||
return | void |
public AddNameToContainer ( |
||
symbol | ||
name | string | |
return | void |
public AddPartialPart ( |
||
part | ||
return | void |
public AddTypeContainer ( |
||
tc | ||
return | void |
protected AddTypeContainerMember ( |
||
tc | ||
return | void |
public ApplyAttributeBuilder ( |
||
a | ||
ctor | ||
cdata | byte | |
pa | PredefinedAttributes | |
return | void |
public CheckAttributeClsCompliance ( ) : void | ||
return | void |
public CreateHoistedBaseCallProxy ( ICSharpCode.NRefactory.MonoCSharp.ResolveContext rc, |
||
rc | ICSharpCode.NRefactory.MonoCSharp.ResolveContext | |
method | ||
return |
public CreateMetadataName ( StringBuilder sb ) : void | ||
sb | StringBuilder | |
return | void |
public CreateMethodSymbolEntry ( ) : |
||
return |
public static FilterNestedName ( string name ) : string | ||
name | string | |
return | string |
public GetAttributeCoClass ( ) : System.TypeSpec | ||
return | System.TypeSpec |
public GetAttributeDefaultMember ( ) : string | ||
return | string |
public GetAttributeUsage ( PredefinedAttribute pa ) : |
||
pa | PredefinedAttribute | |
return |
public GetCompilationSourceFile ( ) : ICSharpCode.NRefactory.MonoCSharp.CompilationSourceFile | ||
return | ICSharpCode.NRefactory.MonoCSharp.CompilationSourceFile |
public IsBaseTypeDefinition ( System.TypeSpec baseType ) : bool | ||
baseType | System.TypeSpec | |
return | bool |
public LoadMembers ( System.TypeSpec declaringType, bool onlyTypes, MemberCache &cache ) : void | ||
declaringType | System.TypeSpec | |
onlyTypes | bool | |
cache | MemberCache | |
return | void |
public LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression | ||
name | string | |
arity | int | |
mode | LookupMode | |
loc | Location | |
return | FullNamedExpression |
public MethodModifiersValid ( |
||
mc | ||
return | bool |
public RegisterFieldForInitialization ( |
||
field | ||
expression | ICSharpCode.NRefactory.MonoCSharp.FieldInitializer | |
return | void |
public RemoveContainer ( |
||
cont | ||
return | void |
protected ResolveBaseTypes ( FullNamedExpression &base_class ) : System.TypeSpec[] | ||
base_class | FullNamedExpression | |
return | System.TypeSpec[] |
public ResolveFieldInitializers ( ICSharpCode.NRefactory.MonoCSharp.BlockContext ec ) : void | ||
ec | ICSharpCode.NRefactory.MonoCSharp.BlockContext | |
return | void |
public SetBaseTypes ( List |
||
baseTypes | List |
|
return | void |
public SetPredefinedSpec ( BuiltinTypeSpec spec ) : void | ||
spec | BuiltinTypeSpec | |
return | void |
protected TypeDefinition ( |
||
parent | ||
name | ||
attrs | Attributes | |
kind | MemberKind | |
return | System |
public VerifyImplements ( |
||
mb | ||
return | bool |
public WriteDebugSymbol ( |
||
file | ||
return | void |
protected FieldBase,ICSharpCode.NRefactory.MonoCSharp first_nonstatic_field | ||
return | ICSharpCode.NRefactory.MonoCSharp.FieldBase |
protected bool requires_delayed_unmanagedtype_check | ||
return | bool |