7 references to _state
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (7)
91var incompletePart = _state.NextIncompletePart; 96if (_state.NotePartComplete(CompletionPart.StartValidatingImports)) 99_state.NotePartComplete(CompletionPart.FinishValidatingImports); 107Debug.Assert(_state.HasComplete(CompletionPart.StartValidatingImports)); 108_state.SpinWaitComplete(CompletionPart.FinishValidatingImports, cancellationToken); 116_state.NotePartComplete(CompletionPart.All & ~CompletionPart.ImportsAll); 120_state.SpinWaitComplete(incompletePart, cancellationToken);