10 references to BestUserDefinedConversionAnalysis
Microsoft.CodeAnalysis.CSharp (10)
Binder\Semantics\Conversions\Conversion.cs (2)
1083
UserDefinedConversionAnalysis? best =
BestUserDefinedConversionAnalysis
;
1095
UserDefinedConversionAnalysis? best =
BestUserDefinedConversionAnalysis
;
FlowAnalysis\NullableWalker.cs (2)
9362
TypeWithAnnotations.Create(conversion.
BestUserDefinedConversionAnalysis
!.FromType),
9433
TypeWithAnnotations.Create(conversion.
BestUserDefinedConversionAnalysis
!.ToType),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (6)
871
Debug.Assert(conversion.
BestUserDefinedConversionAnalysis
is { });
874
if (!TypeSymbol.Equals(rewrittenOperand.Type, conversion.
BestUserDefinedConversionAnalysis
.FromType, TypeCompareKind.ConsiderEverything2))
880
conversion.
BestUserDefinedConversionAnalysis
.FromType,
888
conversion.
BestUserDefinedConversionAnalysis
.FromType,
913
if (!TypeSymbol.Equals(userDefined.Type, conversion.
BestUserDefinedConversionAnalysis
.ToType, TypeCompareKind.ConsiderEverything2))
917
conversion.
BestUserDefinedConversionAnalysis
.ToType,