csharp
public readonly struct ConversionThe result of classifying a conversion. Cost ranks candidates during overload resolution — lower is a better match, and an identity conversion costs nothing.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public static readonly Conversion Nonepublic static readonly Conversion Identitypublic ConversionKind Kindpublic bool Existspublic bool IsImplicitpublic bool IsIdentityTrue when the conversion changes representation and must be materialized.
public int CostRanking for overload resolution; only meaningful for implicit conversions.
Methods (2)
public Conversion(ConversionKind kind)public override string ToString()
Used by (5)
- BinderVixen.Raven
- BoundConversionExpressionVixen.Raven
- ConversionsVixen.Raven
- LowererVixen.Raven
- TypeSystemTestsVixen.Raven.Tests