3 references to Invalid
Microsoft.Extensions.ServiceDiscovery (3)
ServiceEndpointWatcher.cs (3)
99if (!_disposalCancellation.IsCancellationRequested && _refreshTask.IsCompleted && (_cacheState == CacheStatus.Invalid || _cachedEndpoints is null or { ChangeToken.HasChanged: true } || force)) 181newCacheState = CacheStatus.Invalid; 186Debug.Assert(error is null || newCacheState is CacheStatus.Invalid);