Search Results for

    Show / Hide Table of Contents

    Struct TypedConstant

    Implements
    IEquatable<TypedConstant>
    Inherited Members
    ValueType.ToString()
    object.GetType()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public readonly struct TypedConstant : IEquatable<TypedConstant>

    Properties

    IsNull

    Declaration
    public bool IsNull { get; }
    Property Value
    Type Description
    bool

    Kind

    Declaration
    public TypedConstantKind Kind { get; }
    Property Value
    Type Description
    TypedConstantKind

    Type

    Declaration
    public ITypeSymbol? Type { get; }
    Property Value
    Type Description
    ITypeSymbol

    Value

    Declaration
    public object? Value { get; }
    Property Value
    Type Description
    object

    Values

    Declaration
    public ImmutableArray<TypedConstant> Values { get; }
    Property Value
    Type Description
    ImmutableArray<TypedConstant>

    Methods

    Equals(TypedConstant)

    Declaration
    public bool Equals(TypedConstant other)
    Parameters
    Type Name Description
    TypedConstant other
    Returns
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

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

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0