84 references to ArgumentList
Microsoft.Analyzers.Extra.Tests (1)
SyntaxNodeExtensionsTests.cs (1)
189var expression = SyntaxFactory.InvocationExpression(memberaccess, SyntaxFactory.ArgumentList());
Microsoft.AspNetCore.App.CodeFixes (2)
Authorization\AddAuthorizationBuilderFixer.cs (2)
92SyntaxFactory.ArgumentList( 101SyntaxFactory.ArgumentList(
Microsoft.CodeAnalysis.CSharp (5)
Syntax.xml.Main.Generated.cs (4)
3115=> SyntaxFactory.InvocationExpression(expression, SyntaxFactory.ArgumentList()); 3289=> SyntaxFactory.ImplicitObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), SyntaxFactory.ArgumentList(), default); 5229=> SyntaxFactory.PrimaryConstructorBaseType(type, SyntaxFactory.ArgumentList()); 5565=> SyntaxFactory.ConstructorInitializer(kind, SyntaxFactory.Token(SyntaxKind.ColonToken), SyntaxFactory.Token(GetConstructorInitializerThisOrBaseKeywordKind(kind)), argumentList ?? SyntaxFactory.ArgumentList());
Syntax.xml.Syntax.Generated.cs (1)
3699var argumentList = this.ArgumentList ?? SyntaxFactory.ArgumentList();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
192ArgumentList([.. expressions.Select(Argument)]))); 323ArgumentList([.. inheritedPositionalParams]) 563ArgumentList([.. updatedExpressions.Select(expression => Argument(expression.WithoutTrivia()))]),
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
80ArgumentList(arguments).WithTrailingTrivia(argumentListTrailingTrivia),
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
59var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\Analyzers\CSharp\CodeFixes\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationCodeFixProvider.cs (1)
74objectCreation.ArgumentList ?? ArgumentList(),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (3)
432var newArgumentList = ArgumentList().WithTrailingTrivia(newKeywordToken.TrailingTrivia); 440var newArgumentList = ArgumentList().WithTrailingTrivia(typeNode.GetTrailingTrivia()); 449var newArgumentList = ArgumentList().WithTrailingTrivia(newKeywordToken.TrailingTrivia);
Microsoft.CodeAnalysis.CSharp.Features (16)
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (2)
209ArgumentList([Argument(lambda)])); 284ArgumentList([Argument(lambda)]));
ConvertLinq\ConvertForEachToLinqQuery\ToToListConverter.cs (1)
53SyntaxFactory.ArgumentList([SyntaxFactory.Argument(queryOrLinqInvocationExpression)])));
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (3)
204ArgumentList([ 354ArgumentList([Argument(expression)]))), 357ArgumentList(),
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (2)
844var invocation = (ExpressionSyntax)InvocationExpression(methodExpression, ArgumentList([.. arguments])); 858ArgumentList([Argument(LiteralExpression(SyntaxKind.FalseLiteralExpression))]));
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
62? (objectCreationExpression.NewKeyword.WithoutTrailingTrivia(), ArgumentList().WithoutLeadingTrivia().WithTrailingTrivia(objectCreationExpression.NewKeyword.TrailingTrivia))
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
192ArgumentList([.. expressions.Select(Argument)]))); 323ArgumentList([.. inheritedPositionalParams]) 563ArgumentList([.. updatedExpressions.Select(expression => Argument(expression.WithoutTrivia()))]),
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
80ArgumentList(arguments).WithTrailingTrivia(argumentListTrailingTrivia),
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
59var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\Analyzers\CSharp\CodeFixes\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationCodeFixProvider.cs (1)
74objectCreation.ArgumentList ?? ArgumentList(),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
705var argumentList = SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList<ArgumentSyntax>(collectionExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
371baseConstructorArguments != null ? SyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, SyntaxFactory.ArgumentList([.. baseConstructorArguments.Select(AsArgument)])) : null, 3349=> SyntaxFactory.ArgumentList(CreateArguments(arguments));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);
Microsoft.Interop.ComInterfaceGenerator (5)
ComClassGenerator.cs (1)
142ArgumentList(),
ComMethodContext.cs (2)
134.WithArgumentList(ArgumentList())))); 157ArgumentList(
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
59ArgumentList(
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
56ArgumentList(
Microsoft.Interop.JavaScript.JSImportGenerator (17)
JSExportGenerator.cs (2)
424.WithArgumentList(ArgumentList(SeparatedList(arguments)))); 450.WithArgumentList(ArgumentList(SeparatedList(signatureArgs))));
JSImportGenerator.cs (1)
309.WithArgumentList(ArgumentList(SeparatedList(bindingParameters))))))));
Marshaling\FuncJSGenerator.cs (4)
69.WithArgumentList(ArgumentList(SeparatedList(arguments)))); 90.WithArgumentList(ArgumentList(SeparatedList(arguments)))); 104.WithArgumentList(ArgumentList(SeparatedList(new[]{ 120.WithArgumentList(ArgumentList(SeparatedList(new[]{
Marshaling\ImplicitArgumentGenerator.cs (1)
34ArgumentList()))
Marshaling\PrimitiveJSGenerator.cs (2)
41.WithArgumentList(ArgumentList(SingletonSeparatedList(source.WithRefOrOutKeyword(Token(SyntaxKind.OutKeyword)))))); 48.WithArgumentList(ArgumentList(SingletonSeparatedList(source))));
Marshaling\TaskJSGenerator.cs (6)
58.WithArgumentList(ArgumentList(SingletonSeparatedList(source.WithRefOrOutKeyword(Token(SyntaxKind.OutKeyword)))))); 65.WithArgumentList(ArgumentList(SingletonSeparatedList(source)))); 72.WithArgumentList(ArgumentList(SeparatedList(new[]{ 86.WithArgumentList(ArgumentList(SeparatedList(new[]{ 95.WithArgumentList(ArgumentList(SeparatedList(new[]{ 108.WithArgumentList(ArgumentList(SeparatedList(new[]{
SignatureBindingHelpers.cs (1)
26ArgumentList(SeparatedList(subTypes.Select(s => Argument(MarshalerTypeName(s))))));
Microsoft.Interop.SourceGeneration (19)
Marshalling\DelegateMarshaller.cs (1)
85ArgumentList(SingletonSeparatedList(Argument(IdentifierName(managedIdentifier))))));
Marshalling\StatefulMarshallingStrategy.cs (1)
132ImplicitObjectCreationExpression(ArgumentList(), initializer: null));
Marshalling\StatelessMarshallingStrategy.cs (14)
47ArgumentList(SingletonSeparatedList( 63ArgumentList(SingletonSeparatedList( 119ArgumentList(SingletonSeparatedList( 203ArgumentList(SeparatedList(new ArgumentSyntax[] 228ArgumentList(SeparatedList(new ArgumentSyntax[] 272ArgumentList(SingletonSeparatedList( 291ArgumentList(SingletonSeparatedList( 378ArgumentList(SeparatedList(new ArgumentSyntax[] 406ArgumentList(SeparatedList(new ArgumentSyntax[] 466ArgumentList(SeparatedList(new ArgumentSyntax[] 493ArgumentList(SeparatedList(new ArgumentSyntax[] 509ArgumentList(SingletonSeparatedList( 524ArgumentList(SeparatedList(new ArgumentSyntax[] 541ArgumentList(SingletonSeparatedList(Argument(IdentifierName(managedIdentifier)))));
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
90ArgumentList(SingletonSeparatedList(
Utils\SyntaxFactoryExtensions.cs (2)
53ArgumentList(SeparatedList<ArgumentSyntax>())); 61ArgumentList(SeparatedList(arguments)));
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);