C# Class Mono.CSharp.DecimalConstant

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

Public Properties

Property Type Description
Value decimal

Public Methods

Method Description
ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
DecimalConstant ( BuiltinTypes types, decimal d, Mono.CSharp.Location loc ) : System
DecimalConstant ( System.TypeSpec type, decimal d, Mono.CSharp.Location loc ) : System
Emit ( EmitContext ec ) : 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

DecimalConstant() public method

public DecimalConstant ( BuiltinTypes types, decimal d, Mono.CSharp.Location loc ) : System
types BuiltinTypes
d decimal
loc Mono.CSharp.Location
return System

DecimalConstant() public method

public DecimalConstant ( System.TypeSpec type, decimal d, Mono.CSharp.Location loc ) : System
type System.TypeSpec
d decimal
loc Mono.CSharp.Location
return System

Emit() public method

public Emit ( EmitContext ec ) : void
ec EmitContext
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 decimal Value
return decimal