292 references to ArgumentList
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.App.CodeFixes (9)
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
Microsoft.CodeAnalysis.CSharp (17)
Microsoft.CodeAnalysis.CSharp.Analyzers (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle (25)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (31)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (80)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (15)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (50)
Parsing\ExpressionParsingTests.cs (36)
956Assert.NotEqual(default, cs.ArgumentList.OpenParenToken);
957Assert.NotEqual(default, cs.ArgumentList.CloseParenToken);
958Assert.False(cs.ArgumentList.OpenParenToken.IsMissing);
959Assert.False(cs.ArgumentList.CloseParenToken.IsMissing);
961Assert.Equal(1, cs.ArgumentList.Arguments.Count);
963Assert.Equal("b", cs.ArgumentList.Arguments[0].ToString());
977Assert.NotEqual(default, cs.ArgumentList.OpenParenToken);
978Assert.NotEqual(default, cs.ArgumentList.CloseParenToken);
979Assert.False(cs.ArgumentList.OpenParenToken.IsMissing);
980Assert.False(cs.ArgumentList.CloseParenToken.IsMissing);
982Assert.Equal(1, cs.ArgumentList.Arguments.Count);
984Assert.Equal("ref b", cs.ArgumentList.Arguments[0].ToString());
985Assert.NotEqual(default, cs.ArgumentList.Arguments[0].RefOrOutKeyword);
986Assert.Equal(SyntaxKind.RefKeyword, cs.ArgumentList.Arguments[0].RefOrOutKeyword.Kind());
987Assert.NotNull(cs.ArgumentList.Arguments[0].Expression);
988Assert.Equal("b", cs.ArgumentList.Arguments[0].Expression.ToString());
1002Assert.NotEqual(default, cs.ArgumentList.OpenParenToken);
1003Assert.NotEqual(default, cs.ArgumentList.CloseParenToken);
1004Assert.False(cs.ArgumentList.OpenParenToken.IsMissing);
1005Assert.False(cs.ArgumentList.CloseParenToken.IsMissing);
1007Assert.Equal(1, cs.ArgumentList.Arguments.Count);
1009Assert.Equal("out b", cs.ArgumentList.Arguments[0].ToString());
1010Assert.NotEqual(default, cs.ArgumentList.Arguments[0].RefOrOutKeyword);
1011Assert.Equal(SyntaxKind.OutKeyword, cs.ArgumentList.Arguments[0].RefOrOutKeyword.Kind());
1012Assert.NotNull(cs.ArgumentList.Arguments[0].Expression);
1013Assert.Equal("b", cs.ArgumentList.Arguments[0].Expression.ToString());
1027Assert.NotEqual(default, cs.ArgumentList.OpenParenToken);
1028Assert.NotEqual(default, cs.ArgumentList.CloseParenToken);
1029Assert.False(cs.ArgumentList.OpenParenToken.IsMissing);
1030Assert.False(cs.ArgumentList.CloseParenToken.IsMissing);
1032Assert.Equal(1, cs.ArgumentList.Arguments.Count);
1034Assert.Equal("B: b", cs.ArgumentList.Arguments[0].ToString());
1035Assert.NotNull(cs.ArgumentList.Arguments[0].NameColon);
1036Assert.Equal("B", cs.ArgumentList.Arguments[0].NameColon.Name.ToString());
1037Assert.NotEqual(default, cs.ArgumentList.Arguments[0].NameColon.ColonToken);
1038Assert.Equal("b", cs.ArgumentList.Arguments[0].Expression.ToString());
Syntax\SyntaxNodeTests.cs (8)
2130var newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { argC, argD });
2134newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments[1], new SyntaxNode[] { argC, argD });
2138newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { });
2142newNode = invocation.ReplaceNode(invocation.ArgumentList.Arguments[1], new SyntaxNode[] { });
2170var newNode = invocation.InsertNodesBefore(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { argC, argD });
2174newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments[0], new SyntaxNode[] { argC, argD });
2178newNode = invocation.InsertNodesBefore(invocation.ArgumentList.Arguments[1], new SyntaxNode[] { argC, argD });
2182newNode = invocation.InsertNodesAfter(invocation.ArgumentList.Arguments[1], new SyntaxNode[] { argC, argD });
Microsoft.CodeAnalysis.CSharp.Workspaces (12)
Microsoft.CodeAnalysis.Workspaces.UnitTests (4)
Microsoft.DotNet.CodeAnalysis (2)
Microsoft.Maui.Controls.BindingSourceGen (9)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Roslyn.Diagnostics.CSharp.Analyzers (8)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.PrivateSourceGenerators (2)