Share via


UnsafeStatementSyntax.WithUnsafeKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::UnsafeStatementSyntax ^ WithUnsafeKeyword(Microsoft::CodeAnalysis::SyntaxToken unsafeKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax WithUnsafeKeyword (Microsoft.CodeAnalysis.SyntaxToken unsafeKeyword);
member this.WithUnsafeKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax
Public Function WithUnsafeKeyword (unsafeKeyword As SyntaxToken) As UnsafeStatementSyntax

Parameters

unsafeKeyword
SyntaxToken

Returns

Applies to