Search Results for

    Show / Hide Table of Contents

    Struct Conversion

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

    Properties

    ConstrainedToType

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

    Exists

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

    IsAnonymousFunction

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

    IsBoxing

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

    IsCollectionExpression

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

    IsConditionalExpression

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

    IsConstantExpression

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

    IsDefaultLiteral

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

    IsDynamic

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

    IsEnumeration

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

    IsExplicit

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

    IsIdentity

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

    IsImplicit

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

    IsInlineArray

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

    IsIntPtr

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

    IsInterpolatedString

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

    IsInterpolatedStringHandler

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

    IsMethodGroup

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

    IsNullLiteral

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

    IsNullable

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

    IsNumeric

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

    IsObjectCreation

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

    IsPointer

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

    IsReference

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

    IsStackAlloc

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

    IsSwitchExpression

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

    IsThrow

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

    IsTupleConversion

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

    IsTupleLiteralConversion

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

    IsUnboxing

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

    IsUserDefined

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

    MethodSymbol

    Declaration
    public IMethodSymbol? MethodSymbol { get; }
    Property Value
    Type Description
    IMethodSymbol

    Methods

    Equals(Conversion)

    Declaration
    public bool Equals(Conversion other)
    Parameters
    Type Name Description
    Conversion 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()

    ToCommonConversion()

    Declaration
    public CommonConversion ToCommonConversion()
    Returns
    Type Description
    CommonConversion

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(Conversion, Conversion)

    Declaration
    public static bool operator ==(Conversion left, Conversion right)
    Parameters
    Type Name Description
    Conversion left
    Conversion right
    Returns
    Type Description
    bool

    operator !=(Conversion, Conversion)

    Declaration
    public static bool operator !=(Conversion left, Conversion right)
    Parameters
    Type Name Description
    Conversion left
    Conversion right
    Returns
    Type Description
    bool

    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