C# Class ICSharpCode.NRefactory.MonoCSharp.Struct

Inheritance: ClassOrStruct
Mostrar archivo 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
Emit ( ) : void
IsUnmanagedType ( ) : bool
Struct ( TypeContainer parent, MemberName name, Modifiers mod, Attributes attrs ) : System

Protected Methods

Method Description
DoDefineMembers ( ) : bool
ResolveBaseTypes ( FullNamedExpression &base_class ) : System.TypeSpec[]

Private Methods

Method Description
CheckFieldTypeCycle ( System.TypeSpec ts ) : bool
CheckStructCycles ( ) : bool
HasUserDefaultConstructor ( ) : 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

DoDefineMembers() protected method

protected DoDefineMembers ( ) : bool
return bool

Emit() public method

public Emit ( ) : void
return void

IsUnmanagedType() public method

public IsUnmanagedType ( ) : bool
return bool

ResolveBaseTypes() protected method

protected ResolveBaseTypes ( FullNamedExpression &base_class ) : System.TypeSpec[]
base_class FullNamedExpression
return System.TypeSpec[]

Struct() public method

public Struct ( TypeContainer parent, MemberName name, Modifiers mod, Attributes attrs ) : System
parent TypeContainer
name MemberName
mod Modifiers
attrs Attributes
return System