9 references to Value
Microsoft.AspNetCore.Routing (1)
Matching\DataSourceDependentMatcher.cs (1)
31internal Matcher CurrentMatcher => _cache.Value!;
Microsoft.AspNetCore.Routing.Tests (8)
DataSourceDependentCacheTest.cs (8)
28Assert.Equal("hello, world!", cache.Value); 45GC.KeepAlive(cache.Value); 49Assert.Null(cache.Value); 66Assert.Equal("hello, 1!", cache.Value); 73Assert.Equal("hello, 2!", cache.Value); 94Assert.Null(cache.Value); 111Assert.Equal("hello, 1!", cache.Value); 118Assert.Equal("hello, 1!", cache.Value); // Ignores update