C# Class Mono.CSharp.FieldBase

Inheritance: MemberBase
显示文件 Open project: vargaz/mono Class Usage Examples

Public Properties

Property Type Description
status Status

Protected Properties

Property Type Description
FieldBuilder System.Reflection.Emit.FieldBuilder
declarators List
initializer Mono.CSharp.Expression
spec FieldSpec

Public Methods

Method Description
AddDeclarator ( FieldDeclarator declarator ) : void
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, Mono.CSharp.PredefinedAttributes pa ) : void
ConvertInitializer ( ResolveContext rc, Constant expr ) : Constant
Emit ( ) : void
Error_VariableOfStaticClass ( Mono.CSharp.Location loc, string variable_name, System.TypeSpec static_class, Report Report ) : void
SetCustomAttribute ( MethodSpec ctor, byte data ) : void

Protected Methods

Method Description
CheckBase ( ) : bool
DoMemberTypeDependentChecks ( ) : void
FieldBase ( Mono.CSharp.TypeDefinition parent, Mono.CSharp.FullNamedExpression type, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers allowed_mod, MemberName name, Mono.CSharp.Attributes attrs ) : System
VerifyClsCompliance ( ) : bool

Method Details

AddDeclarator() public method

public AddDeclarator ( FieldDeclarator declarator ) : void
declarator FieldDeclarator
return void

ApplyAttributeBuilder() public method

public ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, Mono.CSharp.PredefinedAttributes pa ) : void
a Attribute
ctor MethodSpec
cdata byte
pa Mono.CSharp.PredefinedAttributes
return void

CheckBase() protected method

protected CheckBase ( ) : bool
return bool

ConvertInitializer() public method

public ConvertInitializer ( ResolveContext rc, Constant expr ) : Constant
rc ResolveContext
expr Constant
return Constant

DoMemberTypeDependentChecks() protected method

protected DoMemberTypeDependentChecks ( ) : void
return void

Emit() public method

public Emit ( ) : void
return void

Error_VariableOfStaticClass() public static method

public static Error_VariableOfStaticClass ( Mono.CSharp.Location loc, string variable_name, System.TypeSpec static_class, Report Report ) : void
loc Mono.CSharp.Location
variable_name string
static_class System.TypeSpec
Report Report
return void

FieldBase() protected method

protected FieldBase ( Mono.CSharp.TypeDefinition parent, Mono.CSharp.FullNamedExpression type, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers allowed_mod, MemberName name, Mono.CSharp.Attributes attrs ) : System
parent Mono.CSharp.TypeDefinition
type Mono.CSharp.FullNamedExpression
mod Mono.CSharp.Modifiers
allowed_mod Mono.CSharp.Modifiers
name MemberName
attrs Mono.CSharp.Attributes
return System

SetCustomAttribute() public method

public SetCustomAttribute ( MethodSpec ctor, byte data ) : void
ctor MethodSpec
data byte
return void

VerifyClsCompliance() protected method

protected VerifyClsCompliance ( ) : bool
return bool

Property Details

FieldBuilder protected_oe property

protected FieldBuilder,System.Reflection.Emit FieldBuilder
return System.Reflection.Emit.FieldBuilder

declarators protected_oe property

protected List declarators
return List

initializer protected_oe property

protected Expression,Mono.CSharp initializer
return Mono.CSharp.Expression

spec protected_oe property

protected FieldSpec,Mono.CSharp spec
return FieldSpec

status public_oe property

public Status status
return Status