5 references to AnnotationsEnabled
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpSemanticModel.cs (1)
5450_ when getDefaultState().AnnotationsEnabled() => NullableContext.AnnotationsContextInherited | NullableContext.AnnotationsEnabled,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\NullableContextTests.cs (4)
112Assert.True(NullableContextOptions.Enable.AnnotationsEnabled()); 115Assert.True(NullableContextOptions.Annotations.AnnotationsEnabled()); 118Assert.False(NullableContextOptions.Warnings.AnnotationsEnabled()); 121Assert.False(NullableContextOptions.Disable.AnnotationsEnabled());