Struct Conversion
Assembly: Microsoft.CodeAnalysis.CSharp.dll
Syntax
public readonly struct Conversion : IEquatable<Conversion>
Properties
ConstrainedToType
Declaration
public ITypeSymbol? ConstrainedToType { get; }
Property Value
Exists
Declaration
public bool Exists { get; }
Property Value
IsAnonymousFunction
Declaration
public bool IsAnonymousFunction { get; }
Property Value
IsBoxing
Declaration
public bool IsBoxing { get; }
Property Value
IsCollectionExpression
Declaration
public bool IsCollectionExpression { get; }
Property Value
IsConditionalExpression
Declaration
public bool IsConditionalExpression { get; }
Property Value
IsConstantExpression
Declaration
public bool IsConstantExpression { get; }
Property Value
IsDefaultLiteral
Declaration
public bool IsDefaultLiteral { get; }
Property Value
IsDynamic
Declaration
public bool IsDynamic { get; }
Property Value
IsEnumeration
Declaration
public bool IsEnumeration { get; }
Property Value
IsExplicit
Declaration
public bool IsExplicit { get; }
Property Value
IsIdentity
Declaration
public bool IsIdentity { get; }
Property Value
IsImplicit
Declaration
public bool IsImplicit { get; }
Property Value
IsInlineArray
Declaration
public bool IsInlineArray { get; }
Property Value
IsIntPtr
Declaration
public bool IsIntPtr { get; }
Property Value
IsInterpolatedString
Declaration
public bool IsInterpolatedString { get; }
Property Value
IsInterpolatedStringHandler
Declaration
public bool IsInterpolatedStringHandler { get; }
Property Value
IsMethodGroup
Declaration
public bool IsMethodGroup { get; }
Property Value
IsNullLiteral
Declaration
public bool IsNullLiteral { get; }
Property Value
IsNullable
Declaration
public bool IsNullable { get; }
Property Value
IsNumeric
Declaration
public bool IsNumeric { get; }
Property Value
IsObjectCreation
Declaration
public bool IsObjectCreation { get; }
Property Value
IsPointer
Declaration
public bool IsPointer { get; }
Property Value
IsReference
Declaration
public bool IsReference { get; }
Property Value
IsStackAlloc
Declaration
public bool IsStackAlloc { get; }
Property Value
IsSwitchExpression
Declaration
public bool IsSwitchExpression { get; }
Property Value
IsThrow
Declaration
public bool IsThrow { get; }
Property Value
IsTupleConversion
Declaration
public bool IsTupleConversion { get; }
Property Value
IsTupleLiteralConversion
Declaration
public bool IsTupleLiteralConversion { get; }
Property Value
IsUnboxing
Declaration
public bool IsUnboxing { get; }
Property Value
IsUserDefined
Declaration
public bool IsUserDefined { get; }
Property Value
MethodSymbol
Declaration
public IMethodSymbol? MethodSymbol { get; }
Property Value
Methods
Equals(Conversion)
Declaration
public bool Equals(Conversion other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToCommonConversion()
Declaration
public CommonConversion ToCommonConversion()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(Conversion, Conversion)
Declaration
public static bool operator ==(Conversion left, Conversion right)
Parameters
Returns
operator !=(Conversion, Conversion)
Declaration
public static bool operator !=(Conversion left, Conversion right)
Parameters
Returns
Implements