13 references to ExplicitlyRestored
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.cs (1)
261Syntax.NullableContextState.State.ExplicitlyRestored => GetGlobalAnnotationState(),
Compilation\CSharpDiagnosticFilter.cs (1)
165Syntax.NullableContextState.State.ExplicitlyRestored => nullableOption.WarningsEnabled(),
Syntax\NullableContextStateMap.cs (2)
117case NullableContextState.State.ExplicitlyRestored: 158SyntaxKind.RestoreKeyword => NullableContextState.State.ExplicitlyRestored,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\NullableContextTests.cs (9)
461new NullableDirectives(new[] { "#nullable restore" }, NullableContextState.State.ExplicitlyRestored, NullableContextState.State.ExplicitlyRestored), 464new NullableDirectives(new[] { "#nullable restore warnings", "#nullable disable annotations" }, NullableContextState.State.ExplicitlyRestored, NullableContextState.State.Disabled), 467new NullableDirectives(new[] { "#nullable restore warnings", "#nullable enable annotations" }, NullableContextState.State.ExplicitlyRestored, NullableContextState.State.Enabled), 468new NullableDirectives(new[] { "#nullable restore annotations" }, NullableContextState.State.Unknown, NullableContextState.State.ExplicitlyRestored), 469new NullableDirectives(new[] { "#nullable enable warnings" , "#nullable restore annotations" }, NullableContextState.State.Enabled, NullableContextState.State.ExplicitlyRestored), 470new NullableDirectives(new[] { "#nullable disable warnings", "#nullable restore annotations" }, NullableContextState.State.Disabled, NullableContextState.State.ExplicitlyRestored), 473new NullableDirectives(new[] { "#nullable restore warnings" }, NullableContextState.State.ExplicitlyRestored, NullableContextState.State.Unknown), 2196if (speculativeDirectives.ExpectedWarningsState == NullableContextState.State.ExplicitlyRestored) return;