Search Results for

    Show / Hide Table of Contents

    Struct ClrPropertySignature

    A data structure that represents the parts of an IL property signature that are relevant to property reference resolution.

    Implements
    IEquatable<ClrPropertySignature>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Flame.Clr
    Assembly: Flame.Clr.dll
    Syntax
    public struct ClrPropertySignature : IEquatable<ClrPropertySignature>

    Properties

    | Edit this page View Source

    IndexerParameterTypes

    Gets the parameter types of the property signature.

    Declaration
    public readonly ImmutableArray<IType> IndexerParameterTypes { get; }
    Property Value
    Type Description
    ImmutableArray<IType>

    The parameter types.

    | Edit this page View Source

    Name

    Gets the name of the property signature.

    Declaration
    public readonly string Name { get; }
    Property Value
    Type Description
    string

    The property signature's name.

    | Edit this page View Source

    PropertyType

    Gets the return type of the property signature.

    Declaration
    public readonly IType PropertyType { get; }
    Property Value
    Type Description
    IType

    The return type.

    Methods

    | Edit this page View Source

    Create(IProperty)

    Creates a property signature for a property.

    Declaration
    public static ClrPropertySignature Create(IProperty property)
    Parameters
    Type Name Description
    IProperty property

    The property to describe using a signature.

    Returns
    Type Description
    ClrPropertySignature

    A property signature.

    | Edit this page View Source

    Create(string, IType, ImmutableArray<IType>)

    Creates a property signature from a property's name, its property type and its indexer parameter types.

    Declaration
    public static ClrPropertySignature Create(string name, IType propertyType, ImmutableArray<IType> indexerParameterTypes)
    Parameters
    Type Name Description
    string name

    The name of the property signature.

    IType propertyType

    The return type of the property signature.

    ImmutableArray<IType> indexerParameterTypes

    The types of the property signature's indexer parameters.

    Returns
    Type Description
    ClrPropertySignature

    A property signature.

    | Edit this page View Source

    Equals(ClrPropertySignature)

    Tests if this property signature equals another property signature.

    Declaration
    public bool Equals(ClrPropertySignature other)
    Parameters
    Type Name Description
    ClrPropertySignature other

    The signature to compare this one to.

    Returns
    Type Description
    bool

    true if the signatures are the same; otherwise, false.

    | Edit this page View Source

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX