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, 8193private static void CombineExtensionMethodArguments(BoundExpression receiver, AnalyzedArguments originalArguments, AnalyzedArguments extensionMethodArguments) 8342AnalyzedArguments analyzedArguments, 8360AnalyzedArguments actualArguments = null; 8400actualArguments = AnalyzedArguments.GetInstance(); 8428var result = new MethodGroupResolution(methodGroup, null, overloadResolutionResult, AnalyzedArguments.GetInstance(actualArguments), methodGroup.ResultKind, sealedDiagnostics); 8977AnalyzedArguments analyzedArguments = AnalyzedArguments.GetInstance(); 9000private BoundExpression BindElementOrIndexerAccess(ExpressionSyntax node, BoundExpression expr, AnalyzedArguments analyzedArguments, bool allowInlineArrayElementAccess, BindingDiagnosticBag diagnostics) 9092BoundExpression bindInlineArrayElementAccess(ExpressionSyntax node, BoundExpression expr, int length, AnalyzedArguments analyzedArguments, BoundExpression convertedIndex, WellKnownType indexOrRangeWellknownType, FieldSymbol elementField, BindingDiagnosticBag diagnostics) 9262private BoundExpression BadIndexerExpression(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, DiagnosticInfo errorOpt, BindingDiagnosticBag diagnostics) 9276AnalyzedArguments arguments, 9308private BoundExpression BindArrayAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments arguments, BindingDiagnosticBag diagnostics) 9520private BoundExpression BindPointerElementAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9565private static bool ReportRefOrOutArgument(AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9581private BoundExpression BindIndexerAccess(SyntaxNode node, BoundExpression expr, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics) 9674var arguments = AnalyzedArguments.GetInstance(); 9681private BoundExpression BindIndexedPropertyAccess(SyntaxNode syntax, BoundExpression receiver, ImmutableArray<PropertySymbol> propertyGroup, AnalyzedArguments arguments, BindingDiagnosticBag diagnostics) 9697AnalyzedArguments arguments, 9742AnalyzedArguments analyzedArguments, 9782AnalyzedArguments analyzedArguments, 9888AnalyzedArguments arguments, 10044var analyzedArguments = AnalyzedArguments.GetInstance(); 10116var analyzedArguments = AnalyzedArguments.GetInstance(); 10241AnalyzedArguments analyzedArguments, 10262AnalyzedArguments analyzedArguments, 10290AnalyzedArguments analyzedArguments, 10310AnalyzedArguments analyzedArguments, 10380AnalyzedArguments analyzedArguments, 10458return 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(); 4131var 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,