SyntaxFactory.UnsafeStatement 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
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
- 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
- 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
- attributeLists
- SyntaxList<AttributeListSyntax>
- 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
- 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
- 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
- attributeLists
- SyntaxList<AttributeListSyntax>
- unsafeKeyword
- SyntaxToken
- block
- BlockSyntax
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.