Search Results for

    Show / Hide Table of Contents

    Class ClrMethodBodyEmitter

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

    Inheritance
    object
    ClrMethodBodyEmitter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Clr.Emit
    Assembly: Flame.Clr.dll
    Syntax
    public sealed class ClrMethodBodyEmitter

    Methods

    | Edit this page 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.

    MethodDefinition method

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

    TypeEnvironment typeEnvironment

    A type environment.

    Returns
    Type Description
    MethodBody

    A CIL method body.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX