21 lines
541 B
C#
21 lines
541 B
C#
using System.Diagnostics;
|
|||
|
|
using Microsoft.CodeAnalysis.CSharp.Symbols;
|
||
|
|
|
||
|
|
namespace Microsoft.CodeAnalysis.CSharp;
|
||
|
|
|
||
|
|
[DebuggerDisplay("{GetDebuggerDisplay(), nq}")]
|
||
|
|
internal sealed class ConversionGroup
|
||
|
|
{
|
||
|
|
internal readonly Conversion Conversion;
|
||
|
|
|
||
|
|
internal readonly TypeWithAnnotations ExplicitType;
|
||
|
|
|
||
|
|
internal bool IsExplicitConversion => ExplicitType.HasType;
|
||
|
|
|
||
|
|
internal ConversionGroup(Conversion conversion, TypeWithAnnotations explicitType = default(TypeWithAnnotations))
|
||
|
|
{
|
||
|
|
Conversion = conversion;
|
||
|
|
ExplicitType = explicitType;
|
||
|
|
}
|
||
|
|
}
|