ReturnStatementSyntax.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Update(SyntaxToken, ExpressionSyntax, SyntaxToken) | |
Update(SyntaxList<AttributeListSyntax>, SyntaxToken, ExpressionSyntax, SyntaxToken) |
Update(SyntaxToken, ExpressionSyntax, SyntaxToken)
- 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
- Source:
- ReturnStatementSyntax.cs
- Source:
- ReturnStatementSyntax.cs
- Source:
- ReturnStatementSyntax.cs
public:
Microsoft::CodeAnalysis::CSharp::Syntax::ReturnStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken returnKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::SyntaxToken semicolonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Function Update (returnKeyword As SyntaxToken, expression As ExpressionSyntax, semicolonToken As SyntaxToken) As ReturnStatementSyntax
Parameters
- returnKeyword
- SyntaxToken
- expression
- ExpressionSyntax
- semicolonToken
- SyntaxToken
Returns
Applies to
Update(SyntaxList<AttributeListSyntax>, SyntaxToken, ExpressionSyntax, SyntaxToken)
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken returnKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression, Microsoft.CodeAnalysis.SyntaxToken semicolonToken);
member this.Update : 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 Function Update (attributeLists As SyntaxList(Of AttributeListSyntax), returnKeyword As SyntaxToken, expression As ExpressionSyntax, semicolonToken As SyntaxToken) As ReturnStatementSyntax
Parameters
- attributeLists
- SyntaxList<AttributeListSyntax>
- returnKeyword
- SyntaxToken
- expression
- ExpressionSyntax
- semicolonToken
- SyntaxToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.