SyntaxFactory.UnsafeStatement 方法

定义

重载

UnsafeStatement(BlockSyntax)

创建新的 UnsafeStatementSyntax 实例。

UnsafeStatement(SyntaxList<AttributeListSyntax>, BlockSyntax)

创建新的 UnsafeStatementSyntax 实例。

UnsafeStatement(SyntaxToken, BlockSyntax)

创建新的 UnsafeStatementSyntax 实例。

UnsafeStatement(SyntaxList<AttributeListSyntax>, SyntaxToken, BlockSyntax)

创建新的 UnsafeStatementSyntax 实例。

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

创建新的 UnsafeStatementSyntax 实例。

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

参数

block
BlockSyntax

返回

适用于

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

创建新的 UnsafeStatementSyntax 实例。

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

参数

block
BlockSyntax

返回

适用于

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
Source:
UnsafeStatementSyntax.cs

创建新的 UnsafeStatementSyntax 实例。

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

参数

unsafeKeyword
SyntaxToken
block
BlockSyntax

返回

适用于

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

创建新的 UnsafeStatementSyntax 实例。

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

参数

unsafeKeyword
SyntaxToken
block
BlockSyntax

返回

适用于