1 instantiation of OverloadResolutionResult
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1598pool = new ObjectPool<OverloadResolutionResult<TMember>>(() => new OverloadResolutionResult<TMember>(), 10);
45 references to OverloadResolutionResult
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder_Expressions.cs (14)
6648OverloadResolutionResult<MethodSymbol> overloadResolutionResult = OverloadResolutionResult<MethodSymbol>.GetInstance(); 7092/// of this method (i.e. not populating a pre-existing <see cref="OverloadResolutionResult{MethodSymbol}"/>). 7113OverloadResolutionResult<MethodSymbol> result = OverloadResolutionResult<MethodSymbol>.GetInstance(); 7134OverloadResolutionResult<MethodSymbol> inaccessibleResult = OverloadResolutionResult<MethodSymbol>.GetInstance(); 8404var overloadResolutionResult = OverloadResolutionResult<MethodSymbol>.GetInstance(); 9746OverloadResolutionResult<PropertySymbol> overloadResolutionResult = OverloadResolutionResult<PropertySymbol>.GetInstance(); 9783OverloadResolutionResult<PropertySymbol> overloadResolutionResult, 10436var result = OverloadResolutionResult<MethodSymbol>.GetInstance();
Binder\Binder_Invocation.cs (9)
41private static ImmutableArray<MethodSymbol> GetOriginalMethods(OverloadResolutionResult<MethodSymbol> overloadResolutionResult) 633var overloadResolutionResult = OverloadResolutionResult<MethodSymbol>.GetInstance(); 951var resultWithSingleCandidate = OverloadResolutionResult<MethodSymbol>.GetInstance(); 972OverloadResolutionResult<TMethodOrPropertySymbol> overloadResolutionResult, 1102OverloadResolutionResult<MethodSymbol> result, 2349var overloadResolutionResult = OverloadResolutionResult<FunctionPointerMethodSymbol>.GetInstance();
Binder\ForEachLoopBinder.cs (3)
1423var overloadResolutionResult = OverloadResolutionResult<MethodSymbol>.GetInstance(); 1514var overloadResolutionResult = methodGroupResolutionResult.OverloadResolutionResult;
Binder\MethodGroupResolution.cs (2)
22public readonly OverloadResolutionResult<MethodSymbol> OverloadResolutionResult; 40OverloadResolutionResult<MethodSymbol> overloadResolutionResult,
Binder\Semantics\Conversions\Conversions.cs (4)
319var result = resolution.OverloadResolutionResult; 379var result = OverloadResolutionResult<MethodSymbol>.GetInstance(); 427private static Conversion ToConversion(OverloadResolutionResult<MethodSymbol> result, MethodGroup methodGroup, int parameterCount)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1500var result = resolution.OverloadResolutionResult;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (7)
101public void ObjectCreationOverloadResolution(ImmutableArray<MethodSymbol> constructors, AnalyzedArguments arguments, OverloadResolutionResult<MethodSymbol> result, bool dynamicResolution, bool isEarlyAttributeBinding, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 141OverloadResolutionResult<MethodSymbol> result, 167OverloadResolutionResult<PropertySymbol> result, 189OverloadResolutionResult<TMember> result, 234var result = OverloadResolutionResult<MethodSymbol>.GetInstance(); 558OverloadResolutionResult<FunctionPointerMethodSymbol> overloadResolutionResult,
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (5)
1580internal static OverloadResolutionResult<TMember> GetInstance() 1593private static readonly ObjectPool<OverloadResolutionResult<TMember>> s_pool = CreatePool(); 1595private static ObjectPool<OverloadResolutionResult<TMember>> CreatePool() 1597ObjectPool<OverloadResolutionResult<TMember>> pool = null; 1598pool = new ObjectPool<OverloadResolutionResult<TMember>>(() => new OverloadResolutionResult<TMember>(), 10);