C# Class Mono.CSharp.AnonymousMethodStorey

Inheritance: HoistedStoreyClass
Datei anzeigen Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
ID int
Instance LocalTemporary
OriginalSourceBlock Block

Protected Properties

Property Type Description
hoisted_locals List
hoisted_params List
hoisted_this HoistedThis

Public Methods

Method Description
AddCapturedThisField ( EmitContext ec ) : void
AddCapturedVariable ( string name, System.TypeSpec type ) : Field
AddParentStoreyReference ( EmitContext ec, AnonymousMethodStorey storey ) : void
AddReferenceFromChildrenBlock ( ExplicitBlock block ) : void
AnonymousMethodStorey ( Block block, TypeContainer parent, MemberBase host, Mono.CSharp.TypeParameter tparams, string name ) : System
CaptureLocalVariable ( ResolveContext ec, LocalVariable local_info ) : void
CaptureParameter ( ResolveContext ec, Mono.CSharp.ParameterReference param_ref ) : void
EmitStoreyInstantiation ( EmitContext ec, ExplicitBlock block ) : void
EmitType ( ) : void
GetStoreyInstanceExpression ( EmitContext ec ) : Mono.CSharp.Expression
Reset ( ) : void
SetNestedStoryParent ( AnonymousMethodStorey parentStorey ) : void

Protected Methods

Method Description
AddCompilerGeneratedField ( string name, Mono.CSharp.FullNamedExpression type ) : Field
DoResolveTypeParameters ( ) : bool
EmitHoistedParameters ( EmitContext ec, IList hoisted ) : void
GetVariableMangledName ( LocalVariable local_info ) : string

Private Methods

Method Description
CreateStoreyTypeExpression ( EmitContext ec ) : Mono.CSharp.TypeExpr
EmitHoistedFieldsInitialization ( ResolveContext rc, EmitContext ec ) : void
GetReferencedStoreyField ( AnonymousMethodStorey storey ) : Field

Method Details

AddCapturedThisField() public method

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

AddCapturedVariable() public method

public AddCapturedVariable ( string name, System.TypeSpec type ) : Field
name string
type System.TypeSpec
return Field

AddCompilerGeneratedField() protected method

protected AddCompilerGeneratedField ( string name, Mono.CSharp.FullNamedExpression type ) : Field
name string
type Mono.CSharp.FullNamedExpression
return Field

AddParentStoreyReference() public method

public AddParentStoreyReference ( EmitContext ec, AnonymousMethodStorey storey ) : void
ec EmitContext
storey AnonymousMethodStorey
return void

AddReferenceFromChildrenBlock() public method

public AddReferenceFromChildrenBlock ( ExplicitBlock block ) : void
block ExplicitBlock
return void

AnonymousMethodStorey() public method

public AnonymousMethodStorey ( Block block, TypeContainer parent, MemberBase host, Mono.CSharp.TypeParameter tparams, string name ) : System
block Block
parent TypeContainer
host MemberBase
tparams Mono.CSharp.TypeParameter
name string
return System

CaptureLocalVariable() public method

public CaptureLocalVariable ( ResolveContext ec, LocalVariable local_info ) : void
ec ResolveContext
local_info LocalVariable
return void

CaptureParameter() public method

public CaptureParameter ( ResolveContext ec, Mono.CSharp.ParameterReference param_ref ) : void
ec ResolveContext
param_ref Mono.CSharp.ParameterReference
return void

DoResolveTypeParameters() protected method

protected DoResolveTypeParameters ( ) : bool
return bool

EmitHoistedParameters() protected method

protected EmitHoistedParameters ( EmitContext ec, IList hoisted ) : void
ec EmitContext
hoisted IList
return void

EmitStoreyInstantiation() public method

public EmitStoreyInstantiation ( EmitContext ec, ExplicitBlock block ) : void
ec EmitContext
block ExplicitBlock
return void

EmitType() public method

public EmitType ( ) : void
return void

GetStoreyInstanceExpression() public method

public GetStoreyInstanceExpression ( EmitContext ec ) : Mono.CSharp.Expression
ec EmitContext
return Mono.CSharp.Expression

GetVariableMangledName() protected method

protected GetVariableMangledName ( LocalVariable local_info ) : string
local_info LocalVariable
return string

Reset() public static method

public static Reset ( ) : void
return void

SetNestedStoryParent() public method

public SetNestedStoryParent ( AnonymousMethodStorey parentStorey ) : void
parentStorey AnonymousMethodStorey
return void

Property Details

ID public_oe property

public int ID
return int

Instance public_oe property

public LocalTemporary,Mono.CSharp Instance
return LocalTemporary

OriginalSourceBlock public_oe property

public Block,Mono.CSharp OriginalSourceBlock
return Block

hoisted_locals protected_oe property

protected List hoisted_locals
return List

hoisted_params protected_oe property

protected List hoisted_params
return List

hoisted_this protected_oe property

protected HoistedThis,Mono.CSharp hoisted_this
return HoistedThis