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) 75if (cheapVersion != null && cheapVersion.Equals(_lastResult.Value.cheapVersion)) 87if (expensiveVersion != null && expensiveVersion.Equals(_lastResult.Value.expensiveVersion)) 105if (_lastResult is not null && _lastResult?.resultId == previousPullResult?.PreviousResultId && _lastResult?.dataChecksum == dataChecksum) 114_lastResult = (_lastResult.Value.resultId, cheapVersion, expensiveVersion, dataChecksum);