10 references to AnnotationsKeyword
Microsoft.CodeAnalysis.CSharp (6)
Parser\DirectiveParser.cs (1)
551SyntaxKind.AnnotationsKeyword => EatToken(),
Syntax\NullableContextStateMap.cs (1)
166SyntaxKind.AnnotationsKeyword => new NullableContextState(position, warningsState: previousContext.WarningsState, annotationsState: setting),
Syntax\SyntaxKindFacts.cs (4)
96case SyntaxKind.AnnotationsKeyword: 125case SyntaxKind.AnnotationsKeyword: 1133return SyntaxKind.AnnotationsKeyword; 1665case SyntaxKind.AnnotationsKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
89if (directive.TargetToken.IsKind(SyntaxKind.AnnotationsKeyword))
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\AnnotationsKeywordRecommender.cs (1)
13: base(SyntaxKind.AnnotationsKeyword, isValidInPreprocessorContext: true)
CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
89if (directive.TargetToken.IsKind(SyntaxKind.AnnotationsKeyword))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\PreprocessorTests.cs (1)
273Assert.True(target.Kind() == SyntaxKind.WarningsKeyword || target.Kind() == SyntaxKind.AnnotationsKeyword ||