Share via


SyntaxFactory.ExpressionElement(ExpressionSyntax) Method

Definition

Creates a new ExpressionElementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionElementSyntax ExpressionElement (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
static member ExpressionElement : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionElementSyntax
Public Shared Function ExpressionElement (expression As ExpressionSyntax) As ExpressionElementSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to