Click or drag to resize

ConversionKind Class



Kinds of conversions.
Inheritance Hierarchy
SystemEnum
  Microsoft.CodeAnalysis.SemanticsConversionKind

Namespace:  Microsoft.CodeAnalysis.Semantics
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class ConversionKind : Enum

The ConversionKind type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberBasic
Conversion has VB-specific semantics.
Public fieldStatic memberCast
Conversion is defined by the underlying type system and throws an exception if it fails.
Public fieldStatic memberCSharp
Conversion has C#-specific semantics.
Public fieldStatic memberInvalid
Conversion is invalid.
Public fieldStatic memberNone
Public fieldStatic memberOperatorMethod
Conversion is implemented by a conversion operator method.
Public fieldStatic memberTryCast
Conversion is defined by the underlying type system and produces a null result if it fails.
Public fieldvalue__
Top
See Also