1 instantiation of AnalyzedArguments
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\OverloadResolution\AnalyzedArguments.cs (1)
180
pool = new ObjectPool<AnalyzedArguments>(() => new
AnalyzedArguments
(), 10);
166 references to AnalyzedArguments
Microsoft.CodeAnalysis.CSharp (166)
Binder\Binder_Attributes.cs (4)
454
var
boundConstructorArguments =
AnalyzedArguments
.GetInstance();
1069
internal readonly
AnalyzedArguments
ConstructorArguments;
1072
internal AnalyzedAttributeArguments(
AnalyzedArguments
constructorArguments, ArrayBuilder<BoundAssignmentOperator>? namedArguments)
Binder\Binder_Deconstruct.cs (2)
631
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\Binder_Expressions.cs (66)
2989
private void BindArgumentsAndNames(BaseArgumentListSyntax argumentListOpt, BindingDiagnosticBag diagnostics,
AnalyzedArguments
result, bool allowArglist = false, bool isDelegateCreation = false)
3040
AnalyzedArguments
result,
3277
AnalyzedArguments
result,
3375
AnalyzedArguments
analyzedArguments,
3592
AnalyzedArguments
analyzedArguments,
4781
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
4908
AnalyzedArguments
analyzedArguments,
5115
var
arguments =
AnalyzedArguments
.GetInstance();
5280
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
5287
private BoundExpression BindDelegateCreationExpression(SyntaxNode node, NamedTypeSymbol type,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped, BindingDiagnosticBag diagnostics)
5459
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
5498
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
5523
var
arguments =
AnalyzedArguments
.GetInstance(node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt);
5529
private BoundExpression MakeBadExpressionForObjectCreation(ObjectCreationExpressionSyntax node, TypeSymbol type,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false)
5535
private BoundExpression MakeBadExpressionForObjectCreation(SyntaxNode node, TypeSymbol type,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax? initializerOpt, SyntaxNode? typeSyntax, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false)
6615
AnalyzedArguments
analyzedArguments,
6711
AnalyzedArguments
analyzedArguments,
6796
AnalyzedArguments
analyzedArguments,
6867
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
6874
private BoundExpression BindInterfaceCreationExpression(SyntaxNode node, NamedTypeSymbol type, BindingDiagnosticBag diagnostics, SyntaxNode typeNode,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped)
6900
private BoundExpression BindComImportCoClassCreationExpression(SyntaxNode node, NamedTypeSymbol interfaceType, NamedTypeSymbol coClassType, BindingDiagnosticBag diagnostics, SyntaxNode typeNode,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped)
6987
AnalyzedArguments
analyzedArguments,
7025
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
7045
SyntaxNode node, TypeParameterSymbol typeParameter,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax? initializerOpt,
7094
AnalyzedArguments
analyzedArguments,
8190
private static void CombineExtensionMethodArguments(BoundExpression receiver,
AnalyzedArguments
originalArguments,
AnalyzedArguments
extensionMethodArguments)
8339
AnalyzedArguments
analyzedArguments,
8357
AnalyzedArguments
actualArguments = null;
8397
actualArguments =
AnalyzedArguments
.GetInstance();
8425
var result = new MethodGroupResolution(methodGroup, null, overloadResolutionResult,
AnalyzedArguments
.GetInstance(actualArguments), methodGroup.ResultKind, sealedDiagnostics);
8974
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
8997
private BoundExpression BindElementOrIndexerAccess(ExpressionSyntax node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, bool allowInlineArrayElementAccess, BindingDiagnosticBag diagnostics)
9089
BoundExpression bindInlineArrayElementAccess(ExpressionSyntax node, BoundExpression expr, int length,
AnalyzedArguments
analyzedArguments, BoundExpression convertedIndex, WellKnownType indexOrRangeWellknownType, FieldSymbol elementField, BindingDiagnosticBag diagnostics)
9259
private BoundExpression BadIndexerExpression(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, DiagnosticInfo errorOpt, BindingDiagnosticBag diagnostics)
9273
AnalyzedArguments
arguments,
9305
private BoundExpression BindArrayAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
9517
private BoundExpression BindPointerElementAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9562
private static bool ReportRefOrOutArgument(
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9578
private BoundExpression BindIndexerAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9671
var
arguments =
AnalyzedArguments
.GetInstance();
9678
private BoundExpression BindIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<PropertySymbol> propertyGroup,
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
9694
AnalyzedArguments
arguments,
9739
AnalyzedArguments
analyzedArguments,
9779
AnalyzedArguments
analyzedArguments,
9885
AnalyzedArguments
arguments,
10041
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
10113
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
10238
AnalyzedArguments
analyzedArguments,
10259
AnalyzedArguments
analyzedArguments,
10287
AnalyzedArguments
analyzedArguments,
10307
AnalyzedArguments
analyzedArguments,
10377
AnalyzedArguments
analyzedArguments,
10455
return new MethodGroupResolution(methodGroup, null, result,
AnalyzedArguments
.GetInstance(analyzedArguments), methodGroup.ResultKind, sealedDiagnostics);
Binder\Binder_Invocation.cs (21)
128
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
194
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
243
BoundExpression bindArgumentsAndInvocation(InvocationExpressionSyntax node, BoundExpression boundExpression,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
264
private BoundExpression BindArgListOperator(InvocationExpressionSyntax node, BindingDiagnosticBag diagnostics,
AnalyzedArguments
analyzedArguments)
325
AnalyzedArguments
analyzedArguments,
393
AnalyzedArguments
arguments,
496
private void CheckNamedArgumentsForDynamicInvocation(
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
523
private ImmutableArray<BoundExpression> BuildArgumentsForDynamicInvocation(
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
625
AnalyzedArguments
analyzedArguments,
694
AnalyzedArguments
analyzedArguments,
1103
AnalyzedArguments
analyzedArguments,
1919
AnalyzedArguments
analyzedArguments,
1966
private ImmutableArray<BoundExpression> BuildArgumentsForErrorRecovery(
AnalyzedArguments
analyzedArguments, ImmutableArray<MethodSymbol> methods)
1986
private ImmutableArray<BoundExpression> BuildArgumentsForErrorRecovery(
AnalyzedArguments
analyzedArguments, ImmutableArray<PropertySymbol> properties)
2006
private ImmutableArray<BoundExpression> BuildArgumentsForErrorRecovery(
AnalyzedArguments
analyzedArguments, IEnumerable<ImmutableArray<ParameterSymbol>> parameterListList)
2140
private static TypeSymbol GetCorrespondingParameterType(
AnalyzedArguments
analyzedArguments, int i, ImmutableArray<ParameterSymbol> parameterList)
2161
private ImmutableArray<BoundExpression> BuildArgumentsForErrorRecovery(
AnalyzedArguments
analyzedArguments)
2170
AnalyzedArguments
analyzedArguments)
2342
private BoundFunctionPointerInvocation BindFunctionPointerInvocation(SyntaxNode node, BoundExpression boundExpression,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
Binder\Binder_Patterns.cs (4)
235
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
382
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\Binder_Query.cs (2)
1042
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\Binder_QueryErrors.cs (2)
164
internal static void ReportQueryInferenceFailed(CSharpSyntaxNode queryClause, string methodName, BoundExpression receiver,
AnalyzedArguments
arguments, ImmutableArray<Symbol> symbols, BindingDiagnosticBag diagnostics)
213
private static bool ReportQueryInferenceFailedSelectMany(FromClauseSyntax fromClause, string methodName, BoundExpression receiver,
AnalyzedArguments
arguments, ImmutableArray<Symbol> symbols, BindingDiagnosticBag diagnostics)
Binder\Binder_Statements.cs (4)
1185
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
4128
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\ForEachLoopBinder.cs (4)
1421
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
1499
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\MethodGroupResolution.cs (2)
23
public readonly
AnalyzedArguments
AnalyzedArguments;
41
AnalyzedArguments
analyzedArguments,
Binder\Semantics\Conversions\Conversions.cs (5)
253
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
378
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
402
public static void GetDelegateOrFunctionPointerArguments(SyntaxNode syntax,
AnalyzedArguments
analyzedArguments, ImmutableArray<ParameterSymbol> delegateParameters, CSharpCompilation compilation)
Binder\Semantics\OverloadResolution\AnalyzedArguments.cs (10)
131
public static
AnalyzedArguments
GetInstance()
136
public static
AnalyzedArguments
GetInstance(
AnalyzedArguments
original)
138
var
instance = GetInstance();
147
public static
AnalyzedArguments
GetInstance(
152
var
instance = GetInstance();
175
public static readonly ObjectPool<
AnalyzedArguments
> Pool = CreatePool();
177
private static ObjectPool<
AnalyzedArguments
> CreatePool()
179
ObjectPool<
AnalyzedArguments
>? pool = null;
180
pool = new ObjectPool<
AnalyzedArguments
>(() => new AnalyzedArguments(), 10);
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1484
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
Binder\Semantics\OverloadResolution\OverloadResolution.cs (22)
101
public void ObjectCreationOverloadResolution(ImmutableArray<MethodSymbol> constructors,
AnalyzedArguments
arguments, OverloadResolutionResult<MethodSymbol> result, bool dynamicResolution, bool isEarlyAttributeBinding, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
140
AnalyzedArguments
arguments,
166
AnalyzedArguments
arguments,
188
AnalyzedArguments
arguments,
242
var
arguments =
AnalyzedArguments
.GetInstance();
354
AnalyzedArguments
arguments,
431
AnalyzedArguments
arguments,
557
AnalyzedArguments
analyzedArguments,
581
AnalyzedArguments
arguments,
920
AnalyzedArguments
arguments, bool completeResults, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
956
AnalyzedArguments
arguments,
999
AnalyzedArguments
arguments,
1050
AnalyzedArguments
arguments,
1725
AnalyzedArguments
arguments,
1774
private int GetTheBestCandidateIndex<TMember>(ArrayBuilder<MemberResolutionResult<TMember>> results,
AnalyzedArguments
arguments, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
1914
private void RemoveWorseMembers<TMember>(ArrayBuilder<MemberResolutionResult<TMember>> results,
AnalyzedArguments
arguments, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
4005
AnalyzedArguments
arguments,
4083
AnalyzedArguments
arguments,
4146
AnalyzedArguments
arguments,
4286
AnalyzedArguments
arguments,
4343
AnalyzedArguments
arguments,
Binder\Semantics\OverloadResolution\OverloadResolution_ArgsToParameters.cs (6)
60
AnalyzedArguments
arguments,
194
private static int? CheckForBadNonTrailingNamedArgument(
AnalyzedArguments
arguments, ParameterMap argsToParameters)
235
AnalyzedArguments
arguments,
342
AnalyzedArguments
arguments,
397
private static int? NameUsedForPositional(
AnalyzedArguments
arguments, ParameterMap argsToParameters)
485
private static int? CheckForDuplicateNamedArgument(
AnalyzedArguments
arguments)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (10)
196
AnalyzedArguments
arguments,
742
AnalyzedArguments
arguments,
792
AnalyzedArguments
arguments,
812
AnalyzedArguments
arguments,
829
private static void ReportDuplicateNamedArgument(MemberResolutionResult<TMember> result, BindingDiagnosticBag diagnostics,
AnalyzedArguments
arguments)
844
AnalyzedArguments
arguments,
925
AnalyzedArguments
arguments,
1065
private static bool HadLambdaConversionError(BindingDiagnosticBag diagnostics,
AnalyzedArguments
arguments)
1084
AnalyzedArguments
arguments,
1153
AnalyzedArguments
arguments,