16 references to UnsafeStatement
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Statements.cs (2)
123case SyntaxKind.UnsafeStatement: 1900hasUnsafeModifier: node.Parent?.Kind() == SyntaxKind.UnsafeStatement,
Syntax\LookupPosition.cs (2)
356case SyntaxKind.UnsafeStatement: 432case SyntaxKind.UnsafeStatement:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
69case SyntaxKind.UnsafeStatement:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
505targetToken.GetAncestors<StatementSyntax>().Any(s => s.IsKind(SyntaxKind.UnsafeStatement)) ||
Microsoft.CodeAnalysis.CSharp.Features (5)
BraceCompletion\CurlyBraceCompletionService.cs (1)
226case SyntaxKind.UnsafeStatement:
EditAndContinue\BreakpointSpans.cs (1)
713case SyntaxKind.UnsafeStatement:
EditAndContinue\SyntaxComparer.cs (2)
403case SyntaxKind.UnsafeStatement: 1099case SyntaxKind.UnsafeStatement:
Structure\Providers\BlockSyntaxStructureProvider.cs (1)
210SyntaxKind.UnsafeStatement => BlockTypes.Statement,
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ScriptParsingTests.cs (1)
1210N(SyntaxKind.UnsafeStatement);
Parsing\StatementAttributeParsingTests.cs (1)
1934N(SyntaxKind.UnsafeStatement);
Parsing\StatementParsingTests.cs (1)
1457Assert.Equal(SyntaxKind.UnsafeStatement, statement.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (1)
69case SyntaxKind.UnsafeStatement:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTokenExtensions.cs (1)
505targetToken.GetAncestors<StatementSyntax>().Any(s => s.IsKind(SyntaxKind.UnsafeStatement)) ||