13 references to RegionKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
74
case SyntaxKind.
RegionKeyword
:
Syntax\SyntaxKindFacts.cs (3)
90
case SyntaxKind.
RegionKeyword
:
1127
return SyntaxKind.
RegionKeyword
;
1667
case SyntaxKind.
RegionKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\StructuredTriviaFormattingRule.cs (1)
34
if (previousToken.Kind() == SyntaxKind.
RegionKeyword
&& currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
131
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)
698
=> InternalSyntaxFactory.RegionDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
RegionKeyword
), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3655
Assert.Equal(SyntaxKind.
RegionKeyword
, node.RegionKeyword.Kind);
10914
=> SyntaxFactory.RegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
RegionKeyword
), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13871
Assert.Equal(SyntaxKind.
RegionKeyword
, node.RegionKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Formatting\CSharpSyntaxFormattingService.cs (1)
301
'n' => kind is SyntaxKind.
RegionKeyword
or SyntaxKind.EndRegionKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\StructuredTriviaFormattingRule.cs (1)
34
if (previousToken.Kind() == SyntaxKind.
RegionKeyword
&& currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)