Show / Hide Table of Contents

    Class MethodTokenConstant

    A method token constant: a constant that wraps a runtime handle to a method.

    Inheritance
    System.Object
    Constant
    MethodTokenConstant
    Implements
    System.IEquatable<Constant>
    Inherited Members
    Constant.Equals(Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Constants
    Assembly: Flame.dll
    Syntax
    public sealed class MethodTokenConstant : Constant, IEquatable<Constant>

    Constructors

    | Improve this Doc View Source

    MethodTokenConstant(IMethod)

    Creates a method token constant from a Method.

    Declaration
    public MethodTokenConstant(IMethod method)
    Parameters
    Type Name Description
    IMethod method

    The method to create a token to.

    Properties

    | Improve this Doc View Source

    Method

    Gets the method encapsulated by this method token constant.

    Declaration
    public IMethod Method { get; }
    Property Value
    Type Description
    IMethod

    A method.

    Methods

    | Improve this Doc View Source

    Equals(Constant)

    Tests if this constant is equal to another constant.

    Declaration
    public override bool Equals(Constant other)
    Parameters
    Type Name Description
    Constant other

    The other constant.

    Returns
    Type Description
    System.Boolean

    true if the constants are equal; otherwise, false.

    Overrides
    Constant.Equals(Constant)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    Constant.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX