C# Class Mono.CSharp.UShortConstant

Inheritance: IntegralConstant
Show file Open project: vargaz/mono

Public Properties

Property Type Description
Value ushort

Public Methods

Method Description
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
GetValueAsLong ( ) : long
Increment ( ) : Constant
UShortConstant ( BuiltinTypes types, ushort v, Mono.CSharp.Location loc ) : System
UShortConstant ( System.TypeSpec type, ushort v, Mono.CSharp.Location loc ) : System

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

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

GetValueAsLong() public method

public GetValueAsLong ( ) : long
return long

Increment() public method

public Increment ( ) : Constant
return Constant

UShortConstant() public method

public UShortConstant ( BuiltinTypes types, ushort v, Mono.CSharp.Location loc ) : System
types BuiltinTypes
v ushort
loc Mono.CSharp.Location
return System

UShortConstant() public method

public UShortConstant ( System.TypeSpec type, ushort v, Mono.CSharp.Location loc ) : System
type System.TypeSpec
v ushort
loc Mono.CSharp.Location
return System

Property Details

Value public property

public ushort Value
return ushort