Method | Description | |
---|---|---|
ConvertAttribute ( IAttribute attribute ) : |
||
ConvertConstantValue ( IType type, object constantValue ) : Expression | ||
ConvertConstantValue ( ResolveResult rr ) : Expression | ||
ConvertEntity ( IEntity entity ) : EntityDeclaration | ||
ConvertNamespace ( string namespaceName ) : AstType | ||
ConvertParameter ( IParameter parameter ) : ParameterDeclaration | ||
ConvertSymbol ( ISymbol symbol ) : AstNode | ||
ConvertType ( FullTypeName fullTypeName ) : AstType | ||
ConvertType ( IType type ) : AstType | ||
ConvertVariable ( IVariable v ) : VariableDeclarationStatement | ||
ModifierFromAccessibility ( Accessibility accessibility ) : Modifiers | ||
TypeSystemAstBuilder ( ) : System |
Creates a new TypeSystemAstBuilder.
|
|
TypeSystemAstBuilder ( |
Creates a new TypeSystemAstBuilder.
|
Method | Description | |
---|---|---|
AddTypeArguments ( AstType result, ITypeDefinition typeDef, IList |
Adds type arguments to the result type.
|
|
ConvertAccessor ( IMethod accessor, Accessibility ownerAccessibility, bool addParamterAttribute ) : Accessor | ||
ConvertConstructor ( IMethod ctor ) : ConstructorDeclaration | ||
ConvertDelegate ( IMethod invokeMethod, Modifiers modifiers ) : DelegateDeclaration | ||
ConvertDestructor ( IMethod dtor ) : DestructorDeclaration | ||
ConvertEnumValue ( IType type, long val ) : Expression | ||
ConvertEvent ( IEvent ev ) : EntityDeclaration | ||
ConvertField ( IField field ) : FieldDeclaration | ||
ConvertIndexer ( IProperty indexer ) : IndexerDeclaration | ||
ConvertMethod ( IMethod method ) : MethodDeclaration | ||
ConvertNamespaceDeclaration ( INamespace ns ) : NamespaceDeclaration | ||
ConvertOperator ( IMethod op ) : EntityDeclaration | ||
ConvertProperty ( IProperty property ) : PropertyDeclaration | ||
ConvertTypeDefinition ( ITypeDefinition typeDefinition ) : EntityDeclaration | ||
ConvertTypeHelper ( IType type ) : AstType | ||
ConvertTypeHelper ( ITypeDefinition typeDef, IList |
||
ConvertTypeParameter ( ITypeParameter tp ) : TypeParameterDeclaration | ||
ConvertTypeParameterConstraint ( ITypeParameter tp ) : Constraint | ||
GenerateBodyBlock ( ) : BlockStatement | ||
GetExplicitInterfaceType ( IMember member ) : AstType | ||
GetMemberModifiers ( IMember member ) : Modifiers | ||
InitProperties ( ) : void | ||
IsFlagsEnum ( ITypeDefinition type ) : bool | ||
IsObjectOrValueType ( IType type ) : bool | ||
IsValidNamespace ( string firstNamespacePart ) : bool | ||
NeedsAccessibility ( IMember member ) : bool | ||
TypeMatches ( IType type, ITypeDefinition typeDef, IList |
Gets whether 'type' is the same as 'typeDef' parameterized with the given type arguments.
|
public ConvertAttribute ( IAttribute attribute ) : |
||
attribute | IAttribute | |
return |
public ConvertConstantValue ( IType type, object constantValue ) : Expression | ||
type | IType | |
constantValue | object | |
return | Expression |
public ConvertConstantValue ( ResolveResult rr ) : Expression | ||
rr | ResolveResult | |
return | Expression |
public ConvertEntity ( IEntity entity ) : EntityDeclaration | ||
entity | IEntity | |
return | EntityDeclaration |
public ConvertNamespace ( string namespaceName ) : AstType | ||
namespaceName | string | |
return | AstType |
public ConvertParameter ( IParameter parameter ) : ParameterDeclaration | ||
parameter | IParameter | |
return | ParameterDeclaration |
public ConvertSymbol ( ISymbol symbol ) : AstNode | ||
symbol | ISymbol | |
return | AstNode |
public ConvertType ( FullTypeName fullTypeName ) : AstType | ||
fullTypeName | FullTypeName | |
return | AstType |
public ConvertVariable ( IVariable v ) : VariableDeclarationStatement | ||
v | IVariable | |
return | VariableDeclarationStatement |
public static ModifierFromAccessibility ( Accessibility accessibility ) : Modifiers | ||
accessibility | Accessibility | |
return | Modifiers |
public TypeSystemAstBuilder ( |
||
resolver | /// A resolver initialized for the position where the type will be inserted. /// | |
return | System |