C# Class Mono.CSharp.NullConstant

Inheritance: Constant
显示文件 Open project: vargaz/mono

Public Methods

Method Description
ConvertExplicitly ( bool inCheckedContext, System.TypeSpec targetType ) : Constant
ConvertImplicitly ( System.TypeSpec targetType ) : Constant
CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
Emit ( EmitContext ec ) : void
EncodeAttributeValue ( IMemberContext rc, Mono.CSharp.AttributeEncoder enc, System.TypeSpec targetType, System.TypeSpec parameterType ) : void
GetSignatureForError ( ) : string
GetValue ( ) : object
GetValueAsLiteral ( ) : string
GetValueAsLong ( ) : long
NullConstant ( System.TypeSpec type, Mono.CSharp.Location loc ) : System

Method Details

ConvertExplicitly() public method

public ConvertExplicitly ( bool inCheckedContext, System.TypeSpec targetType ) : Constant
inCheckedContext bool
targetType System.TypeSpec
return Constant

ConvertImplicitly() public method

public ConvertImplicitly ( System.TypeSpec targetType ) : Constant
targetType System.TypeSpec
return Constant

CreateExpressionTree() public method

public CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
ec ResolveContext
return Mono.CSharp.Expression

Emit() public method

public Emit ( EmitContext ec ) : void
ec EmitContext
return void

EncodeAttributeValue() public method

public EncodeAttributeValue ( IMemberContext rc, Mono.CSharp.AttributeEncoder enc, System.TypeSpec targetType, System.TypeSpec parameterType ) : void
rc IMemberContext
enc Mono.CSharp.AttributeEncoder
targetType System.TypeSpec
parameterType System.TypeSpec
return void

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

GetValue() public method

public GetValue ( ) : object
return object

GetValueAsLiteral() public method

public GetValueAsLiteral ( ) : string
return string

GetValueAsLong() public method

public GetValueAsLong ( ) : long
return long

NullConstant() public method

public NullConstant ( System.TypeSpec type, Mono.CSharp.Location loc ) : System
type System.TypeSpec
loc Mono.CSharp.Location
return System