18 references to ResultsCacheResponseType
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
547if (cacheResponse.Type == ResultsCacheResponseType.Satisfied) 1219if (response.Type == ResultsCacheResponseType.Satisfied)
BackEnd\Components\Caching\ResultsCache.cs (5)
169ResultsCacheResponse response = new(ResultsCacheResponseType.NotSatisfied); 186response.Type = ResultsCacheResponseType.Satisfied; 191response.Type = ResultsCacheResponseType.NotSatisfied; 201response.Type = ResultsCacheResponseType.NotSatisfied; 206if (response.Type == ResultsCacheResponseType.Satisfied)
BackEnd\Components\Caching\ResultsCacheResponse.cs (2)
37public ResultsCacheResponseType Type; 53public ResultsCacheResponse(ResultsCacheResponseType type)
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (2)
90if (overrideRequest.Type == ResultsCacheResponseType.Satisfied) 99.Type == ResultsCacheResponseType.NotSatisfied,
BackEnd\Components\Scheduler\Scheduler.cs (1)
1952if (resultsResponse.Type == ResultsCacheResponseType.Satisfied)
Microsoft.Build.Engine.UnitTests (6)
BackEnd\ResultsCache_Tests.cs (6)
188Assert.Equal(ResultsCacheResponseType.Satisfied, response.Type); 256Assert.Equal(ResultsCacheResponseType.Satisfied, cacheResponseForRequestWithNoBuildDataFlags.Type); 259Assert.Equal(ResultsCacheResponseType.NotSatisfied, cachedResponseForProjectState.Type); 261Assert.Equal(ResultsCacheResponseType.Satisfied, cacheResponseForNoBuildDataFlags2.Type); 332Assert.Equal(ResultsCacheResponseType.Satisfied, cachedResponseWithSubsetFlag1.Type); 337Assert.Equal(ResultsCacheResponseType.Satisfied, cachedResponseWithSubsetFlag2.Type);