9 references to VoidReturningLambdaExpression
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
3548
Assert.Equal(2, Generator.GetStatements(Generator.
VoidReturningLambdaExpression
(stmts)).Count);
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (8)
CodeGeneration\SyntaxGeneratorTests.vb (8)
2907
Assert.Equal("y", Generator.GetExpression(Generator.WithExpression(Generator.
VoidReturningLambdaExpression
({Generator.IdentifierName("x")}), Generator.IdentifierName("y"))).ToString())
2929
Generator.WithExpression(Generator.
VoidReturningLambdaExpression
({Generator.IdentifierName("s")}), Generator.IdentifierName("e")),
2953
Generator.WithExpression(Generator.
VoidReturningLambdaExpression
({Generator.IdentifierName("s")}), Nothing),
2972
Assert.Equal(0, Generator.GetStatements(Generator.
VoidReturningLambdaExpression
({})).Count)
2973
Assert.Equal(2, Generator.GetStatements(Generator.
VoidReturningLambdaExpression
(stmts)).Count)
2989
Assert.Equal(2, Generator.GetStatements(Generator.WithStatements(Generator.
VoidReturningLambdaExpression
({}), stmts)).Count)
3003
Generator.WithStatements(Generator.
VoidReturningLambdaExpression
({}), stmts),
3031
Generator.WithStatements(Generator.
VoidReturningLambdaExpression
(stmts), {}),