4 writes to _lastResult
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.ProjectState.cs (4)
40
_lastResult
= DiagnosticAnalysisResult.CreateInitialResult(projectId);
207
_lastResult
= result.ToAggregatedForm();
247
_lastResult
= _lastResult.Reset();
291
_lastResult
= _lastResult.UpdateAggregatedResult(version, state.DocumentId, fromBuild);
12 references to _lastResult
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.ProjectState.cs (12)
43
public bool FromBuild =>
_lastResult
.FromBuild;
46
=>
_lastResult
.DocumentIdsOrEmpty;
49
=>
_lastResult
.IsEmpty;
52
=> IsEmpty(
_lastResult
, documentId);
60
var lastResult =
_lastResult
;
121
var lastResult =
_lastResult
;
162
var lastResult =
_lastResult
;
200
RemoveInMemoryCache(
_lastResult
);
203
documentIdsToProcess.AddRange(
_lastResult
.DocumentIdsOrEmpty);
247
_lastResult =
_lastResult
.Reset();
255
var lastResult =
_lastResult
;
291
_lastResult =
_lastResult
.UpdateAggregatedResult(version, state.DocumentId, fromBuild);