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
    System.IEquatable<ClrPropertySignature>
    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Flame.Clr
    Assembly: Flame.Clr.dll
    Syntax
    public struct ClrPropertySignature : IEquatable<ClrPropertySignature>

    Properties

    | Improve this Doc View Source

    IndexerParameterTypes

    Gets the parameter types of the property signature.

    Declaration
    public ImmutableArray<IType> IndexerParameterTypes { get; }
    Property Value
    Type Description
    System.Collections.Immutable.ImmutableArray<IType>

    The parameter types.

    | Improve this Doc View Source

    Name

    Gets the name of the property signature.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    The property signature's name.

    | Improve this Doc View Source

    PropertyType

    Gets the return type of the property signature.

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

    The return type.

    Methods

    | Improve this Doc 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.

    | Improve this Doc 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
    System.String name

    The name of the property signature.

    IType propertyType

    The return type of the property signature.

    System.Collections.Immutable.ImmutableArray<IType> indexerParameterTypes

    The types of the property signature's indexer parameters.

    Returns
    Type Description
    ClrPropertySignature

    A property signature.

    | Improve this Doc 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
    System.Boolean

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

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Implements

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