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)
2992
private void BindArgumentsAndNames(BaseArgumentListSyntax argumentListOpt, BindingDiagnosticBag diagnostics,
AnalyzedArguments
result, bool allowArglist = false, bool isDelegateCreation = false)
3043
AnalyzedArguments
result,
3280
AnalyzedArguments
result,
3378
AnalyzedArguments
analyzedArguments,
3595
AnalyzedArguments
analyzedArguments,
4784
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
4911
AnalyzedArguments
analyzedArguments,
5118
var
arguments =
AnalyzedArguments
.GetInstance();
5283
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
5290
private BoundExpression BindDelegateCreationExpression(SyntaxNode node, NamedTypeSymbol type,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped, BindingDiagnosticBag diagnostics)
5462
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
5501
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
5526
var
arguments =
AnalyzedArguments
.GetInstance(node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt);
5532
private BoundExpression MakeBadExpressionForObjectCreation(ObjectCreationExpressionSyntax node, TypeSymbol type,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false)
5538
private BoundExpression MakeBadExpressionForObjectCreation(SyntaxNode node, TypeSymbol type,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax? initializerOpt, SyntaxNode? typeSyntax, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false)
6618
AnalyzedArguments
analyzedArguments,
6714
AnalyzedArguments
analyzedArguments,
6799
AnalyzedArguments
analyzedArguments,
6870
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
6877
private BoundExpression BindInterfaceCreationExpression(SyntaxNode node, NamedTypeSymbol type, BindingDiagnosticBag diagnostics, SyntaxNode typeNode,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped)
6903
private BoundExpression BindComImportCoClassCreationExpression(SyntaxNode node, NamedTypeSymbol interfaceType, NamedTypeSymbol coClassType, BindingDiagnosticBag diagnostics, SyntaxNode typeNode,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped)
6990
AnalyzedArguments
analyzedArguments,
7028
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
7048
SyntaxNode node, TypeParameterSymbol typeParameter,
AnalyzedArguments
analyzedArguments, InitializerExpressionSyntax? initializerOpt,
7097
AnalyzedArguments
analyzedArguments,
8193
private static void CombineExtensionMethodArguments(BoundExpression receiver,
AnalyzedArguments
originalArguments,
AnalyzedArguments
extensionMethodArguments)
8342
AnalyzedArguments
analyzedArguments,
8360
AnalyzedArguments
actualArguments = null;
8400
actualArguments =
AnalyzedArguments
.GetInstance();
8428
var result = new MethodGroupResolution(methodGroup, null, overloadResolutionResult,
AnalyzedArguments
.GetInstance(actualArguments), methodGroup.ResultKind, sealedDiagnostics);
8977
AnalyzedArguments
analyzedArguments =
AnalyzedArguments
.GetInstance();
9000
private BoundExpression BindElementOrIndexerAccess(ExpressionSyntax node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, bool allowInlineArrayElementAccess, BindingDiagnosticBag diagnostics)
9092
BoundExpression bindInlineArrayElementAccess(ExpressionSyntax node, BoundExpression expr, int length,
AnalyzedArguments
analyzedArguments, BoundExpression convertedIndex, WellKnownType indexOrRangeWellknownType, FieldSymbol elementField, BindingDiagnosticBag diagnostics)
9262
private BoundExpression BadIndexerExpression(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, DiagnosticInfo errorOpt, BindingDiagnosticBag diagnostics)
9276
AnalyzedArguments
arguments,
9308
private BoundExpression BindArrayAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
9520
private BoundExpression BindPointerElementAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9565
private static bool ReportRefOrOutArgument(
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9581
private BoundExpression BindIndexerAccess(SyntaxNode node, BoundExpression expr,
AnalyzedArguments
analyzedArguments, BindingDiagnosticBag diagnostics)
9674
var
arguments =
AnalyzedArguments
.GetInstance();
9681
private BoundExpression BindIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<PropertySymbol> propertyGroup,
AnalyzedArguments
arguments, BindingDiagnosticBag diagnostics)
9697
AnalyzedArguments
arguments,
9742
AnalyzedArguments
analyzedArguments,
9782
AnalyzedArguments
analyzedArguments,
9888
AnalyzedArguments
arguments,
10044
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
10116
var
analyzedArguments =
AnalyzedArguments
.GetInstance();
10241
AnalyzedArguments
analyzedArguments,
10262
AnalyzedArguments
analyzedArguments,
10290
AnalyzedArguments
analyzedArguments,
10310
AnalyzedArguments
analyzedArguments,
10380
AnalyzedArguments
analyzedArguments,
10458
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();
4131
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)
1922
private void RemoveWorseMembers<TMember>(ArrayBuilder<MemberResolutionResult<TMember>> results,
AnalyzedArguments
arguments, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
4026
AnalyzedArguments
arguments,
4104
AnalyzedArguments
arguments,
4167
AnalyzedArguments
arguments,
4307
AnalyzedArguments
arguments,
4364
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,