Show / Hide Table of Contents

    Class CecilAssemblyResolver

    An assembly resolver implementation that forwards assembly resolution requests to Mono.Cecil assembly resolver.

    Inheritance
    System.Object
    AssemblyResolver
    CecilAssemblyResolver
    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 CecilAssemblyResolver : AssemblyResolver

    Constructors

    | Improve this Doc View Source

    CecilAssemblyResolver(IAssemblyResolver, TypeEnvironment)

    Creates a Flame assembly resolver that forwards requests to a Mono.Cecil assembly resolver.

    Declaration
    public CecilAssemblyResolver(IAssemblyResolver resolver, TypeEnvironment typeEnvironment)
    Parameters
    Type Name Description
    Mono.Cecil.IAssemblyResolver resolver

    The Mono.Cecil assembly resolver to use.

    TypeEnvironment typeEnvironment

    The Flame type environment to use when analyzing assemblies.

    | Improve this Doc View Source

    CecilAssemblyResolver(IAssemblyResolver, TypeEnvironment, ReaderParameters)

    Creates a Flame assembly resolver that forwards requests to a Mono.Cecil assembly resolver.

    Declaration
    public CecilAssemblyResolver(IAssemblyResolver resolver, TypeEnvironment typeEnvironment, ReaderParameters parameters)
    Parameters
    Type Name Description
    Mono.Cecil.IAssemblyResolver resolver

    The Mono.Cecil assembly resolver to use.

    TypeEnvironment typeEnvironment

    The Flame type environment to use when analyzing assemblies.

    Mono.Cecil.ReaderParameters parameters

    The Mono.Cecil reader parameters to use.

    Properties

    | Improve this Doc View Source

    Parameters

    Gets the Mono.Cecil reader parameters to use.

    Declaration
    public ReaderParameters Parameters { get; }
    Property Value
    Type Description
    Mono.Cecil.ReaderParameters
    | Improve this Doc View Source

    ReferenceResolver

    Gets the Flame reference resolver for this assembly resolver.

    Declaration
    public ReferenceResolver ReferenceResolver { get; }
    Property Value
    Type Description
    ReferenceResolver
    | Improve this Doc View Source

    Resolver

    Gets the Mono.Cecil assembly resolver to which requests are forwarded.

    Declaration
    public IAssemblyResolver Resolver { get; }
    Property Value
    Type Description
    Mono.Cecil.IAssemblyResolver
    | Improve this Doc View Source

    TypeEnvironment

    Gets the Flame type environment to use when analyzing assemblies.

    Declaration
    public TypeEnvironment TypeEnvironment { get; }
    Property Value
    Type Description
    TypeEnvironment

    Methods

    | Improve this Doc View Source

    TryResolve(AssemblyIdentity, out IAssembly)

    Tries to resolve an assembly based on an identity.

    Declaration
    public override bool TryResolve(AssemblyIdentity identity, out IAssembly assembly)
    Parameters
    Type Name Description
    AssemblyIdentity identity

    An assembly identity that references the assembly to resolve.

    IAssembly assembly

    The assembly that is referenced by assembly.

    Returns
    Type Description
    System.Boolean

    true if a match could be found for assembly; otherwise, false.

    Overrides
    AssemblyResolver.TryResolve(AssemblyIdentity, out IAssembly)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX