Поделиться через


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

Создает новый экземпляр 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

Создает новый экземпляр 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

Создает новый экземпляр 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

Создает новый экземпляр 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

Возвращаемое значение

Применяется к