12 references to Disabled
Microsoft.CodeAnalysis.CSharp (2)
Compilation\CSharpSemanticModel.cs (2)
5442NullableContextState.State.Disabled => NullableContext.Disabled, 5449NullableContextState.State.Disabled => NullableContext.Disabled,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\NullableContextTests.cs (9)
38[InlineData("#nullable disable", NullableContextOptions.Disable, NullableContext.Disabled)] 39[InlineData("#nullable disable", NullableContextOptions.Annotations, NullableContext.Disabled)] 40[InlineData("#nullable disable", NullableContextOptions.Warnings, NullableContext.Disabled)] 41[InlineData("#nullable disable", NullableContextOptions.Enable, NullableContext.Disabled)] 43[InlineData("#nullable disable warnings", NullableContextOptions.Disable, NullableContext.Disabled | NullableContext.AnnotationsContextInherited)] 44[InlineData("#nullable disable warnings", NullableContextOptions.Warnings, NullableContext.Disabled | NullableContext.AnnotationsContextInherited)] 48[InlineData("#nullable disable annotations", NullableContextOptions.Disable, NullableContext.Disabled | NullableContext.WarningsContextInherited)] 50[InlineData("#nullable disable annotations", NullableContextOptions.Annotations, NullableContext.Disabled | NullableContext.WarningsContextInherited)] 128AssertEnabledForInheritance(NullableContext.Disabled, warningsEnabled: false, annotationsEnabled: false);
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\SemanticModel.vb (1)
3574Return NullableContext.Disabled Or NullableContext.ContextInherited