209 references to ParameterListSyntax
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\FrameworkParametersCompletionProvider.cs (1)
427var parameterList = node switch
Microsoft.CodeAnalysis.CSharp (87)
Compilation\MemberSemanticModel.cs (2)
840var paramList = parameter.Parent as ParameterListSyntax;
Compilation\SyntaxTreeSemanticModel.cs (4)
2012var paramList = parameter.Parent as ParameterListSyntax; 2076var paramList = parameter.Parent as ParameterListSyntax;
Parser\LanguageParser.cs (17)
1740var paramList = CurrentToken.Kind == SyntaxKind.OpenParenToken 1885SyntaxToken name, TypeParameterListSyntax typeParameters, ParameterListSyntax? paramList, BaseListSyntax baseList, SyntaxListBuilder<TypeParameterConstraintClauseSyntax> constraints, 3292var paramList = this.ParseParenthesizedParameterList(); 3458var paramList = this.ParseParenthesizedParameterList(); 3670var paramList = this.ParseParenthesizedParameterList(); 3874var paramList = this.ParseParenthesizedParameterList(); 4487internal ParameterListSyntax ParseParenthesizedParameterList() 4489if (this.IsIncrementalAndFactoryContextMatches && CanReuseParameterList(this.CurrentNode as CSharp.Syntax.ParameterListSyntax)) 4491return (ParameterListSyntax)this.EatNode(); 4509private static bool CanReuseParameterList(CSharp.Syntax.ParameterListSyntax list) 5400var paramList = ParseParenthesizedParameterList(); 5460var parameterList = this.ParseParenthesizedParameterList(); 8378var paramList = this.ParseParenthesizedParameterList(); 10449ParameterListSyntax paramList = this.ParseParenthesizedParameterList(); 13145ParameterListSyntax parameterList = null; 13282var paramList = this.ParseLambdaParameterList(); 13314private ParameterListSyntax ParseLambdaParameterList()
Symbols\Source\SourceConstructorSymbol.cs (1)
112protected override ParameterListSyntax GetParameterList()
Symbols\Source\SourceConstructorSymbolBase.cs (2)
37ParameterListSyntax parameterList = GetParameterList(); 80protected abstract ParameterListSyntax GetParameterList();
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4185ParameterListSyntax? paramList = declaredMembersAndInitializers.DeclarationWithParameters?.ParameterList;
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
78protected override ParameterListSyntax GetParameterList()
Syntax\AnonymousMethodExpressionSyntax.cs (3)
19public AnonymousMethodExpressionSyntax Update(SyntaxToken asyncKeyword, SyntaxToken delegateKeyword, ParameterListSyntax parameterList, CSharpSyntaxNode body) 31public AnonymousMethodExpressionSyntax Update(SyntaxToken asyncKeyword, SyntaxToken delegateKeyword, ParameterListSyntax parameterList, BlockSyntax block, ExpressionSyntax expressionBody) 49public static AnonymousMethodExpressionSyntax AnonymousMethodExpression(SyntaxToken asyncKeyword, SyntaxToken delegateKeyword, ParameterListSyntax parameterList, BlockSyntax block, ExpressionSyntax expressionBody)
Syntax\ConstructorDeclarationSyntax.cs (5)
17ParameterListSyntax parameterList, 41ParameterListSyntax parameterList, 58ParameterListSyntax parameterList, 76ParameterListSyntax parameterList, 93ParameterListSyntax parameterList,
Syntax\ConversionOperatorDeclarationSyntax.cs (2)
15ParameterListSyntax parameterList, 40ParameterListSyntax parameterList,
Syntax\DestructorDeclarationSyntax.cs (5)
18ParameterListSyntax parameterList, 41ParameterListSyntax parameterList, 58ParameterListSyntax parameterList, 75ParameterListSyntax parameterList, 92ParameterListSyntax parameterList,
Syntax\InternalSyntax\TypeDeclarationSyntax.cs (5)
19ParameterListSyntax parameterList, 36ParameterListSyntax parameterList, 68ParameterListSyntax parameterList, 100ParameterListSyntax parameterList, 133ParameterListSyntax parameterList,
Syntax\LocalFunctionStatementSyntax.cs (3)
12public LocalFunctionStatementSyntax Update(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax body, ArrowExpressionClauseSyntax expressionBody, SyntaxToken semicolonToken) 24public static LocalFunctionStatementSyntax LocalFunctionStatement(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody) 30public static LocalFunctionStatementSyntax LocalFunctionStatement(SyntaxTokenList modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken semicolonToken)
Syntax\LookupPosition.cs (1)
123internal static bool IsInParameterList(int position, ParameterListSyntax parameterList)
Syntax\MethodDeclarationSyntax.cs (1)
34ParameterListSyntax parameterList,
Syntax\OperatorDeclarationSyntax.cs (2)
15ParameterListSyntax parameterList, 40ParameterListSyntax parameterList,
Syntax\ParenthesizedLambdaExpressionSyntax.cs (9)
16public ParenthesizedLambdaExpressionSyntax Update(SyntaxToken asyncKeyword, ParameterListSyntax parameterList, SyntaxToken arrowToken, CSharpSyntaxNode body) 30public ParenthesizedLambdaExpressionSyntax Update(SyntaxToken asyncKeyword, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 33public ParenthesizedLambdaExpressionSyntax Update(SyntaxTokenList modifiers, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 36public ParenthesizedLambdaExpressionSyntax Update(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 45public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxToken asyncKeyword, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 48public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(ParameterListSyntax parameterList, BlockSyntax? block, ExpressionSyntax? expressionBody) 51public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxTokenList modifiers, ParameterListSyntax parameterList, SyntaxToken arrowToken, BlockSyntax? block, ExpressionSyntax? expressionBody) 54public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxTokenList modifiers, ParameterListSyntax parameterList, BlockSyntax? block, ExpressionSyntax? expressionBody) 57public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ParameterListSyntax parameterList, BlockSyntax? block, ExpressionSyntax? expressionBody)
Syntax\RecordDeclarationSyntax.cs (3)
14TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 28TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, 36TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members)
Syntax\SyntaxExtensions.cs (2)
295ParameterListSyntax parameterList, 319ParameterListSyntax parameterList,
Syntax\SyntaxFactory.cs (17)
1815public static ParameterListSyntax ParseParameterList(string text, int offset = 0, ParseOptions? options = null, bool consumeFullText = true) 1820var node = parser.ParseParenthesizedParameterList(); 1822return (ParameterListSyntax)node.CreateRed(); 2475ParameterListSyntax parameterList, 2496ParameterListSyntax parameterList, 2519ParameterListSyntax parameterList, 2542ParameterListSyntax parameterList, 2568ParameterListSyntax parameterList, 2591ParameterListSyntax parameterList, 2615ParameterListSyntax parameterList, 2638ParameterListSyntax parameterList, 2756public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(ParameterListSyntax parameterList, CSharpSyntaxNode body) 2761public static ParenthesizedLambdaExpressionSyntax ParenthesizedLambdaExpression(SyntaxToken asyncKeyword, ParameterListSyntax parameterList, SyntaxToken arrowToken, CSharpSyntaxNode body) 2769public static AnonymousMethodExpressionSyntax AnonymousMethodExpression(ParameterListSyntax? parameterList, CSharpSyntaxNode body) 2774public static AnonymousMethodExpressionSyntax AnonymousMethodExpression(SyntaxToken asyncKeyword, SyntaxToken delegateKeyword, ParameterListSyntax parameterList, CSharpSyntaxNode body) 2872public static ClassDeclarationSyntax ClassDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members) 2899public static StructDeclarationSyntax StructDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members)
Syntax\SyntaxFacts.cs (1)
528internal static bool IsVarArg(this ParameterListSyntax parameterList)
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
33Parent: ParameterListSyntax
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (5)
121return ((DelegateDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 123return ((MethodDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 125return ((ConstructorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 129return ((OperatorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 131return ((ConversionOperatorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
720ParameterListSyntax n => (n.OpenParenToken, n.CloseParenToken),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (27)
src\Analyzers\CSharp\CodeFixes\DocumentationComments\CSharpAddDocCommentNodesCodeFixProvider.cs (3)
61var parameterList = (ParameterListSyntax?)member 63.FirstOrDefault(f => f is ParameterListSyntax);
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
184var parameterList = localFunctionWithNewParameters.ParameterList;
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (6)
155IMethodSymbol delegateMethod, ParameterListSyntax parameterList, bool makeStatic) 177INamedTypeSymbol delegateType, ParameterListSyntax parameterList, 201ParameterListSyntax parameterList, 239private static ParameterListSyntax GenerateParameterList( 269private static ParameterListSyntax TryGetOrCreateParameterList(AnonymousFunctionExpressionSyntax anonymousFunction) 284private static InvocationExpressionSyntax WithNewParameterNames(InvocationExpressionSyntax invocation, IMethodSymbol method, ParameterListSyntax newParameterList)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (7)
137var updatedParameterList = GenerateFinalParameterList(); 200ParameterListSyntax GenerateFinalParameterList() 204var updatedParameterList = UpdateReferencesToNestedMembers(constructorDeclaration.ParameterList); 215ParameterListSyntax RemoveInModifierIfMemberIsRemoved(ParameterListSyntax parameterList) 236ParameterListSyntax UpdateReferencesToNestedMembers(ParameterListSyntax parameterList)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (1)
115var parameterList = ParameterGenerator.GenerateParameterList(primaryConstructor.Parameters, isExplicit: false, info);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
21public static ParameterListSyntax GenerateParameterList(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseParameterListSyntaxExtensions.cs (2)
14ParameterListSyntax list => list.OpenParenToken, 22ParameterListSyntax list => list.CloseParenToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
393token.Parent.Parent is ParameterSyntax { Parent: ParameterListSyntax { Parent: RecordDeclarationSyntax record } })
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
1064token.Parent is ParameterListSyntax parameterList1 && 1078token.Parent is ParameterListSyntax parameterList2 && 1099parameter3.Parent is ParameterListSyntax parameterList3 && 1118if (parameter4 is { Parent: ParameterListSyntax parameterList4 } && 1127static bool IsSuitableParameterList(ParameterListSyntax parameterList, bool includeOperators)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
Semantics\PrimaryConstructorTests.cs (4)
3991var parameterList = (ParameterListSyntax)context.Node; 5401var parameterList = (ParameterListSyntax)context.Node;
Semantics\RecordTests.cs (2)
26427var parameterList = (ParameterListSyntax)context.Node;
Microsoft.CodeAnalysis.CSharp.Features (30)
ChangeSignature\CSharpChangeSignatureService.cs (2)
229var parameterList = matchingNode.ChildNodes().LastOrDefault(n => n is ParameterListSyntax); 380var emptyParameterList = ParameterList()
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
129if (token.Parent is not null and ParameterListSyntax)
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorCodeRefactoringProvider.cs (2)
68ParameterListSyntax parameterList, 388var rewrittenParameterList = AddElementIndentation(typeDeclaration, constructor, constructor.ParameterList, static list => list.Parameters);
Debugging\BreakpointResolver.cs (1)
52var parameterList = SyntaxFactory.ParseParameterList(text, lengthOfParsedText, consumeFullText: false);
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
74/// <see cref="ParameterListSyntax"/> for primary constructors. 399ParameterListSyntax parameters => parameters.Parent!, 431ParameterListSyntax parameterList => parameterList,
EditAndContinue\DeclarationBody\PrimaryConstructorWithImplicitInitializerDeclarationBody.cs (1)
20public ParameterListSyntax ParameterList
EditAndContinue\SyntaxUtilities.cs (1)
59ParameterListSyntax { Parent: TypeDeclarationSyntax typeDeclaration }
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (1)
51if (selectedParameter.Parent is not ParameterListSyntax { Parent: TypeDeclarationSyntax(kind: SyntaxKind.ClassDeclaration or SyntaxKind.StructDeclaration) typeDeclaration })
src\Analyzers\CSharp\Analyzers\NamingStyle\CSharpNamingStyleDiagnosticAnalyzer.cs (1)
33Parent: ParameterListSyntax
src\Analyzers\CSharp\CodeFixes\DocumentationComments\CSharpAddDocCommentNodesCodeFixProvider.cs (3)
61var parameterList = (ParameterListSyntax?)member 63.FirstOrDefault(f => f is ParameterListSyntax);
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
184var parameterList = localFunctionWithNewParameters.ParameterList;
src\Analyzers\CSharp\CodeFixes\UseLocalFunction\CSharpUseLocalFunctionCodeFixProvider.cs (6)
155IMethodSymbol delegateMethod, ParameterListSyntax parameterList, bool makeStatic) 177INamedTypeSymbol delegateType, ParameterListSyntax parameterList, 201ParameterListSyntax parameterList, 239private static ParameterListSyntax GenerateParameterList( 269private static ParameterListSyntax TryGetOrCreateParameterList(AnonymousFunctionExpressionSyntax anonymousFunction) 284private static InvocationExpressionSyntax WithNewParameterNames(InvocationExpressionSyntax invocation, IMethodSymbol method, ParameterListSyntax newParameterList)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (7)
137var updatedParameterList = GenerateFinalParameterList(); 200ParameterListSyntax GenerateFinalParameterList() 204var updatedParameterList = UpdateReferencesToNestedMembers(constructorDeclaration.ParameterList); 215ParameterListSyntax RemoveInModifierIfMemberIsRemoved(ParameterListSyntax parameterList) 236ParameterListSyntax UpdateReferencesToNestedMembers(ParameterListSyntax parameterList)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (2)
6100var parameterList = (ParameterListSyntax)context.Node;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Generated\Syntax.Test.xml.Generated.cs (10)
10392=> SyntaxFactory.AnonymousMethodExpression(new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.DelegateKeyword), default(ParameterListSyntax), GenerateBlock(), default(ExpressionSyntax)); 10719=> SyntaxFactory.ClassDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.ClassKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10722=> SyntaxFactory.StructDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.StructKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10725=> SyntaxFactory.InterfaceDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10728=> SyntaxFactory.RecordDeclaration(SyntaxKind.RecordDeclaration, new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Identifier("Keyword"), default(SyntaxToken), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 10814private static ParameterListSyntax GenerateParameterList() 13458var node = GenerateParameterList(); 13463var newNode = node.WithOpenParenToken(node.OpenParenToken).WithParameters(node.Parameters).WithCloseParenToken(node.CloseParenToken); 19169var oldNode = GenerateParameterList(); 19185var oldNode = GenerateParameterList();
Syntax\SyntaxNodeTests.cs (1)
3416var paramList = delegateDecl.ParameterList;
Microsoft.CodeAnalysis.CSharp.Workspaces (24)
CodeGeneration\CSharpSyntaxGenerator.cs (6)
276var parameterList = AsParameterList(parameters); 349private static ParameterListSyntax AsParameterList(IEnumerable<SyntaxNode>? parameters) 2156var newParameters = AsParameterList(parameters); 2245return ((LocalFunctionStatementSyntax)declaration).WithParameterList((ParameterListSyntax)list); 2247return ((ParenthesizedLambdaExpressionSyntax)declaration).WithParameterList((ParameterListSyntax)list); 2266return ((TypeDeclarationSyntax)declaration).WithParameterList((ParameterListSyntax)list);
Simplification\CSharpSimplificationService.Expander.cs (2)
172var parameterList = parenthesizedLambda.ParameterList; 194var newParameterList = parameterList.WithParameters(newParameters);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (5)
121return ((DelegateDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 123return ((MethodDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 125return ((ConstructorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 129return ((OperatorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList); 131return ((ConversionOperatorDeclarationSyntax)member).WithParameterList((ParameterListSyntax)parameterList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (1)
720ParameterListSyntax n => (n.OpenParenToken, n.CloseParenToken),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\NamedTypeGenerator.cs (1)
115var parameterList = ParameterGenerator.GenerateParameterList(primaryConstructor.Parameters, isExplicit: false, info);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ParameterGenerator.cs (1)
21public static ParameterListSyntax GenerateParameterList(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\BaseParameterListSyntaxExtensions.cs (2)
14ParameterListSyntax list => list.OpenParenToken, 22ParameterListSyntax list => list.CloseParenToken,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
393token.Parent.Parent is ParameterSyntax { Parent: ParameterListSyntax { Parent: RecordDeclarationSyntax record } })
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (5)
1064token.Parent is ParameterListSyntax parameterList1 && 1078token.Parent is ParameterListSyntax parameterList2 && 1099parameter3.Parent is ParameterListSyntax parameterList3 && 1118if (parameter4 is { Parent: ParameterListSyntax parameterList4 } && 1127static bool IsSuitableParameterList(ParameterListSyntax parameterList, bool includeOperators)
Microsoft.Interop.ComInterfaceGenerator (2)
UnmanagedToManagedStubGenerator.cs (1)
108public (ParameterListSyntax ParameterList, TypeSyntax ReturnType, AttributeListSyntax? ReturnTypeAttributes) GenerateAbiMethodSignatureData()
VirtualMethodPointerStubGenerator.cs (1)
149(ParameterListSyntax unmanagedParameterList, TypeSyntax returnType, _) = stubGenerator.GenerateAbiMethodSignatureData();
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportCodeGenerator.cs (1)
231public (ParameterListSyntax ParameterList, TypeSyntax ReturnType, AttributeListSyntax? ReturnTypeAttributes) GenerateTargetMethodSignatureData()
JSImportCodeGenerator.cs (1)
207public (ParameterListSyntax ParameterList, TypeSyntax ReturnType, AttributeListSyntax? ReturnTypeAttributes) GenerateTargetMethodSignatureData()
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
441(ParameterListSyntax parameterList, TypeSyntax returnType, AttributeListSyntax returnTypeAttributes) = stubGenerator.GenerateTargetMethodSignatureData();
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
317(ParameterListSyntax parameterList, TypeSyntax returnType, AttributeListSyntax returnTypeAttributes) = stubGenerator.GenerateTargetMethodSignatureData();
Microsoft.Interop.SourceGeneration (2)
BoundGenerators.cs (1)
174public (ParameterListSyntax ParameterList, TypeSyntax ReturnType, AttributeListSyntax? ReturnTypeAttributes) GenerateTargetMethodSignatureData(StubIdentifierContext context)
ManagedToNativeStubGenerator.cs (1)
196public (ParameterListSyntax ParameterList, TypeSyntax ReturnType, AttributeListSyntax? ReturnTypeAttributes) GenerateTargetMethodSignatureData()
Microsoft.ML.InternalCodeAnalyzer (1)
ContractsCheckNameofFixProvider.cs (1)
114var paramList = (temp as MethodDeclarationSyntax)?.ParameterList
Microsoft.VisualStudio.LanguageServices.CSharp (5)
CodeModel\CSharpCodeModelService.cs (5)
1930var parameterList = (ParameterListSyntax)parameter.Parent!; 2827var parameterList = node.FirstAncestorOrSelf<ParameterListSyntax>(); 2829var newParameterList = parameterList.RemoveNode(node, SyntaxRemoveOptions.KeepNoTrivia);