8 references to VoidReturningLambdaExpression
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.cs (4)
723
Generator.
VoidReturningLambdaExpression
("x", Generator.IdentifierName("y")),
3251
Assert.Equal(1, Generator.GetParameters(Generator.
VoidReturningLambdaExpression
("p1", Generator.IdentifierName("expr"))).Count);
3292
Assert.Equal("x", Generator.GetExpression(Generator.
VoidReturningLambdaExpression
("p", Generator.IdentifierName("x"))).ToString());
3326
Assert.Equal("y", Generator.GetExpression(Generator.WithExpression(Generator.
VoidReturningLambdaExpression
("p", Generator.IdentifierName("x")), Generator.IdentifierName("y"))).ToString());
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
726
Generator.
VoidReturningLambdaExpression
("x", Generator.IdentifierName("y")),
2853
Assert.Equal(1, Generator.GetParameters(Generator.
VoidReturningLambdaExpression
("p1", Generator.IdentifierName("expr"))).Count)
2891
Assert.Equal("x", Generator.GetExpression(Generator.
VoidReturningLambdaExpression
("p", Generator.IdentifierName("x"))).ToString())
2909
Assert.Equal("y", Generator.GetExpression(Generator.WithExpression(Generator.
VoidReturningLambdaExpression
("p", Generator.IdentifierName("x")), Generator.IdentifierName("y"))).ToString())