10 references to AnnotationsKeyword
Microsoft.CodeAnalysis.CSharp (6)
Parser\DirectiveParser.cs (1)
546
SyntaxKind.
AnnotationsKeyword
=> EatToken(),
Syntax\NullableContextStateMap.cs (1)
166
SyntaxKind.
AnnotationsKeyword
=> new NullableContextState(position, warningsState: previousContext.WarningsState, annotationsState: setting),
Syntax\SyntaxKindFacts.cs (4)
107
case SyntaxKind.
AnnotationsKeyword
:
136
case SyntaxKind.
AnnotationsKeyword
:
1161
return SyntaxKind.
AnnotationsKeyword
;
1701
case SyntaxKind.
AnnotationsKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
130
if (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)
130
if (directive.TargetToken.IsKind(SyntaxKind.
AnnotationsKeyword
))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\PreprocessorTests.cs (1)
273
Assert.True(target.Kind() == SyntaxKind.WarningsKeyword || target.Kind() == SyntaxKind.
AnnotationsKeyword
||