1 write to _workspace
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DefaultDiagnosticAnalyzerService.cs (1)
76
_workspace
= workspace;
9 references to _workspace
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Features\Diagnostics\DefaultDiagnosticAnalyzerService.cs (9)
92
Debug.Assert(textDocument.Project.Solution.Workspace ==
_workspace
);
95
if (!
_workspace
.IsDocumentOpen(textDocument.Id))
105
Debug.Assert(document.Project.Solution.Workspace ==
_workspace
);
117
if (!
_workspace
.IsDocumentOpen(document.Id))
121
if (
_workspace
.Kind is WorkspaceKind.MiscellaneousFiles or WorkspaceKind.CloudEnvironmentClientWorkspace)
133
DiagnosticsUpdatedArgs.DiagnosticsCreated(new DefaultUpdateArgsId(
_workspace
.Kind, kind, document.Id),
134
_workspace
, document.Project.Solution, document.Project.Id, document.Id, diagnosticData));
224
new DefaultUpdateArgsId(
_workspace
.Kind, kind, documentId),
_workspace
, null, documentId.ProjectId, documentId));