2 writes to _workspace
Microsoft.CodeAnalysis.EditorFeatures (2)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
227_workspace = workspace; 250_workspace = null;
12 references to _workspace
Microsoft.CodeAnalysis.EditorFeatures (12)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (12)
139var workspace = _workspace; 180if (newWorkspace == _workspace) 228_workspace.WorkspaceChanged += this.OnWorkspaceChanged; 229_workspace.DocumentActiveContextChanged += this.OnDocumentActiveContextChanged; 245if (_workspace != null) 247_workspace.WorkspaceChanged -= this.OnWorkspaceChanged; 248_workspace.DocumentActiveContextChanged -= this.OnDocumentActiveContextChanged; 270if (_workspace == null) 274var bufferDocumentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 286if (args.NewSolution.Workspace != _workspace) 292var documentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 414if (spans.Count == 0 || _workspace == null)