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