C# Class Mono.CSharp.SideEffectConstant

The value is constant, but when emitted has a side effect. This is used by BitwiseAnd to ensure that the second expression is invoked regardless of the value of the left side.
Inheritance: Constant
Afficher le fichier Open project: vargaz/mono Class Usage Examples

Méthodes publiques

Свойство Type Description
value Constant

Méthodes publiques

Méthode Description
ContainsEmitWithAwait ( ) : bool
ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
Emit ( EmitContext ec ) : void
EmitSideEffect ( EmitContext ec ) : void
FlowAnalysis ( Mono.CSharp.FlowAnalysisContext fc ) : void
GetValue ( ) : object
GetValueAsLiteral ( ) : string
GetValueAsLong ( ) : long
SideEffectConstant ( Constant value, Mono.CSharp.Expression side_effect, Mono.CSharp.Location loc ) : System

Method Details

ContainsEmitWithAwait() public méthode

public ContainsEmitWithAwait ( ) : bool
Résultat bool

ConvertExplicitly() public méthode

public ConvertExplicitly ( bool in_checked_context, System.TypeSpec target_type ) : Constant
in_checked_context bool
target_type System.TypeSpec
Résultat Constant

Emit() public méthode

public Emit ( EmitContext ec ) : void
ec EmitContext
Résultat void

EmitSideEffect() public méthode

public EmitSideEffect ( EmitContext ec ) : void
ec EmitContext
Résultat void

FlowAnalysis() public méthode

public FlowAnalysis ( Mono.CSharp.FlowAnalysisContext fc ) : void
fc Mono.CSharp.FlowAnalysisContext
Résultat void

GetValue() public méthode

public GetValue ( ) : object
Résultat object

GetValueAsLiteral() public méthode

public GetValueAsLiteral ( ) : string
Résultat string

GetValueAsLong() public méthode

public GetValueAsLong ( ) : long
Résultat long

SideEffectConstant() public méthode

public SideEffectConstant ( Constant value, Mono.CSharp.Expression side_effect, Mono.CSharp.Location loc ) : System
value Constant
side_effect Mono.CSharp.Expression
loc Mono.CSharp.Location
Résultat System

Property Details

value public_oe property

public Constant,Mono.CSharp value
Résultat Constant