2 writes to _workspace
Microsoft.CodeAnalysis.EditorFeatures (2)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
228
_workspace
= workspace;
254
_workspace
= null;
9 references to _workspace
Microsoft.CodeAnalysis.EditorFeatures (9)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (9)
140
var workspace =
_workspace
;
181
if (newWorkspace ==
_workspace
)
229
_workspaceChangedDisposer =
_workspace
.RegisterWorkspaceChangedHandler(this.OnWorkspaceChanged);
230
_workspaceDocumentActiveContextChangedDisposer =
_workspace
.RegisterDocumentActiveContextChangedHandler(this.OnDocumentActiveContextChanged);
246
if (
_workspace
!= null)
274
if (
_workspace
== null)
278
var bufferDocumentId =
_workspace
.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer());
290
var workspace =
_workspace
;
419
if (spans.Count == 0 ||
_workspace
== null)