13 references to RegionKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
71case SyntaxKind.RegionKeyword:
Syntax\SyntaxKindFacts.cs (3)
79case SyntaxKind.RegionKeyword: 1099return SyntaxKind.RegionKeyword; 1631case SyntaxKind.RegionKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
StructuredTriviaFormattingRule.cs (1)
34if (previousToken.Kind() == SyntaxKind.RegionKeyword && currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
114SyntaxKind.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()); 3571Assert.Equal(SyntaxKind.RegionKeyword, node.RegionKeyword.Kind); 10656=> SyntaxFactory.RegionDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.RegionKeyword), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool()); 13547Assert.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)
34if (previousToken.Kind() == SyntaxKind.RegionKeyword && currentToken.Kind() == SyntaxKind.EndOfDirectiveToken)