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