SyntaxFactory.SwitchExpression Metodo

Definizione

Overload

SwitchExpression(ExpressionSyntax, SyntaxToken, SyntaxToken, SeparatedSyntaxList<SwitchExpressionArmSyntax>, SyntaxToken)

Crea una nuova istanza di SwitchExpressionSyntax.

SwitchExpression(ExpressionSyntax)

Crea una nuova istanza di SwitchExpressionSyntax.

SwitchExpression(ExpressionSyntax, SeparatedSyntaxList<SwitchExpressionArmSyntax>)

Crea una nuova istanza di SwitchExpressionSyntax.

SwitchExpression(ExpressionSyntax, SyntaxToken, SyntaxToken, SeparatedSyntaxList<SwitchExpressionArmSyntax>, SyntaxToken)

Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs

Crea una nuova istanza di SwitchExpressionSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax SwitchExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression, Microsoft.CodeAnalysis.SyntaxToken switchKeyword, Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> arms, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
static member SwitchExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Shared Function SwitchExpression (governingExpression As ExpressionSyntax, switchKeyword As SyntaxToken, openBraceToken As SyntaxToken, arms As SeparatedSyntaxList(Of SwitchExpressionArmSyntax), closeBraceToken As SyntaxToken) As SwitchExpressionSyntax

Parametri

governingExpression
ExpressionSyntax
switchKeyword
SyntaxToken
openBraceToken
SyntaxToken
closeBraceToken
SyntaxToken

Restituisce

Si applica a

SwitchExpression(ExpressionSyntax)

Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs

Crea una nuova istanza di SwitchExpressionSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax SwitchExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression);
static member SwitchExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Shared Function SwitchExpression (governingExpression As ExpressionSyntax) As SwitchExpressionSyntax

Parametri

governingExpression
ExpressionSyntax

Restituisce

Si applica a

SwitchExpression(ExpressionSyntax, SeparatedSyntaxList<SwitchExpressionArmSyntax>)

Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs
Origine:
Syntax.xml.Main.Generated.cs

Crea una nuova istanza di SwitchExpressionSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax SwitchExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> arms);
static member SwitchExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Shared Function SwitchExpression (governingExpression As ExpressionSyntax, arms As SeparatedSyntaxList(Of SwitchExpressionArmSyntax)) As SwitchExpressionSyntax

Parametri

governingExpression
ExpressionSyntax

Restituisce

Si applica a