C# Class ICSharpCode.NRefactory.MonoCSharp.ModuleContainer

Inheritance: TypeContainer
Datei anzeigen Open project: 0xd4d/NRefactory Class Usage Examples

Public Properties

Property Type Description
DefaultCharSet CharSet?
DefaultCharSetType TypeAttributes
OperatorsBinaryEqualityLifted Binary.PredefinedOperator[]
OperatorsBinaryLifted Binary.PredefinedOperator[]

Private Properties

Property Type Description
GenerateDocComment void

Public Methods

Method Description
Accept ( StructuralVisitor visitor ) : void
AddAnonymousType ( ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass type ) : void
AddAttribute ( Attribute attr, IMemberContext context ) : void
AddTypeContainer ( TypeContainer tc ) : void
ApplyAttributeBuilder ( Attribute a, MethodSpec ctor, byte cdata, PredefinedAttributes pa ) : void
CloseContainer ( ) : void
Create ( AssemblyDefinition assembly, ModuleBuilder moduleBuilder ) : void
CreateBuilder ( string name, TypeAttributes attr, int typeSize ) : TypeBuilder
CreatePatterMatchingHelper ( ) : PatternMatchingHelper
CreateRootNamespace ( string alias ) : ICSharpCode.NRefactory.MonoCSharp.RootNamespace
Define ( ) : bool
DefineContainer ( ) : bool
EmitContainer ( ) : void
EnableRedefinition ( ) : void
GetAnonymousType ( IList parameters ) : ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass
GetAwaiter ( System.TypeSpec type ) : AwaiterDefinition
GetCompletionStartingWith ( string prefix, List results ) : void
GetPredefinedEnumAritmeticOperators ( System.TypeSpec enumType, bool nullable ) : Binary.PredefinedOperator[]
GetRootNamespace ( string name ) : ICSharpCode.NRefactory.MonoCSharp.RootNamespace
GetSignatureForError ( ) : string
InitializePredefinedTypes ( ) : void
IsClsComplianceRequired ( ) : bool
MakeStaticData ( byte data, Location loc ) : ICSharpCode.NRefactory.MonoCSharp.FieldSpec
ModuleContainer ( ICSharpCode.NRefactory.MonoCSharp.CompilerContext context ) : System
ResolveAssemblyAttribute ( PredefinedAttribute a_type ) : Attribute
SetDeclaringAssembly ( AssemblyDefinition assembly ) : void

Private Methods

Method Description
GenerateDocComment ( ICSharpCode.NRefactory.MonoCSharp.DocumentationBuilder builder ) : void

Method Details

Accept() public method

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

AddAnonymousType() public method

public AddAnonymousType ( ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass type ) : void
type ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass
return void

AddAttribute() public method

public AddAttribute ( Attribute attr, IMemberContext context ) : void
attr System.Attribute
context IMemberContext
return void

AddTypeContainer() public method

public AddTypeContainer ( TypeContainer tc ) : void
tc TypeContainer
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

CloseContainer() public method

public CloseContainer ( ) : void
return void

Create() public method

public Create ( AssemblyDefinition assembly, ModuleBuilder moduleBuilder ) : void
assembly AssemblyDefinition
moduleBuilder System.Reflection.Emit.ModuleBuilder
return void

CreateBuilder() public method

public CreateBuilder ( string name, TypeAttributes attr, int typeSize ) : TypeBuilder
name string
attr TypeAttributes
typeSize int
return TypeBuilder

CreatePatterMatchingHelper() public method

public CreatePatterMatchingHelper ( ) : PatternMatchingHelper
return PatternMatchingHelper

CreateRootNamespace() public method

public CreateRootNamespace ( string alias ) : ICSharpCode.NRefactory.MonoCSharp.RootNamespace
alias string
return ICSharpCode.NRefactory.MonoCSharp.RootNamespace

Define() public method

public Define ( ) : bool
return bool

DefineContainer() public method

public DefineContainer ( ) : bool
return bool

EmitContainer() public method

public EmitContainer ( ) : void
return void

EnableRedefinition() public method

public EnableRedefinition ( ) : void
return void

GetAnonymousType() public method

public GetAnonymousType ( IList parameters ) : ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass
parameters IList
return ICSharpCode.NRefactory.MonoCSharp.AnonymousTypeClass

GetAwaiter() public method

public GetAwaiter ( System.TypeSpec type ) : AwaiterDefinition
type System.TypeSpec
return AwaiterDefinition

GetCompletionStartingWith() public method

public GetCompletionStartingWith ( string prefix, List results ) : void
prefix string
results List
return void

GetPredefinedEnumAritmeticOperators() public method

public GetPredefinedEnumAritmeticOperators ( System.TypeSpec enumType, bool nullable ) : Binary.PredefinedOperator[]
enumType System.TypeSpec
nullable bool
return Binary.PredefinedOperator[]

GetRootNamespace() public method

public GetRootNamespace ( string name ) : ICSharpCode.NRefactory.MonoCSharp.RootNamespace
name string
return ICSharpCode.NRefactory.MonoCSharp.RootNamespace

GetSignatureForError() public method

public GetSignatureForError ( ) : string
return string

InitializePredefinedTypes() public method

public InitializePredefinedTypes ( ) : void
return void

IsClsComplianceRequired() public method

public IsClsComplianceRequired ( ) : bool
return bool

MakeStaticData() public method

public MakeStaticData ( byte data, Location loc ) : ICSharpCode.NRefactory.MonoCSharp.FieldSpec
data byte
loc Location
return ICSharpCode.NRefactory.MonoCSharp.FieldSpec

ModuleContainer() public method

public ModuleContainer ( ICSharpCode.NRefactory.MonoCSharp.CompilerContext context ) : System
context ICSharpCode.NRefactory.MonoCSharp.CompilerContext
return System

ResolveAssemblyAttribute() public method

public ResolveAssemblyAttribute ( PredefinedAttribute a_type ) : Attribute
a_type PredefinedAttribute
return System.Attribute

SetDeclaringAssembly() public method

public SetDeclaringAssembly ( AssemblyDefinition assembly ) : void
assembly AssemblyDefinition
return void

Property Details

DefaultCharSet public_oe property

public CharSet? DefaultCharSet
return CharSet?

DefaultCharSetType public_oe property

public TypeAttributes DefaultCharSetType
return TypeAttributes

OperatorsBinaryEqualityLifted public_oe property

public Binary.PredefinedOperator[] OperatorsBinaryEqualityLifted
return Binary.PredefinedOperator[]

OperatorsBinaryLifted public_oe property

public Binary.PredefinedOperator[] OperatorsBinaryLifted
return Binary.PredefinedOperator[]