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