C# Class ICSharpCode.NRefactory.MonoCSharp.Method

Inheritance: MethodOrOperator, IGenericMethodDefinition
Exibir arquivo Open project: 0xd4d/NRefactory Class Usage Examples

Public Methods

Method Description
Accept ( StructuralVisitor visitor ) : void
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, PredefinedAttributes pa ) : void
CheckImplementingMethodConstraints ( TypeContainer container, MethodSpec method, MethodSpec baseMethod ) : bool
Create ( TypeDefinition parent, FullNamedExpression returnType, Modifiers mod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : Method
Define ( ) : bool
Emit ( ) : void
EnableOverloadChecks ( MemberCore overload ) : bool
Error1599 ( Location loc, System.TypeSpec t, ICSharpCode.NRefactory.MonoCSharp.Report Report ) : void
GetSignatureForError ( ) : string
LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression
Method ( TypeDefinition parent, FullNamedExpression return_type, Modifiers mod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : System
PrepareEmit ( ) : void
SetPartialDefinition ( Method methodDefinition ) : void

Protected Methods

Method Description
DefineTypeParameters ( ) : void
Method ( TypeDefinition parent, FullNamedExpression return_type, Modifiers mod, Modifiers amod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : System
ResolveMemberType ( ) : bool

Private Methods

Method Description
CreateTypeParameters ( ) : void
Error_DuplicateEntryPoint ( Method b ) : void
IsEntryPoint ( ) : bool

Method Details

Accept() public method

public Accept ( StructuralVisitor visitor ) : void
visitor StructuralVisitor
return void

ApplyAttributeBuilder() public method

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

CheckImplementingMethodConstraints() public static method

public static CheckImplementingMethodConstraints ( TypeContainer container, MethodSpec method, MethodSpec baseMethod ) : bool
container TypeContainer
method MethodSpec
baseMethod MethodSpec
return bool

Create() public static method

public static Create ( TypeDefinition parent, FullNamedExpression returnType, Modifiers mod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : Method
parent TypeDefinition
returnType FullNamedExpression
mod Modifiers
name MemberName
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
attrs Attributes
return Method

Define() public method

public Define ( ) : bool
return bool

DefineTypeParameters() protected method

protected DefineTypeParameters ( ) : void
return void

Emit() public method

public Emit ( ) : void
return void

EnableOverloadChecks() public method

public EnableOverloadChecks ( MemberCore overload ) : bool
overload MemberCore
return bool

Error1599() public static method

public static Error1599 ( Location loc, System.TypeSpec t, ICSharpCode.NRefactory.MonoCSharp.Report Report ) : void
loc Location
t System.TypeSpec
Report ICSharpCode.NRefactory.MonoCSharp.Report
return void

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

LookupNamespaceOrType() public method

public LookupNamespaceOrType ( string name, int arity, LookupMode mode, Location loc ) : FullNamedExpression
name string
arity int
mode LookupMode
loc Location
return FullNamedExpression

Method() public method

public Method ( TypeDefinition parent, FullNamedExpression return_type, Modifiers mod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : System
parent TypeDefinition
return_type FullNamedExpression
mod Modifiers
name MemberName
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
attrs Attributes
return System

Method() protected method

protected Method ( TypeDefinition parent, FullNamedExpression return_type, Modifiers mod, Modifiers amod, MemberName name, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters, Attributes attrs ) : System
parent TypeDefinition
return_type FullNamedExpression
mod Modifiers
amod Modifiers
name MemberName
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
attrs Attributes
return System

PrepareEmit() public method

public PrepareEmit ( ) : void
return void

ResolveMemberType() protected method

protected ResolveMemberType ( ) : bool
return bool

SetPartialDefinition() public method

public SetPartialDefinition ( Method methodDefinition ) : void
methodDefinition Method
return void