2 instantiations of MethodTypeInferrer
Microsoft.CodeAnalysis.CSharp (2)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
293var inferrer = new MethodTypeInferrer( 3211inferrer = new MethodTypeInferrer(
13 references to MethodTypeInferrer
Microsoft.CodeAnalysis.CSharp (13)
Binder\ForEachLoopBinder.cs (1)
1818interfaces = MethodTypeInferrer.ModuloReferenceTypeNullabilityDifferences(interfaces, VarianceKind.In);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
293var inferrer = new MethodTypeInferrer( 930return FixParameters((ref MethodTypeInferrer inferrer, int index) => !inferrer.DependsOnAny(index), ref useSiteInfo); 938return FixParameters((ref MethodTypeInferrer inferrer, int index) => inferrer.AnyDependsOn(index), ref useSiteInfo); 941private delegate bool FixParametersPredicate(ref MethodTypeInferrer inferrer, int index); 3180if (!CanInferTypeArgumentsFromFirstArgument(compilation, conversions, method, arguments, ref useSiteInfo, out var inferrer)) 3194out MethodTypeInferrer inferrer)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
4320var inferenceResult = MethodTypeInferrer.Infer( 4339var canInfer = MethodTypeInferrer.CanInferTypeArgumentsFromFirstArgument(
FlowAnalysis\NullableWalker.cs (2)
7852var result = MethodTypeInferrer.Infer( 7871private sealed class MethodInferenceExtensions : MethodTypeInferrer.Extensions
Symbols\FunctionTypeSymbol.cs (1)
30/// <see cref="BestTypeInferrer"/>, and <see cref="MethodTypeInferrer"/>. Instances of this type
Symbols\ReducedExtensionMethodSymbol.cs (1)
157var typeArgs = MethodTypeInferrer.InferTypeArgumentsFromFirstArgument(