Share via


SyntaxFactory.UnsafeStatement Method

Definition

Overloads

UnsafeStatement(BlockSyntax)

Creates a new UnsafeStatementSyntax instance.

UnsafeStatement(SyntaxList<AttributeListSyntax>, BlockSyntax)

Creates a new UnsafeStatementSyntax instance.

UnsafeStatement(SyntaxToken, BlockSyntax)

Creates a new UnsafeStatementSyntax instance.

UnsafeStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax)

Creates a new UnsafeStatementSyntax instance.

UnsafeStatement(BlockSyntax)

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

Creates a new UnsafeStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax UnsafeStatement (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block = default);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax UnsafeStatement (Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax? block = default);
static member UnsafeStatement : Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax
Public Shared Function UnsafeStatement (Optional block As BlockSyntax = Nothing) As UnsafeStatementSyntax

Parameters

block
BlockSyntax

Returns

Applies to

UnsafeStatement(SyntaxList<AttributeListSyntax>, BlockSyntax)

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

Creates a new UnsafeStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax UnsafeStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member UnsafeStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax
Public Shared Function UnsafeStatement (attributeLists As SyntaxList(Of AttributeListSyntax), block As BlockSyntax) As UnsafeStatementSyntax

Parameters

block
BlockSyntax

Returns

Applies to

UnsafeStatement(SyntaxToken, BlockSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.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:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs
Source:
UnsafeStatementSyntax.cs

Creates a new UnsafeStatementSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::UnsafeStatementSyntax ^ UnsafeStatement(Microsoft::CodeAnalysis::SyntaxToken unsafeKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax UnsafeStatement (Microsoft.CodeAnalysis.SyntaxToken unsafeKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member UnsafeStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax
Public Shared Function UnsafeStatement (unsafeKeyword As SyntaxToken, block As BlockSyntax) As UnsafeStatementSyntax

Parameters

unsafeKeyword
SyntaxToken
block
BlockSyntax

Returns

Applies to

UnsafeStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax)

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

Creates a new UnsafeStatementSyntax instance.

public static Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax UnsafeStatement (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.SyntaxToken unsafeKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member UnsafeStatement : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.UnsafeStatementSyntax
Public Shared Function UnsafeStatement (attributeLists As SyntaxList(Of AttributeListSyntax), unsafeKeyword As SyntaxToken, block As BlockSyntax) As UnsafeStatementSyntax

Parameters

unsafeKeyword
SyntaxToken
block
BlockSyntax

Returns

Applies to