C# Class Mono.CSharp.Method

Inheritance: MethodOrOperator, IGenericMethodDefinition
Mostra file Open project: praeclarum/runcs Class Usage Examples

Public Methods

Method Description
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, Mono.CSharp.PredefinedAttributes pa ) : void
Define ( ) : bool
Emit ( ) : void
EnableOverloadChecks ( MemberCore overload ) : bool
Error1599 ( Mono.CSharp.Location loc, System.TypeSpec t, Report Report ) : void
GetSignatureForError ( ) : string
LookupNamespaceOrType ( string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104 ) : Mono.CSharp.FullNamedExpression
Method ( DeclSpace parent, Mono.CSharp.GenericMethod generic, Mono.CSharp.FullNamedExpression return_type, Mono.CSharp.Modifiers mod, MemberName name, ParametersCompiled parameters, Mono.CSharp.Attributes attrs ) : System.Xml
SetPartialDefinition ( Method methodDefinition ) : void

Protected Methods

Method Description
DefineTypeParameters ( ) : void
Method ( DeclSpace parent, Mono.CSharp.FullNamedExpression return_type, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers amod, MemberName name, ParametersCompiled parameters, Mono.CSharp.Attributes attrs ) : System.Xml
ResolveMemberType ( ) : bool

Private Methods

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

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

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 ( Mono.CSharp.Location loc, System.TypeSpec t, Report Report ) : void
loc Mono.CSharp.Location
t System.TypeSpec
Report Report
return void

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

LookupNamespaceOrType() public method

public LookupNamespaceOrType ( string name, int arity, Mono.CSharp.Location loc, bool ignore_cs0104 ) : Mono.CSharp.FullNamedExpression
name string
arity int
loc Mono.CSharp.Location
ignore_cs0104 bool
return Mono.CSharp.FullNamedExpression

Method() protected method

protected Method ( DeclSpace parent, Mono.CSharp.FullNamedExpression return_type, Mono.CSharp.Modifiers mod, Mono.CSharp.Modifiers amod, MemberName name, ParametersCompiled parameters, Mono.CSharp.Attributes attrs ) : System.Xml
parent DeclSpace
return_type Mono.CSharp.FullNamedExpression
mod Mono.CSharp.Modifiers
amod Mono.CSharp.Modifiers
name MemberName
parameters ParametersCompiled
attrs Mono.CSharp.Attributes
return System.Xml

Method() public method

public Method ( DeclSpace parent, Mono.CSharp.GenericMethod generic, Mono.CSharp.FullNamedExpression return_type, Mono.CSharp.Modifiers mod, MemberName name, ParametersCompiled parameters, Mono.CSharp.Attributes attrs ) : System.Xml
parent DeclSpace
generic Mono.CSharp.GenericMethod
return_type Mono.CSharp.FullNamedExpression
mod Mono.CSharp.Modifiers
name MemberName
parameters ParametersCompiled
attrs Mono.CSharp.Attributes
return System.Xml

ResolveMemberType() protected method

protected ResolveMemberType ( ) : bool
return bool

SetPartialDefinition() public method

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