2 writes to _lastResult
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\PullHandlers\VersionedPullCache.CacheItem.cs (2)
114
_lastResult
= (_lastResult.Value.resultId, cheapVersion, expensiveVersion, dataChecksum);
130
_lastResult
= (newResultId, cheapVersion, expensiveVersion, dataChecksum);
9 references to _lastResult
Microsoft.CodeAnalysis.LanguageServer.Protocol (9)
Handler\PullHandlers\VersionedPullCache.CacheItem.cs (9)
22
/// Guards access to <see cref="
_lastResult
"/>.
71
_lastResult
is not null &&
72
_lastResult
.Value.resultId == previousPullResult?.PreviousResultId)
75
if (cheapVersion != null && cheapVersion.Equals(
_lastResult
.Value.cheapVersion))
87
if (expensiveVersion != null && expensiveVersion.Equals(
_lastResult
.Value.expensiveVersion))
105
if (
_lastResult
is not null &&
_lastResult
?.resultId == previousPullResult?.PreviousResultId &&
_lastResult
?.dataChecksum == dataChecksum)
114
_lastResult = (
_lastResult
.Value.resultId, cheapVersion, expensiveVersion, dataChecksum);