12 references to RegionKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
69
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 (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\StructuredTriviaFormattingRule.cs (1)
34
if (previousToken.Kind() == SyntaxKind.
RegionKeyword
&& currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)