1 override of ValueReturningLambdaExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3612
public override SyntaxNode
ValueReturningLambdaExpression
(IEnumerable<SyntaxNode>? parameterDeclarations, IEnumerable<SyntaxNode> statements)
4 references to ValueReturningLambdaExpression
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
744
Generator.
ValueReturningLambdaExpression
({Generator.LambdaParameter("x"), Generator.LambdaParameter("y")}, {Generator.ReturnStatement(Generator.IdentifierName("z"))}),
750
Generator.
ValueReturningLambdaExpression
(New SyntaxNode() {}, {Generator.ReturnStatement(Generator.IdentifierName("y"))}),
Microsoft.CodeAnalysis.Workspaces (2)
Editing\SyntaxGenerator.cs (2)
2343
=>
ValueReturningLambdaExpression
(new[] { LambdaParameter(parameterName) }, statements);
2367
=>
ValueReturningLambdaExpression
((IEnumerable<SyntaxNode>?)null, statements);