13 references to RegionKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
71
case SyntaxKind.
RegionKeyword
:
Syntax\SyntaxKindFacts.cs (3)
79
case SyntaxKind.
RegionKeyword
:
1099
return SyntaxKind.
RegionKeyword
;
1631
case SyntaxKind.
RegionKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
StructuredTriviaFormattingRule.cs (1)
34
if (previousToken.Kind() == SyntaxKind.
RegionKeyword
&& currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
114
SyntaxKind.
RegionKeyword
or
Completion\KeywordRecommenders\RegionKeywordRecommender.cs (1)
13
: base(SyntaxKind.
RegionKeyword
, isValidInPreprocessorContext: true, shouldFormatOnCommit: true)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (4)
680
=> InternalSyntaxFactory.RegionDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
RegionKeyword
), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3571
Assert.Equal(SyntaxKind.
RegionKeyword
, node.RegionKeyword.Kind);
10656
=> SyntaxFactory.RegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
RegionKeyword
), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13547
Assert.Equal(SyntaxKind.
RegionKeyword
, node.RegionKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Formatting\CSharpSyntaxFormattingService.cs (1)
303
'n' => kind is SyntaxKind.
RegionKeyword
or SyntaxKind.EndRegionKeyword,
StructuredTriviaFormattingRule.cs (1)
34
if (previousToken.Kind() == SyntaxKind.
RegionKeyword
&& currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)