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)
2992private void BindArgumentsAndNames(BaseArgumentListSyntax argumentListOpt, BindingDiagnosticBag diagnostics, AnalyzedArguments result, bool allowArglist = false, bool isDelegateCreation = false) 3043AnalyzedArguments result, 3280AnalyzedArguments result, 3378AnalyzedArguments analyzedArguments, 3595AnalyzedArguments analyzedArguments, 4784AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 4911AnalyzedArguments analyzedArguments, 5118var arguments = AnalyzedArguments.GetInstance(); 5283AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 5290private BoundExpression BindDelegateCreationExpression(SyntaxNode node, NamedTypeSymbol type, AnalyzedArguments analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped, BindingDiagnosticBag diagnostics) 5462AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 5501var analyzedArguments = AnalyzedArguments.GetInstance(); 5526var arguments = AnalyzedArguments.GetInstance(node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt); 5532private BoundExpression MakeBadExpressionForObjectCreation(ObjectCreationExpressionSyntax node, TypeSymbol type, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false) 5538private BoundExpression MakeBadExpressionForObjectCreation(SyntaxNode node, TypeSymbol type, AnalyzedArguments analyzedArguments, InitializerExpressionSyntax? initializerOpt, SyntaxNode? typeSyntax, BindingDiagnosticBag diagnostics, bool wasCompilerGenerated = false) 6618AnalyzedArguments analyzedArguments, 6714AnalyzedArguments analyzedArguments, 6799AnalyzedArguments analyzedArguments, 6870AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 6877private BoundExpression BindInterfaceCreationExpression(SyntaxNode node, NamedTypeSymbol type, BindingDiagnosticBag diagnostics, SyntaxNode typeNode, AnalyzedArguments analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped) 6903private BoundExpression BindComImportCoClassCreationExpression(SyntaxNode node, NamedTypeSymbol interfaceType, NamedTypeSymbol coClassType, BindingDiagnosticBag diagnostics, SyntaxNode typeNode, AnalyzedArguments analyzedArguments, InitializerExpressionSyntax initializerOpt, bool wasTargetTyped) 6990AnalyzedArguments analyzedArguments, 7028AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 7048SyntaxNode node, TypeParameterSymbol typeParameter, AnalyzedArguments analyzedArguments, InitializerExpressionSyntax? initializerOpt, 7097AnalyzedArguments analyzedArguments, 8191private static void CombineExtensionMethodArguments(BoundExpression receiver, AnalyzedArguments originalArguments, AnalyzedArguments extensionMethodArguments) 8340AnalyzedArguments analyzedArguments, 8358AnalyzedArguments actualArguments = null; 8398actualArguments = AnalyzedArguments.GetInstance(); 8426var result = new MethodGroupResolution(methodGroup, null, overloadResolutionResult, AnalyzedArguments.GetInstance(actualArguments), methodGroup.ResultKind, sealedDiagnostics); 8975AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 8998private BoundExpression BindElementOrIndexerAccess(ExpressionSyntax node, BoundExpression expr, AnalyzedArguments analyzedArguments, bool allowInlineArrayElementAccess, BindingDiagnosticBag diagnostics) 9090BoundExpression bindInlineArrayElementAccess(ExpressionSyntax node, BoundExpression expr, int length, AnalyzedArguments analyzedArguments, BoundExpression convertedIndex, WellKnownType indexOrRangeWellknownType, FieldSymbol elementField, BindingDiagnosticBag diagnostics) 9260private BoundExpression BadIndexerExpression(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, DiagnosticInfo errorOpt, BindingDiagnosticBag diagnostics) 9274AnalyzedArguments arguments, 9306private BoundExpression BindArrayAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments arguments, BindingDiagnosticBag diagnostics) 9518private BoundExpression BindPointerElementAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9563private static bool ReportRefOrOutArgument(AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9579private BoundExpression BindIndexerAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9672var arguments = AnalyzedArguments.GetInstance(); 9679private BoundExpression BindIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<PropertySymbol> propertyGroup, AnalyzedArguments arguments, BindingDiagnosticBag diagnostics) 9695AnalyzedArguments arguments, 9740AnalyzedArguments analyzedArguments, 9780AnalyzedArguments analyzedArguments, 9886AnalyzedArguments arguments, 10042var analyzedArguments = AnalyzedArguments.GetInstance(); 10114var analyzedArguments = AnalyzedArguments.GetInstance(); 10239AnalyzedArguments analyzedArguments, 10260AnalyzedArguments analyzedArguments, 10288AnalyzedArguments analyzedArguments, 10308AnalyzedArguments analyzedArguments, 10378AnalyzedArguments analyzedArguments, 10456return 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) 1922private void RemoveWorseMembers<TMember>(ArrayBuilder<MemberResolutionResult<TMember>> results, AnalyzedArguments arguments, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 4026AnalyzedArguments arguments, 4104AnalyzedArguments arguments, 4167AnalyzedArguments arguments, 4307AnalyzedArguments arguments, 4364AnalyzedArguments 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,