5 references to WarningsEnabled
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
99if (!nullableContext.WarningsEnabled() || !nullableContext.AnnotationsEnabled())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\NullableContextTests.cs (4)
135Assert.Equal(warningsEnabled, context.WarningsEnabled()); 141Assert.Equal(warningsEnabled, warningsInherited.WarningsEnabled()); 147Assert.Equal(warningsEnabled, annotationsInherited.WarningsEnabled()); 153Assert.Equal(warningsEnabled, contextInherited.WarningsEnabled());