1 write to FromType
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Conversions\UserDefinedConversionAnalysis.cs (1)
80
this.
FromType
= fromType;
10 references to FromType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (3)
415
System.Func<UserDefinedConversionAnalysis, bool> isValid = conv => IsEncompassedBy(sourceExpression, source, conv.
FromType
, ref inLambdaUseSiteInfo);
418
var result = MostEncompassedType(u, isValid, conv => conv.
FromType
, ref inLambdaUseSiteInfo);
426
return MostEncompassingType(u, conv => conv.
FromType
, ref useSiteInfo);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (3)
378
return MostEncompassedType(u, conv => conv.
FromType
, ref useSiteInfo);
415
if (!TypeSymbol.Equals(conv.
FromType
, conv.Operator.GetParameterType(0), TypeCompareKind.ConsiderEverything2))
430
return MostSpecificConversionOperator(conv => TypeSymbol.Equals(conv.
FromType
, sx, TypeCompareKind.ConsiderEverything2) && TypeSymbol.Equals(conv.ToType, tx, TypeCompareKind.ConsiderEverything2), u);
FlowAnalysis\NullableWalker.cs (1)
9423
TypeWithAnnotations.Create(conversion.BestUserDefinedConversionAnalysis!.
FromType
),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (3)
874
if (!TypeSymbol.Equals(rewrittenOperand.Type, conversion.BestUserDefinedConversionAnalysis.
FromType
, TypeCompareKind.ConsiderEverything2))
880
conversion.BestUserDefinedConversionAnalysis.
FromType
,
888
conversion.BestUserDefinedConversionAnalysis.
FromType
,