C# Class Mono.CSharp.Parameter

Inheritance: ParameterBase, IParameterData, ILocalVariable
显示文件 Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
HasAddressTaken bool

Protected Properties

Property Type Description
idx int
parameter_type System.TypeSpec

Private Properties

Property Type Description
ResolveDefaultExpression Mono.CSharp.Expression

Public Methods

Method Description
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, Mono.CSharp.PredefinedAttributes pa ) : void
ApplyAttributes ( MethodBuilder mb, ConstructorBuilder cb, int index, Mono.CSharp.PredefinedAttributes pa ) : void
CheckAccessibility ( InterfaceMemberBase member ) : bool
Clone ( ) : Parameter
CreateExpressionTreeVariable ( BlockContext ec ) : Mono.CSharp.ExpressionStatement
Emit ( EmitContext ec ) : void
EmitAddressOf ( EmitContext ec ) : void
EmitAssign ( EmitContext ec ) : void
ExpressionTreeVariableReference ( ) : TemporaryVariableReference
GetModifierSignature ( Modifier mod ) : string
GetSignatureForError ( ) : string
IsClsCompliant ( IMemberContext ctx ) : void
Parameter ( Mono.CSharp.FullNamedExpression type, string name, Modifier mod, Mono.CSharp.Attributes attrs, Mono.CSharp.Location loc ) : System
Reset ( ) : void
Resolve ( IMemberContext rc, int index ) : System.TypeSpec

Resolve is used in method definitions

ResolveDefaultValue ( ResolveContext rc ) : void
ResolveParameterExpressionType ( IMemberContext ec, Mono.CSharp.Location location ) : Mono.CSharp.TypeExpr
Warning_UselessOptionalParameter ( Report Report ) : void

Private Methods

Method Description
ResolveDefaultExpression ( ResolveContext rc ) : Mono.CSharp.Expression

Method Details

ApplyAttributeBuilder() public method

public ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, Mono.CSharp.PredefinedAttributes pa ) : void
a Attribute
ctor MethodSpec
cdata byte
pa Mono.CSharp.PredefinedAttributes
return void

ApplyAttributes() public method

public ApplyAttributes ( MethodBuilder mb, ConstructorBuilder cb, int index, Mono.CSharp.PredefinedAttributes pa ) : void
mb System.Reflection.Emit.MethodBuilder
cb System.Reflection.Emit.ConstructorBuilder
index int
pa Mono.CSharp.PredefinedAttributes
return void

CheckAccessibility() public method

public CheckAccessibility ( InterfaceMemberBase member ) : bool
member InterfaceMemberBase
return bool

Clone() public method

public Clone ( ) : Parameter
return Parameter

CreateExpressionTreeVariable() public method

public CreateExpressionTreeVariable ( BlockContext ec ) : Mono.CSharp.ExpressionStatement
ec BlockContext
return Mono.CSharp.ExpressionStatement

Emit() public method

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

EmitAddressOf() public method

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

EmitAssign() public method

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

ExpressionTreeVariableReference() public method

public ExpressionTreeVariableReference ( ) : TemporaryVariableReference
return TemporaryVariableReference

GetModifierSignature() public static method

public static GetModifierSignature ( Modifier mod ) : string
mod Modifier
return string

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

IsClsCompliant() public method

public IsClsCompliant ( IMemberContext ctx ) : void
ctx IMemberContext
return void

Parameter() public method

public Parameter ( Mono.CSharp.FullNamedExpression type, string name, Modifier mod, Mono.CSharp.Attributes attrs, Mono.CSharp.Location loc ) : System
type Mono.CSharp.FullNamedExpression
name string
mod Modifier
attrs Mono.CSharp.Attributes
loc Mono.CSharp.Location
return System

Reset() public static method

public static Reset ( ) : void
return void

Resolve() public method

Resolve is used in method definitions
public Resolve ( IMemberContext rc, int index ) : System.TypeSpec
rc IMemberContext
index int
return System.TypeSpec

ResolveDefaultValue() public method

public ResolveDefaultValue ( ResolveContext rc ) : void
rc ResolveContext
return void

ResolveParameterExpressionType() public static method

public static ResolveParameterExpressionType ( IMemberContext ec, Mono.CSharp.Location location ) : Mono.CSharp.TypeExpr
ec IMemberContext
location Mono.CSharp.Location
return Mono.CSharp.TypeExpr

Warning_UselessOptionalParameter() public method

public Warning_UselessOptionalParameter ( Report Report ) : void
Report Report
return void

Property Details

HasAddressTaken public_oe property

public bool HasAddressTaken
return bool

idx protected_oe property

protected int idx
return int

parameter_type protected_oe property

protected TypeSpec,System parameter_type
return System.TypeSpec