37 references to FinallyKeyword
Microsoft.CodeAnalysis.CSharp (15)
Parser\LanguageParser.cs (10)
7972case SyntaxKind.FinallyKeyword: 8918Debug.Assert(this.CurrentToken.Kind is SyntaxKind.TryKeyword or SyntaxKind.CatchKeyword or SyntaxKind.FinallyKeyword); 8931Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CatchKeyword or SyntaxKind.FinallyKeyword); 8954if (this.CurrentToken.Kind == SyntaxKind.FinallyKeyword) 8968SyntaxFactory.MissingToken(SyntaxKind.FinallyKeyword), 8989return this.CurrentToken.Kind is SyntaxKind.CloseBraceToken or SyntaxKind.CatchKeyword or SyntaxKind.FinallyKeyword; 9057or SyntaxKind.FinallyKeyword; 9066or SyntaxKind.FinallyKeyword; 9072or SyntaxKind.FinallyKeyword; 10657case SyntaxKind.FinallyKeyword:
Syntax\SyntaxKindFacts.cs (2)
921return SyntaxKind.FinallyKeyword; 1565case SyntaxKind.FinallyKeyword:
Syntax\SyntaxNormalizer.cs (3)
222case SyntaxKind.FinallyKeyword: 298case SyntaxKind.FinallyKeyword: 395case SyntaxKind.FinallyKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (3)
321case SyntaxKind.FinallyKeyword: 390case SyntaxKind.FinallyKeyword: 431SyntaxKind.FinallyKeyword or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
103if (currentToken.IsKind(SyntaxKind.FinallyKeyword)) 301if (currentToken.IsKind(SyntaxKind.FinallyKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\FinallyKeywordRecommender.cs (1)
13: base(SyntaxKind.FinallyKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Generated\Syntax.Test.xml.Generated.cs (4)
461=> InternalSyntaxFactory.FinallyClause(InternalSyntaxFactory.Token(SyntaxKind.FinallyKeyword), GenerateBlock()); 2581Assert.Equal(SyntaxKind.FinallyKeyword, node.FinallyKeyword.Kind); 10677=> SyntaxFactory.FinallyClause(SyntaxFactory.Token(SyntaxKind.FinallyKeyword), GenerateBlock()); 12797Assert.Equal(SyntaxKind.FinallyKeyword, node.FinallyKeyword.Kind());
Parsing\StatementAttributeParsingTests.cs (6)
2699N(SyntaxKind.FinallyKeyword); 2778N(SyntaxKind.FinallyKeyword); 2851M(SyntaxKind.FinallyKeyword); 2881N(SyntaxKind.FinallyKeyword); 2954N(SyntaxKind.FinallyKeyword); 3039M(SyntaxKind.FinallyKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Classification\ClassificationHelpers.cs (1)
78case SyntaxKind.FinallyKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\ElasticTriviaFormattingRule.cs (3)
321case SyntaxKind.FinallyKeyword: 390case SyntaxKind.FinallyKeyword: 431SyntaxKind.FinallyKeyword or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\NewLineUserSettingFormattingRule.cs (2)
103if (currentToken.IsKind(SyntaxKind.FinallyKeyword)) 301if (currentToken.IsKind(SyntaxKind.FinallyKeyword))