Compartir a través de


SyntaxFactory.ReturnStatement Método

Definición

Sobrecargas

ReturnStatement(ExpressionSyntax)

Crea una nueva instancia returnStatementSyntax.

ReturnStatement(SyntaxList<AttributeListSyntax>, ExpressionSyntax)

Crea una nueva instancia returnStatementSyntax.

ReturnStatement(SyntaxToken, ExpressionSyntax, SyntaxToken)

Crea una nueva instancia returnStatementSyntax.

ReturnStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, ExpressionSyntax, SyntaxToken)

Crea una nueva instancia returnStatementSyntax.

ReturnStatement(ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Crea una nueva instancia returnStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression = default);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression = default);
static member ReturnStatement : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Shared Function ReturnStatement (Optional expression As ExpressionSyntax = Nothing) As ReturnStatementSyntax

Parámetros

expression
ExpressionSyntax

Devoluciones

Se aplica a

ReturnStatement(SyntaxList<AttributeListSyntax>, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Crea una nueva instancia returnStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression);
static member ReturnStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Shared Function ReturnStatement (attributeLists As SyntaxList(Of AttributeListSyntax), expression As ExpressionSyntax) As ReturnStatementSyntax

Parámetros

expression
ExpressionSyntax

Devoluciones

Se aplica a

ReturnStatement(SyntaxToken, ExpressionSyntax, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs
Source:
ReturnStatementSyntax.cs

Crea una nueva instancia returnStatementSyntax.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::ReturnStatementSyntax ^ ReturnStatement(Microsoft::CodeAnalysis::SyntaxToken returnKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ReturnStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Shared Function ReturnStatement (returnKeyword As SyntaxToken, expression As ExpressionSyntax, semicolonToken As SyntaxToken) As ReturnStatementSyntax

Parámetros

returnKeyword
SyntaxToken
expression
ExpressionSyntax
semicolonToken
SyntaxToken

Devoluciones

Se aplica a

ReturnStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, ExpressionSyntax, SyntaxToken)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Crea una nueva instancia returnStatementSyntax.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax ReturnStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
static member ReturnStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Shared Function ReturnStatement (attributeLists As SyntaxList(Of AttributeListSyntax), returnKeyword As SyntaxToken, expression As ExpressionSyntax, semicolonToken As SyntaxToken) As ReturnStatementSyntax

Parámetros

returnKeyword
SyntaxToken
expression
ExpressionSyntax
semicolonToken
SyntaxToken

Devoluciones

Se aplica a