C# Class Mono.CSharp.AnonymousMethodExpression

Inheritance: Mono.CSharp.Expression
Mostrar archivo Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
Block ParametersBlock

Public Methods

Method Description
AnonymousMethodExpression ( Mono.CSharp.Location loc ) : System
Compatible ( ResolveContext ec, System.TypeSpec type ) : Mono.CSharp.Expression
CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
Emit ( EmitContext ec ) : void
Error_AddressOfCapturedVar ( ResolveContext ec, IVariableReference var, Mono.CSharp.Location loc ) : void
ExplicitTypeInference ( ResolveContext ec, Mono.CSharp.TypeInferenceContext type_inference, System.TypeSpec delegate_type ) : bool
GetSignatureForError ( ) : string
ImplicitStandardConversionExists ( ResolveContext ec, System.TypeSpec delegate_type ) : bool
InferReturnType ( ResolveContext ec, Mono.CSharp.TypeInferenceContext tic, System.TypeSpec delegate_type ) : System.TypeSpec

Protected Methods

Method Description
CloneTo ( CloneContext clonectx, Mono.CSharp.Expression t ) : void
CompatibleMethodFactory ( System.TypeSpec return_type, System.TypeSpec delegate_type, ParametersCompiled p, ParametersBlock b ) : AnonymousMethodBody
CreateExpressionTree ( ResolveContext ec, System.TypeSpec delegate_type ) : Mono.CSharp.Expression
DoResolve ( ResolveContext ec ) : Mono.CSharp.Expression
DoResolveParameters ( ResolveContext rc ) : bool
ResolveParameters ( ResolveContext ec, Mono.CSharp.TypeInferenceContext tic, System.TypeSpec delegate_type ) : ParametersCompiled
VerifyExplicitParameters ( ResolveContext ec, System.TypeSpec delegate_type, AParametersCollection parameters ) : bool
VerifyParameterCompatibility ( ResolveContext ec, System.TypeSpec delegate_type, AParametersCollection invoke_pd, bool ignore_errors ) : bool

Private Methods

Method Description
CompatibleChecks ( ResolveContext ec, System.TypeSpec delegate_type ) : System.TypeSpec
CompatibleMethodBody ( ResolveContext ec, Mono.CSharp.TypeInferenceContext tic, System.TypeSpec return_type, System.TypeSpec delegate_type ) : AnonymousMethodBody

Method Details

AnonymousMethodExpression() public method

public AnonymousMethodExpression ( Mono.CSharp.Location loc ) : System
loc Mono.CSharp.Location
return System

CloneTo() protected method

protected CloneTo ( CloneContext clonectx, Mono.CSharp.Expression t ) : void
clonectx CloneContext
t Mono.CSharp.Expression
return void

Compatible() public method

public Compatible ( ResolveContext ec, System.TypeSpec type ) : Mono.CSharp.Expression
ec ResolveContext
type System.TypeSpec
return Mono.CSharp.Expression

CompatibleMethodFactory() protected method

protected CompatibleMethodFactory ( System.TypeSpec return_type, System.TypeSpec delegate_type, ParametersCompiled p, ParametersBlock b ) : AnonymousMethodBody
return_type System.TypeSpec
delegate_type System.TypeSpec
p ParametersCompiled
b ParametersBlock
return AnonymousMethodBody

CreateExpressionTree() public method

public CreateExpressionTree ( ResolveContext ec ) : Mono.CSharp.Expression
ec ResolveContext
return Mono.CSharp.Expression

CreateExpressionTree() protected method

protected CreateExpressionTree ( ResolveContext ec, System.TypeSpec delegate_type ) : Mono.CSharp.Expression
ec ResolveContext
delegate_type System.TypeSpec
return Mono.CSharp.Expression

DoResolve() protected method

protected DoResolve ( ResolveContext ec ) : Mono.CSharp.Expression
ec ResolveContext
return Mono.CSharp.Expression

DoResolveParameters() protected method

protected DoResolveParameters ( ResolveContext rc ) : bool
rc ResolveContext
return bool

Emit() public method

public Emit ( EmitContext ec ) : void
ec EmitContext
return void

Error_AddressOfCapturedVar() public static method

public static Error_AddressOfCapturedVar ( ResolveContext ec, IVariableReference var, Mono.CSharp.Location loc ) : void
ec ResolveContext
var IVariableReference
loc Mono.CSharp.Location
return void

ExplicitTypeInference() public method

public ExplicitTypeInference ( ResolveContext ec, Mono.CSharp.TypeInferenceContext type_inference, System.TypeSpec delegate_type ) : bool
ec ResolveContext
type_inference Mono.CSharp.TypeInferenceContext
delegate_type System.TypeSpec
return bool

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

ImplicitStandardConversionExists() public method

public ImplicitStandardConversionExists ( ResolveContext ec, System.TypeSpec delegate_type ) : bool
ec ResolveContext
delegate_type System.TypeSpec
return bool

InferReturnType() public method

public InferReturnType ( ResolveContext ec, Mono.CSharp.TypeInferenceContext tic, System.TypeSpec delegate_type ) : System.TypeSpec
ec ResolveContext
tic Mono.CSharp.TypeInferenceContext
delegate_type System.TypeSpec
return System.TypeSpec

ResolveParameters() protected method

protected ResolveParameters ( ResolveContext ec, Mono.CSharp.TypeInferenceContext tic, System.TypeSpec delegate_type ) : ParametersCompiled
ec ResolveContext
tic Mono.CSharp.TypeInferenceContext
delegate_type System.TypeSpec
return ParametersCompiled

VerifyExplicitParameters() protected method

protected VerifyExplicitParameters ( ResolveContext ec, System.TypeSpec delegate_type, AParametersCollection parameters ) : bool
ec ResolveContext
delegate_type System.TypeSpec
parameters AParametersCollection
return bool

VerifyParameterCompatibility() protected method

protected VerifyParameterCompatibility ( ResolveContext ec, System.TypeSpec delegate_type, AParametersCollection invoke_pd, bool ignore_errors ) : bool
ec ResolveContext
delegate_type System.TypeSpec
invoke_pd AParametersCollection
ignore_errors bool
return bool

Property Details

Block public_oe property

public ParametersBlock,Mono.CSharp Block
return ParametersBlock