6 references to AnnotationsEnabled
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
99if (!nullableContext.WarningsEnabled() || !nullableContext.AnnotationsEnabled())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\NullableContextTests.cs (4)
136Assert.Equal(annotationsEnabled, context.AnnotationsEnabled()); 142Assert.Equal(annotationsEnabled, warningsInherited.AnnotationsEnabled()); 148Assert.Equal(annotationsEnabled, annotationsInherited.AnnotationsEnabled()); 154Assert.Equal(annotationsEnabled, contextInherited.AnnotationsEnabled());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\Reducers\CSharpNullableAnnotationReducer.cs (1)
46if (context.AnnotationsEnabled())