73 references to ArgumentList
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Statements.cs (2)
1185if (declarator.ArgumentList != null) 1188BindArgumentsAndNames(declarator.ArgumentList, diagnostics, analyzedArguments);
Binder\ExpressionVariableFinder.cs (2)
86if (node.ArgumentList != null) 88foreach (ArgumentSyntax arg in node.ArgumentList.Arguments)
Binder\LocalBinderFactory.cs (1)
947Visit(node.ArgumentList);
Symbols\Source\SourceFixedFieldSymbol.cs (4)
65if (declarator.ArgumentList == null) 71SeparatedSyntaxList<ArgumentSyntax> arguments = declarator.ArgumentList.Arguments; 75Debug.Assert(declarator.ArgumentList.ContainsDiagnostics, "The parser should have caught this."); 81diagnostics.Add(ErrorCode.ERR_FixedBufferTooManyDimensions, declarator.ArgumentList.Location);
Syntax.xml.Main.Generated.cs (1)
1843=> node.Update(VisitToken(node.Identifier), (BracketedArgumentListSyntax?)Visit(node.ArgumentList), (EqualsValueClauseSyntax?)Visit(node.Initializer));
Syntax.xml.Syntax.Generated.cs (4)
6642if (identifier != this.Identifier || argumentList != this.ArgumentList || initializer != this.Initializer) 6652public VariableDeclaratorSyntax WithIdentifier(SyntaxToken identifier) => Update(identifier, this.ArgumentList, this.Initializer); 6654public VariableDeclaratorSyntax WithInitializer(EqualsValueClauseSyntax? initializer) => Update(this.Identifier, this.ArgumentList, initializer); 6658var argumentList = this.ArgumentList ?? SyntaxFactory.BracketedArgumentList();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\OutVarTests.cs (2)
20954Assert.True(decl.Ancestors().OfType<VariableDeclaratorSyntax>().First().ArgumentList.Contains(decl)); 32757(declarator.ArgumentList?.Contains(decl)).GetValueOrDefault();
Semantics\PatternMatchingTestBase.cs (2)
292(declarator.ArgumentList?.Contains(designation)).GetValueOrDefault(); 349Assert.True(decl.Ancestors().OfType<VariableDeclaratorSyntax>().First().ArgumentList.Contains(decl));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (55)
Generated\Syntax.Test.xml.Generated.cs (2)
12441Assert.Null(node.ArgumentList); 12443var newNode = node.WithIdentifier(node.Identifier).WithArgumentList(node.ArgumentList).WithInitializer(node.Initializer);
Parsing\DeclarationParsingTests.cs (18)
3631Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3691Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3732Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3787Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3842Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3886Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3930Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3977Assert.Null(fs.Declaration.Variables[0].ArgumentList); 3982Assert.Null(fs.Declaration.Variables[1].ArgumentList); 3987Assert.Null(fs.Declaration.Variables[2].ArgumentList); 4031Assert.Null(fs.Declaration.Variables[0].ArgumentList); 4039Assert.Null(fs.Declaration.Variables[1].ArgumentList); 4047Assert.Null(fs.Declaration.Variables[2].ArgumentList); 4093Assert.NotNull(fs.Declaration.Variables[0].ArgumentList); 4094Assert.NotEqual(default, fs.Declaration.Variables[0].ArgumentList.OpenBracketToken); 4095Assert.NotEqual(default, fs.Declaration.Variables[0].ArgumentList.CloseBracketToken); 4096Assert.Equal(1, fs.Declaration.Variables[0].ArgumentList.Arguments.Count); 4097Assert.Equal("10", fs.Declaration.Variables[0].ArgumentList.Arguments[0].ToString());
Parsing\StatementParsingTests.cs (35)
200Assert.Null(ds.Declaration.Variables[0].ArgumentList); 230Assert.Null(ds.Declaration.Variables[0].ArgumentList); 264Assert.Null(ds.Declaration.Variables[0].ArgumentList); 305Assert.Null(ds.Declaration.Variables[0].ArgumentList); 335Assert.Null(ds.Declaration.Variables[0].ArgumentList); 361Assert.Null(ds.Declaration.Variables[0].ArgumentList); 387Assert.Null(ds.Declaration.Variables[0].ArgumentList); 413Assert.Null(ds.Declaration.Variables[0].ArgumentList); 439Assert.Null(ds.Declaration.Variables[0].ArgumentList); 465Assert.Null(ds.Declaration.Variables[0].ArgumentList); 491Assert.Null(ds.Declaration.Variables[0].ArgumentList); 517Assert.Null(ds.Declaration.Variables[0].ArgumentList); 522Assert.Null(ds.Declaration.Variables[1].ArgumentList); 552Assert.Null(ds.Declaration.Variables[0].ArgumentList); 582Assert.Null(ds.Declaration.Variables[0].ArgumentList); 590Assert.Null(ds.Declaration.Variables[1].ArgumentList); 598Assert.Null(ds.Declaration.Variables[2].ArgumentList); 627Assert.Null(ds.Declaration.Variables[0].ArgumentList); 659Assert.Null(ds.Declaration.Variables[0].ArgumentList); 691Assert.Null(ds.Declaration.Variables[0].ArgumentList); 723Assert.Null(ds.Declaration.Variables[0].ArgumentList); 755Assert.Null(ds.Declaration.Variables[0].ArgumentList); 785Assert.Null(ds.Declaration.Variables[0].ArgumentList); 811Assert.Null(ds.Declaration.Variables[0].ArgumentList); 842Assert.Null(ds.Declaration.Variables[0].ArgumentList); 852Assert.Null(ds.Declaration.Variables[1].ArgumentList); 2377Assert.Null(us.Declaration.Variables[0].ArgumentList); 2410Assert.Null(us.Declaration.Variables[0].ArgumentList); 2472Assert.Null(us.Declaration.Variables[0].ArgumentList); 2507Assert.Null(us.Declaration.Variables[0].ArgumentList); 2641Assert.Null(us.Declaration.Variables[0].ArgumentList); 2812Assert.Null(us.Declaration.Variables[0].ArgumentList); 2820Assert.Null(us.Declaration.Variables[1].ArgumentList); 2855Assert.Null(us.Declaration.Variables[0].ArgumentList); 2863Assert.Null(us.Declaration.Variables[1].ArgumentList);