Show / Hide Table of Contents

    Class ClrMethodBodyEmitter

    Converts a Flame IR method body to a CLR method body.

    Inheritance
    System.Object
    ClrMethodBodyEmitter
    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.Emit
    Assembly: Flame.Clr.dll
    Syntax
    public sealed class ClrMethodBodyEmitter

    Methods

    | Improve this Doc View Source

    Compile(MethodBody, MethodDefinition, TypeEnvironment)

    Compiles Flame IR to CIL.

    Declaration
    public static MethodBody Compile(MethodBody sourceBody, MethodDefinition method, TypeEnvironment typeEnvironment)
    Parameters
    Type Name Description
    MethodBody sourceBody

    A Flame IR method body to compile to a CIL method body.

    Mono.Cecil.MethodDefinition method

    The method to which the CIL method body can be assigned.

    TypeEnvironment typeEnvironment

    A type environment.

    Returns
    Type Description
    Mono.Cecil.Cil.MethodBody

    A CIL method body.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX