Class ReferenceResolver
A data structure that resolves IL references as Flame members.
Inheritance
System.Object
ReferenceResolver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Clr
Assembly: Flame.Clr.dll
Syntax
public sealed class ReferenceResolver
Constructors
| Improve this Doc View SourceReferenceResolver(AssemblyResolver, TypeEnvironment)
Creates a reference resolver.
Declaration
public ReferenceResolver(AssemblyResolver resolver, TypeEnvironment typeEnvironment)
Parameters
Type | Name | Description |
---|---|---|
AssemblyResolver | resolver | The assembly resolver to use. |
TypeEnvironment | typeEnvironment | The reference resolver's type environment. |
Properties
| Improve this Doc View SourceAssemblyResolver
Gets the assembly resolver used by this object.
Declaration
public AssemblyResolver AssemblyResolver { get; }
Property Value
Type | Description |
---|---|
AssemblyResolver | An assembly resolver. |
TypeEnvironment
Gets the type environment for this reference resolver.
Declaration
public TypeEnvironment TypeEnvironment { get; }
Property Value
Type | Description |
---|---|
TypeEnvironment | The type environment. |
Methods
| Improve this Doc View SourceResolve(AssemblyNameReference)
Resolves an assembly name reference as an assembly.
Declaration
public IAssembly Resolve(AssemblyNameReference assemblyRef)
Parameters
Type | Name | Description |
---|---|---|
Mono.Cecil.AssemblyNameReference | assemblyRef | An assembly name reference to resolve. |
Returns
Type | Description |
---|---|
IAssembly | The assembly referenced by |