C# Class Mono.CSharp.BoolConstant

Inheritance: Constant
Show file Open project: vargaz/mono Class Usage Examples

Public Properties

Property Type Description
Value bool

Public Methods

Method Description
BoolConstant ( BuiltinTypes types, bool val, Mono.CSharp.Location loc ) : System
BoolConstant ( System.TypeSpec type, bool val, Mono.CSharp.Location loc ) : System
ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
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

BoolConstant() public method

public BoolConstant ( BuiltinTypes types, bool val, Mono.CSharp.Location loc ) : System
types BuiltinTypes
val bool
loc Mono.CSharp.Location
return System

BoolConstant() public method

public BoolConstant ( System.TypeSpec type, bool val, Mono.CSharp.Location loc ) : System
type System.TypeSpec
val bool
loc Mono.CSharp.Location
return System

ConvertExplicitly() public method

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

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 property

public bool Value
return bool