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)
112
Assert.True(NullableContextOptions.Enable.
AnnotationsEnabled
());
115
Assert.True(NullableContextOptions.Annotations.
AnnotationsEnabled
());
118
Assert.False(NullableContextOptions.Warnings.
AnnotationsEnabled
());
121
Assert.False(NullableContextOptions.Disable.
AnnotationsEnabled
());