C# Class ICSharpCode.NRefactory.MonoCSharp.MethodOrOperator

Inheritance: MethodCore, IMethodData, IMethodDefinition
Show file Open project: 0xd4d/NRefactory

Protected Properties

Property Type Description
MethodData MethodData

Private Properties

Property Type Description

Public Methods

Method Description
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, PredefinedAttributes pa ) : void
ConditionalConditions ( ) : string[]

Returns true if method has conditional attribute and the conditions is not defined (method is excluded).

CreateEmitContext ( ILGenerator ig, SourceMethodBuilder sourceMethod ) : ICSharpCode.NRefactory.MonoCSharp.EmitContext
Define ( ) : bool
Emit ( ) : void
PrepareEmit ( ) : void
WriteDebugSymbol ( MonoSymbolFile file ) : void

Protected Methods

Method Description
CheckForDuplications ( ) : bool
DoMemberTypeDependentChecks ( ) : void
DoMemberTypeIndependentChecks ( ) : void
Error_ConditionalAttributeIsNotValid ( ) : void
MethodOrOperator ( TypeDefinition parent, FullNamedExpression type, Modifiers mod, Modifiers allowed_mod, MemberName name, Attributes attrs, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters ) : System

Method Details

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

CheckForDuplications() protected method

protected CheckForDuplications ( ) : bool
return bool

ConditionalConditions() public method

Returns true if method has conditional attribute and the conditions is not defined (method is excluded).
public ConditionalConditions ( ) : string[]
return string[]

CreateEmitContext() public method

public CreateEmitContext ( ILGenerator ig, SourceMethodBuilder sourceMethod ) : ICSharpCode.NRefactory.MonoCSharp.EmitContext
ig System.Reflection.Emit.ILGenerator
sourceMethod Mono.CompilerServices.SymbolWriter.SourceMethodBuilder
return ICSharpCode.NRefactory.MonoCSharp.EmitContext

Define() public method

public Define ( ) : bool
return bool

DoMemberTypeDependentChecks() protected method

protected DoMemberTypeDependentChecks ( ) : void
return void

DoMemberTypeIndependentChecks() protected method

protected DoMemberTypeIndependentChecks ( ) : void
return void

Emit() public method

public Emit ( ) : void
return void

Error_ConditionalAttributeIsNotValid() protected method

protected Error_ConditionalAttributeIsNotValid ( ) : void
return void

MethodOrOperator() protected method

protected MethodOrOperator ( TypeDefinition parent, FullNamedExpression type, Modifiers mod, Modifiers allowed_mod, MemberName name, Attributes attrs, ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled parameters ) : System
parent TypeDefinition
type FullNamedExpression
mod Modifiers
allowed_mod Modifiers
name MemberName
attrs Attributes
parameters ICSharpCode.NRefactory.MonoCSharp.ParametersCompiled
return System

PrepareEmit() public method

public PrepareEmit ( ) : void
return void

WriteDebugSymbol() public method

public WriteDebugSymbol ( MonoSymbolFile file ) : void
file Mono.CompilerServices.SymbolWriter.MonoSymbolFile
return void

Property Details

MethodData protected property

protected MethodData,ICSharpCode.NRefactory.MonoCSharp MethodData
return MethodData