1 write to ExpectedWarningsState
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\NullableContextTests.cs (1)
444ExpectedWarningsState = expectedWarningsState;
6 references to ExpectedWarningsState
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NullableContextTests.cs (6)
552var expectedWarningsStateForMethod = CombineState(methodDirectives.ExpectedWarningsState, classDirectives.ExpectedWarningsState); 580verifyContextState(tree, syntaxNodes.OfType<ClassDeclarationSyntax>().Single(), classDirectives.ExpectedWarningsState, classDirectives.ExpectedAnnotationsState); 2196if (speculativeDirectives.ExpectedWarningsState == NullableContextState.State.ExplicitlyRestored) return; 2211var expectedWarningsState = CombineState(speculativeDirectives.ExpectedWarningsState, sourceDirectives.ExpectedWarningsState);