1 override of IfStatement
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3104public override SyntaxNode IfStatement(SyntaxNode condition, IEnumerable<SyntaxNode> trueStatements, IEnumerable<SyntaxNode>? falseStatements = null)
13 references to IfStatement
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
560Generator.IfStatement(Generator.IdentifierName("x"), new SyntaxNode[] { }), 564Generator.IfStatement(Generator.IdentifierName("x"), new SyntaxNode[] { }, new SyntaxNode[] { }), 568Generator.IfStatement(Generator.IdentifierName("x"), 573Generator.IfStatement(Generator.IdentifierName("x"), 581Generator.IfStatement(Generator.IdentifierName("p"), new SyntaxNode[] { Generator.IdentifierName("q") })),
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (8)
CodeGeneration\SyntaxGeneratorTests.vb (8)
497Generator.IfStatement(Generator.IdentifierName("x"), New SyntaxNode() {}), 502Generator.IfStatement(Generator.IdentifierName("x"), Nothing), 507Generator.IfStatement(Generator.IdentifierName("x"), New SyntaxNode() {}, New SyntaxNode() {}), 513Generator.IfStatement(Generator.IdentifierName("x"), 520Generator.IfStatement(Generator.IdentifierName("x"), 530Generator.IfStatement(Generator.IdentifierName("x"), 532{Generator.IfStatement(Generator.IdentifierName("p"), {Generator.IdentifierName("q")})}), 542Generator.IfStatement(Generator.IdentifierName("p"),