52 references to CheckedKeyword
Microsoft.CodeAnalysis.CSharp (44)
_generated\0\Syntax.xml.Main.Generated.cs (8)
3077case SyntaxKind.CheckedKeyword: 3094SyntaxKind.CheckedExpression => SyntaxKind.CheckedKeyword, 4538case SyntaxKind.CheckedKeyword: 4559SyntaxKind.CheckedStatement => SyntaxKind.CheckedKeyword, 5524case SyntaxKind.CheckedKeyword: 5597case SyntaxKind.CheckedKeyword: 6010case SyntaxKind.CheckedKeyword: 6075case SyntaxKind.CheckedKeyword:
_generated\1\Syntax.xml.Internal.Generated.cs (12)
29732case SyntaxKind.CheckedKeyword: 31592case SyntaxKind.CheckedKeyword: 32763case SyntaxKind.CheckedKeyword: 32839case SyntaxKind.CheckedKeyword: 33296case SyntaxKind.CheckedKeyword: 33361case SyntaxKind.CheckedKeyword: 35154case SyntaxKind.CheckedKeyword: 37014case SyntaxKind.CheckedKeyword: 38185case SyntaxKind.CheckedKeyword: 38261case SyntaxKind.CheckedKeyword: 38718case SyntaxKind.CheckedKeyword: 38783case SyntaxKind.CheckedKeyword:
Binder\Binder_Crefs.cs (2)
426bool isChecked = syntax.CheckedKeyword.IsKind(SyntaxKind.CheckedKeyword); 472bool 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)
3845else if (this.PeekToken(1).Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword) 4014return TryEatToken(SyntaxKind.CheckedKeyword); 8374case SyntaxKind.CheckedKeyword: 9307case SyntaxKind.CheckedKeyword: 9573Debug.Assert(this.CurrentToken.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 11161case SyntaxKind.CheckedKeyword: 11465case SyntaxKind.CheckedKeyword: 12030case SyntaxKind.CheckedKeyword: 12744Debug.Assert(checkedOrUnchecked.Kind is SyntaxKind.CheckedKeyword or SyntaxKind.UncheckedKeyword); 12745var 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: 783case SyntaxKind.CheckedKeyword: 1035return SyntaxKind.CheckedKeyword; 1736case 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)
2653token.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)
2653token.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)
2653token.GetPreviousToken(includeSkipped: true).IsKind(SyntaxKind.CheckedKeyword))