Class MetadataLoadContext
Inheritance
MetadataLoadContext
Assembly: Neon.Roslyn.dll
Syntax
public class MetadataLoadContext
Constructors
MetadataLoadContext(Compilation)
Declaration
public MetadataLoadContext(Compilation compilation)
Parameters
Type |
Name |
Description |
Compilation |
compilation |
|
Properties
Assembly
Declaration
public Assembly Assembly { get; }
Property Value
Methods
GetOrCreate<TMember>(ISymbol)
Declaration
public TMember GetOrCreate<TMember>(ISymbol symbol) where TMember : class
Parameters
Type |
Name |
Description |
ISymbol |
symbol |
|
Returns
Type Parameters
ResolveMember<TMember>(TMember)
Declaration
public TMember ResolveMember<TMember>(TMember memberInfo) where TMember : MemberInfo
Parameters
Type |
Name |
Description |
TMember |
memberInfo |
|
Returns
Type Parameters
ResolveType(ISymbol)
Declaration
public Type ResolveType(ISymbol symbol)
Parameters
Type |
Name |
Description |
ISymbol |
symbol |
|
Returns
ResolveType(string)
Declaration
public Type ResolveType(string fullyQualifiedMetadataName)
Parameters
Type |
Name |
Description |
string |
fullyQualifiedMetadataName |
|
Returns
ResolveType(Type)
Declaration
public Type ResolveType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
ResolveType(TypeSyntax)
Declaration
public Type ResolveType(TypeSyntax node)
Parameters
Type |
Name |
Description |
TypeSyntax |
node |
|
Returns
ResolveType<T>()
Declaration
public Type ResolveType<T>()
Returns
Type Parameters