13 references to WarningsKeyword
Microsoft.CodeAnalysis.CSharp (10)
_generated\0\Syntax.xml.Main.Generated.cs (1)
6674
case SyntaxKind.
WarningsKeyword
:
_generated\1\Syntax.xml.Internal.Generated.cs (2)
33953
case SyntaxKind.
WarningsKeyword
:
39380
case SyntaxKind.
WarningsKeyword
:
Parser\DirectiveParser.cs (2)
556
SyntaxKind.
WarningsKeyword
=> EatToken(),
560
_ => EatToken(SyntaxKind.
WarningsKeyword
, ErrorCode.ERR_NullableDirectiveTargetExpected, reportError: !setting.IsMissing && isActive)
Syntax\NullableContextStateMap.cs (1)
165
SyntaxKind.
WarningsKeyword
=> new NullableContextState(position, warningsState: setting, annotationsState: previousContext.AnnotationsState),
Syntax\SyntaxKindFacts.cs (4)
106
case SyntaxKind.
WarningsKeyword
:
135
case SyntaxKind.
WarningsKeyword
:
1230
return SyntaxKind.
WarningsKeyword
;
1782
case SyntaxKind.
WarningsKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
132
else if (directive.TargetToken.IsKind(SyntaxKind.
WarningsKeyword
))
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\WarningsKeywordRecommender.cs (1)
10
internal sealed class WarningsKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.
WarningsKeyword
, isValidInPreprocessorContext: true)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveRedundantNullableDirectiveDiagnosticAnalyzer.cs (1)
132
else if (directive.TargetToken.IsKind(SyntaxKind.
WarningsKeyword
))