15 references to Enabled
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder.cs (1)
259Syntax.NullableContextState.State.Enabled => true,
Compilation\CSharpDiagnosticFilter.cs (1)
163Syntax.NullableContextState.State.Enabled => true,
Compilation\CSharpSemanticModel.cs (2)
5452NullableContextState.State.Enabled => NullableContext.AnnotationsEnabled, 5459NullableContextState.State.Enabled => NullableContext.WarningsEnabled,
Syntax\NullableContextStateMap.cs (2)
114case NullableContextState.State.Enabled: 156SyntaxKind.EnableKeyword => NullableContextState.State.Enabled,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\NullableContextTests.cs (9)
460new NullableDirectives(new[] { "#nullable enable" }, NullableContextState.State.Enabled, NullableContextState.State.Enabled), 463new NullableDirectives(new[] { "#nullable enable warnings", "#nullable disable annotations", }, NullableContextState.State.Enabled, NullableContextState.State.Disabled), 465new NullableDirectives(new[] { "#nullable enable annotations" }, NullableContextState.State.Unknown, NullableContextState.State.Enabled), 466new NullableDirectives(new[] { "#nullable disable warnings", "#nullable enable annotations" }, NullableContextState.State.Disabled, NullableContextState.State.Enabled), 467new NullableDirectives(new[] { "#nullable restore warnings", "#nullable enable annotations" }, NullableContextState.State.ExplicitlyRestored, NullableContextState.State.Enabled), 469new NullableDirectives(new[] { "#nullable enable warnings" , "#nullable restore annotations" }, NullableContextState.State.Enabled, NullableContextState.State.ExplicitlyRestored), 472new NullableDirectives(new[] { "#nullable enable warnings" }, NullableContextState.State.Enabled, NullableContextState.State.Unknown), 600NullableContextState.State.Enabled => true,