41 references to ArgumentList
Microsoft.CodeAnalysis.CSharp (22)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2038=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList"));
_generated\2\Syntax.xml.Syntax.Generated.cs (4)
11658if (type != this.Type || argumentList != this.ArgumentList) 11669public new PrimaryConstructorBaseTypeSyntax WithType(TypeSyntax type) => Update(type, this.ArgumentList); 11672public PrimaryConstructorBaseTypeSyntax AddArgumentListArguments(params ArgumentSyntax[] items) => WithArgumentList(this.ArgumentList.WithArguments(this.ArgumentList.Arguments.AddRange(items)));
Binder\Binder_Expressions.cs (1)
4855/// <see cref="PrimaryConstructorBaseTypeSyntax.ArgumentList"/> for explicit.</param>
Binder\Binder_Invocation.cs (1)
1420PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType => primaryConstructorBaseType.ArgumentList.OpenParenToken,
Binder\Binder_Statements.cs (1)
3773BoundExpression initializerInvocation = GetBinder(initializer).BindConstructorInitializer(initializer.ArgumentList, (MethodSymbol)this.ContainingMember(), diagnostics);
Binder\LocalBinderFactory.cs (1)
185VisitConstructorInitializerArgumentList(node, node.ArgumentList, enclosing);
BoundTree\BoundExpression.cs (1)
25or PrimaryConstructorBaseTypeSyntax { ArgumentList: { } }
Compilation\CSharpSemanticModel.cs (2)
895var argumentList = existingConstructorInitializer.ArgumentList; 2458/// Analyze data-flow within an <see cref="PrimaryConstructorBaseTypeSyntax.ArgumentList"/>.
Compilation\SyntaxTreeSemanticModel.cs (4)
813var argumentList = typeDecl.PrimaryConstructorBaseTypeIfClass?.ArgumentList; 878(node == baseWithArguments || baseWithArguments.ArgumentList.FullSpan.Contains(span)) ? GetOrAddModel(memberDecl) : null; 2518return node == baseType.ArgumentList; 2528!(node.Kind() == SyntaxKind.ArgumentList && node == typeDeclaration.PrimaryConstructorBaseTypeIfClass?.ArgumentList);
CSharpExtensions.cs (1)
1096/// Analyze data-flow within a <see cref="PrimaryConstructorBaseTypeSyntax.ArgumentList"/> initializer.
Lowering\Instrumentation\DebugInfoInjector.cs (1)
96Debug.Assert(typeDecl.BaseList?.Types.Any(t => t is PrimaryConstructorBaseTypeSyntax { ArgumentList: not null }) != true);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4004if (syntax is { PrimaryConstructorBaseTypeIfClass: { ArgumentList: { } baseParamList } })
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
658diagnostics.Add(ErrorCode.ERR_UnexpectedArgumentList, primaryConstructorBaseType.ArgumentList.Location); 662diagnostics.Add(ErrorCode.ERR_UnexpectedArgumentListInBaseTypeWithoutParameterList, primaryConstructorBaseType.ArgumentList.Location);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
31if (syntax.PrimaryConstructorBaseTypeIfClass is not PrimaryConstructorBaseTypeSyntax { ArgumentList.Arguments.Count: not 0 })
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
307var index = primaryConstructorBaseType.ArgumentList.Arguments.IndexOf(argument);
Microsoft.CodeAnalysis.CSharp.Features (15)
ChangeSignature\CSharpChangeSignatureService.cs (2)
518primaryConstructor.ArgumentList, 636PrimaryConstructorBaseTypeSyntax primaryConstructor => primaryConstructor.ArgumentList,
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (2)
496baseType?.ArgumentList is null ? null : ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, baseType.ArgumentList),
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
1402return model.GetEnclosingSymbol(primaryCtorBase.ArgumentList.SpanStart, cancellationToken);
ExtractMethod\CSharpSelectionValidator.cs (1)
239return primaryConstructorBaseType.ArgumentList.Arguments.FullSpan.Contains(span);
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProvider.cs (8)
56return expression.ArgumentList != null; 60return expression.ArgumentList != null && 61expression.ArgumentList.Span.Contains(token.SpanStart) && 62token != expression.ArgumentList.CloseParenToken; 98var textSpan = SignatureHelpUtilities.GetSignatureHelpSpan(baseTypeSyntax.ArgumentList); 103Convert(c, baseTypeSyntax.ArgumentList.OpenParenToken, semanticModel, structuralTypeDisplayService, documentationCommentFormattingService))], 110currentSpan.Start == SignatureHelpUtilities.GetSignatureHelpSpan(expression.ArgumentList).Start) 112return SignatureHelpUtilities.GetSignatureHelpState(expression.ArgumentList, position);
Wrapping\SeparatedSyntaxList\CSharpArgumentWrapper.cs (1)
54PrimaryConstructorBaseTypeSyntax baseTypeSyntax => baseTypeSyntax.ArgumentList,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Recommendations\CSharpRecommendationServiceRunner.cs (1)
479foreach (var argument in primaryConstructorBase.ArgumentList.Arguments)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
307var index = primaryConstructorBaseType.ArgumentList.Arguments.IndexOf(argument);
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
307var index = primaryConstructorBaseType.ArgumentList.Arguments.IndexOf(argument);