10 references to AnnotationsKeyword
Microsoft.CodeAnalysis.CSharp (6)
Parser\DirectiveParser.cs (1)
546SyntaxKind.AnnotationsKeyword => EatToken(),
Syntax\NullableContextStateMap.cs (1)
166SyntaxKind.AnnotationsKeyword => new NullableContextState(position, warningsState: previousContext.WarningsState, annotationsState: setting),
Syntax\SyntaxKindFacts.cs (4)
107case SyntaxKind.AnnotationsKeyword: 136case SyntaxKind.AnnotationsKeyword: 1161return SyntaxKind.AnnotationsKeyword; 1701case SyntaxKind.AnnotationsKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
130if (directive.TargetToken.IsKind(SyntaxKind.AnnotationsKeyword))
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\AnnotationsKeywordRecommender.cs (1)
13: base(SyntaxKind.AnnotationsKeyword, isValidInPreprocessorContext: true)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
130if (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 ||