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