SwitchExpressionSyntax.WithGoverningExpression(ExpressionSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax WithGoverningExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression);
member this.WithGoverningExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Function WithGoverningExpression (governingExpression As ExpressionSyntax) As SwitchExpressionSyntax

Parameters

governingExpression
ExpressionSyntax

Returns

Applies to