Base:
property
ArgumentList
Microsoft.CodeAnalysis.CSharp.Syntax.BaseObjectCreationExpressionSyntax.ArgumentList
31 references to ArgumentList
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
5181BindArgumentsAndNames(node.ArgumentList, diagnostics, arguments, allowArglist: true);
Syntax.xml.Main.Generated.cs (1)
1684=> node.Update(VisitToken(node.NewKeyword), (ArgumentListSyntax?)Visit(node.ArgumentList) ?? throw new ArgumentNullException("argumentList"), (InitializerExpressionSyntax?)Visit(node.Initializer));
Syntax.xml.Syntax.Generated.cs (5)
3604if (newKeyword != this.NewKeyword || argumentList != this.ArgumentList || initializer != this.Initializer) 3615public new ImplicitObjectCreationExpressionSyntax WithNewKeyword(SyntaxToken newKeyword) => Update(newKeyword, this.ArgumentList, this.Initializer); 3619public new ImplicitObjectCreationExpressionSyntax WithInitializer(InitializerExpressionSyntax? initializer) => Update(this.NewKeyword, this.ArgumentList, initializer); 3622public new ImplicitObjectCreationExpressionSyntax AddArgumentListArguments(params ArgumentSyntax[] items) => WithArgumentList(this.ArgumentList.WithArguments(this.ArgumentList.Arguments.AddRange(items)));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1648argumentList = implicitObjectCreationExpression.ArgumentList;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\CSharpGenerateConstructorService.cs (3)
154if (implicitObjectCreation.ArgumentList != null && 155!implicitObjectCreation.ArgumentList.CloseParenToken.IsMissing) 161arguments = GetArguments(implicitObjectCreation.ArgumentList.Arguments);
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (2)
64argumentList: implicitObjectCreation.ArgumentList, 133argumentList: implicitObjectCreation.ArgumentList,
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
65var expressions = dummyObjectCreation.ArgumentList.Arguments.Select(a => a.Expression);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (2)
89var preMatches = CreateMatches(dummyObjectCreation.ArgumentList.Arguments, analysisResult.PreMatches, index: 0); 90var postMatches = CreateMatches(dummyObjectCreation.ArgumentList.Arguments, analysisResult.PostMatches, index: preMatches.Length);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
66var expressions = dummyObjectCreation.ArgumentList.Arguments.Select(a => a.Expression);
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
460return SyntaxFactory.ObjectCreationExpression(implicitCreation.NewKeyword, type, implicitCreation.ArgumentList, implicitCreation.Initializer);
src\Analyzers\CSharp\CodeFixes\GenerateConstructor\CSharpGenerateConstructorService.cs (3)
154if (implicitObjectCreation.ArgumentList != null && 155!implicitObjectCreation.ArgumentList.CloseParenToken.IsMissing) 161arguments = GetArguments(implicitObjectCreation.ArgumentList.Arguments);
src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (2)
64argumentList: implicitObjectCreation.ArgumentList, 133argumentList: implicitObjectCreation.ArgumentList,
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
65var expressions = dummyObjectCreation.ArgumentList.Arguments.Select(a => a.Expression);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (2)
89var preMatches = CreateMatches(dummyObjectCreation.ArgumentList.Arguments, analysisResult.PreMatches, index: 0); 90var postMatches = CreateMatches(dummyObjectCreation.ArgumentList.Arguments, analysisResult.PostMatches, index: preMatches.Length);
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
66var expressions = dummyObjectCreation.ArgumentList.Arguments.Select(a => a.Expression);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.cs (2)
11805Assert.NotNull(node.ArgumentList); 11807var newNode = node.WithNewKeyword(node.NewKeyword).WithArgumentList(node.ArgumentList).WithInitializer(node.Initializer);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1648argumentList = implicitObjectCreationExpression.ArgumentList;
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
1648argumentList = implicitObjectCreationExpression.ArgumentList;