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