50 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.Build.TaskAuthoring.Analyzer (5)
MultiThreadableTaskCodeFixProvider.cs (1)
368SyntaxFactory.ArgumentList(
PreferTypedParameterCodeFixProvider.cs (4)
303.WithArgumentList(SyntaxFactory.ArgumentList( 313.WithArgumentList(SyntaxFactory.ArgumentList( 436.WithArgumentList(SyntaxFactory.ArgumentList( 444.WithArgumentList(SyntaxFactory.ArgumentList(
Microsoft.CodeAnalysis.CSharp (6)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Main.Generated.cs (5)
3162=> SyntaxFactory.InvocationExpression(expression, SyntaxFactory.ArgumentList()); 3336=> SyntaxFactory.ImplicitObjectCreationExpression(SyntaxFactory.Token(SyntaxKind.NewKeyword), SyntaxFactory.ArgumentList(), default); 3496=> SyntaxFactory.WithElement(SyntaxFactory.Token(SyntaxKind.WithKeyword), argumentList ?? SyntaxFactory.ArgumentList()); 5318=> SyntaxFactory.PrimaryConstructorBaseType(type, SyntaxFactory.ArgumentList()); 5654=> SyntaxFactory.ConstructorInitializer(kind, SyntaxFactory.Token(SyntaxKind.ColonToken), SyntaxFactory.Token(GetConstructorInitializerThisOrBaseKeywordKind(kind)), argumentList ?? SyntaxFactory.ArgumentList());
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Syntax.Generated.cs (1)
3754var argumentList = this.ArgumentList ?? SyntaxFactory.ArgumentList();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
192ArgumentList([.. expressions.Select(Argument)]))); 323ArgumentList([.. inheritedPositionalParams]) 563ArgumentList([.. updatedExpressions.Select(expression => Argument(expression.WithoutTrivia()))]),
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
80ArgumentList(arguments).WithTrailingTrivia(argumentListTrailingTrivia),
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
59var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationCodeFixProvider.cs (1)
73objectCreation.ArgumentList ?? ArgumentList(),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);
Microsoft.CodeAnalysis.CSharp.Features (16)
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (2)
208ArgumentList([Argument(lambda)])); 283ArgumentList([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\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (3)
192ArgumentList([.. expressions.Select(Argument)]))); 323ArgumentList([.. inheritedPositionalParams]) 563ArgumentList([.. updatedExpressions.Select(expression => Argument(expression.WithoutTrivia()))]),
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
58var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
80ArgumentList(arguments).WithTrailingTrivia(argumentListTrailingTrivia),
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
59var dummyObjectCreation = ImplicitObjectCreationExpression(ArgumentList(arguments), initializer: null)
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseImplicitObjectCreation\CSharpUseImplicitObjectCreationCodeFixProvider.cs (1)
73objectCreation.ArgumentList ?? ArgumentList(),
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Performance\CSharpCollapseMultiplePathOperations.Fixer.cs (1)
72var newArgumentList = SyntaxFactory.ArgumentList(
Microsoft.NetCore.Analyzers\Performance\CSharpPreferHashDataOverComputeHash.Fixer.cs (3)
58var args = SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(arg)); 85var spanArgs = SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList(list)); 97var args = SyntaxFactory.ArgumentList(SyntaxFactory.SingletonSeparatedList(arg));
Microsoft.NetCore.Analyzers\Performance\CSharpUseStringMethodCharOverloadWithSingleCharacters.Fixer.cs (1)
65=> SyntaxFactory.ArgumentList(SyntaxFactory.SeparatedList(arguments.Cast<ArgumentSyntax>()));
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
371baseConstructorArguments != null ? SyntaxFactory.ConstructorInitializer(SyntaxKind.BaseConstructorInitializer, SyntaxFactory.ArgumentList([.. baseConstructorArguments.Select(AsArgument)])) : null, 3347=> SyntaxFactory.ArgumentList(CreateArguments(arguments));
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ArgumentGenerator.cs (1)
24=> SyntaxFactory.ArgumentList([.. arguments.Select(GenerateArgument)]);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ConstructorGenerator.cs (1)
105=> ArgumentList([.. arguments.Select(ArgumentGenerator.GenerateArgument)]);