52 references to CheckedKeyword
Microsoft.CodeAnalysis.CSharp (44)
_generated\0\Syntax.xml.Main.Generated.cs (8)
3065case SyntaxKind.CheckedKeyword: 3082SyntaxKind.CheckedExpression => SyntaxKind.CheckedKeyword, 4500case SyntaxKind.CheckedKeyword: 4521SyntaxKind.CheckedStatement => SyntaxKind.CheckedKeyword, 5486case SyntaxKind.CheckedKeyword: 5559case SyntaxKind.CheckedKeyword: 5972case SyntaxKind.CheckedKeyword: 6037case SyntaxKind.CheckedKeyword:
_generated\1\Syntax.xml.Internal.Generated.cs (12)
29592case SyntaxKind.CheckedKeyword: 31457case SyntaxKind.CheckedKeyword: 32628case SyntaxKind.CheckedKeyword: 32704case SyntaxKind.CheckedKeyword: 33161case SyntaxKind.CheckedKeyword: 33226case SyntaxKind.CheckedKeyword: 35019case SyntaxKind.CheckedKeyword: 36884case SyntaxKind.CheckedKeyword: 38055case SyntaxKind.CheckedKeyword: 38131case SyntaxKind.CheckedKeyword: 38588case SyntaxKind.CheckedKeyword: 38653case SyntaxKind.CheckedKeyword:
Binder\Binder_Crefs.cs (2)
420bool isChecked = syntax.CheckedKeyword.IsKind(SyntaxKind.CheckedKeyword); 466bool isChecked = syntax.CheckedKeyword.IsKind(SyntaxKind.CheckedKeyword);
Binder\Semantics\Operators\OperatorFacts.cs (2)
178bool isChecked = declaration.CheckedKeyword?.Kind == SyntaxKind.CheckedKeyword; 225return declaration.CheckedKeyword?.Kind == SyntaxKind.CheckedKeyword ?
Parser\DocumentationCommentParser.cs (1)
1198return TryEatToken(SyntaxKind.CheckedKeyword);
Parser\LanguageParser.cs (10)
3840else if (this.PeekToken(1).Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword) 4009return TryEatToken(SyntaxKind.CheckedKeyword); 8369case SyntaxKind.CheckedKeyword: 9286case SyntaxKind.CheckedKeyword: 9550Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 11138case SyntaxKind.CheckedKeyword: 11440case SyntaxKind.CheckedKeyword: 12005case SyntaxKind.CheckedKeyword: 12717Debug.Assert(checkedOrUnchecked.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 12718var kind = checkedOrUnchecked.Kind == SyntaxKind.CheckedKeyword ? SyntaxKind.CheckedExpression : SyntaxKind.UncheckedExpression;
SymbolDisplay\SymbolDisplayVisitor.Members.cs (2)
707AddKeyword(SyntaxKind.CheckedKeyword); 745AddKeyword(SyntaxKind.CheckedKeyword);
Symbols\Source\SourceUserDefinedConversionSymbol.cs (1)
33else if (syntax.CheckedKeyword.IsKind(SyntaxKind.CheckedKeyword))
Symbols\Source\SourceUserDefinedOperatorSymbol.cs (1)
34else if (!syntax.OperatorToken.IsMissing && syntax.CheckedKeyword.IsKind(SyntaxKind.CheckedKeyword))
Syntax\SyntaxKindFacts.cs (4)
575case SyntaxKind.CheckedKeyword: 781case SyntaxKind.CheckedKeyword: 1033return SyntaxKind.CheckedKeyword; 1734case SyntaxKind.CheckedKeyword:
Syntax\SyntaxNormalizer.cs (1)
998case SyntaxKind.CheckedKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
21public static readonly SyntaxToken CheckedKeyword = Token(SyntaxKind.CheckedKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2660token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.CheckedKeyword))
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\CheckedKeywordRecommender.cs (1)
13internal sealed class CheckedKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.CheckedKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
21public static readonly SyntaxToken CheckedKeyword = Token(SyntaxKind.CheckedKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2660token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.CheckedKeyword))
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
103CSharpSyntaxKind.CheckedKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
21public static readonly SyntaxToken CheckedKeyword = Token(SyntaxKind.CheckedKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2660token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.CheckedKeyword))