C# Class Mono.CSharp.DoubleConstant

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

Public Properties

Property Type Description
Value double

Public Methods

Method Description
ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
DoubleConstant ( BuiltinTypes types, double v, Mono.CSharp.Location loc ) : System
DoubleConstant ( System.TypeSpec type, double v, Mono.CSharp.Location loc ) : System
Emit ( EmitContext ec ) : void
EncodeAttributeValue ( IMemberContext rc, Mono.CSharp.AttributeEncoder enc, System.TypeSpec targetType, System.TypeSpec parameterType ) : void
GetValue ( ) : object
GetValueAsLiteral ( ) : string
GetValueAsLong ( ) : long

Method Details

ConvertExplicitly() public method

public ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
in_checked_context bool
target_type System.TypeSpec
return Constant

DoubleConstant() public method

public DoubleConstant ( BuiltinTypes types, double v, Mono.CSharp.Location loc ) : System
types BuiltinTypes
v double
loc Mono.CSharp.Location
return System

DoubleConstant() public method

public DoubleConstant ( System.TypeSpec type, double v, Mono.CSharp.Location loc ) : System
type System.TypeSpec
v double
loc Mono.CSharp.Location
return System

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

GetValue() public method

public GetValue ( ) : object
return object

GetValueAsLiteral() public method

public GetValueAsLiteral ( ) : string
return string

GetValueAsLong() public method

public GetValueAsLong ( ) : long
return long

Property Details

Value public_oe property

public double Value
return double