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