4 writes to Type
Microsoft.Build (4)
BackEnd\Components\Caching\ResultsCache.cs (3)
186
response.
Type
= ResultsCacheResponseType.Satisfied;
191
response.
Type
= ResultsCacheResponseType.NotSatisfied;
201
response.
Type
= ResultsCacheResponseType.NotSatisfied;
BackEnd\Components\Caching\ResultsCacheResponse.cs (1)
55
Type
= type;
12 references to Type
Microsoft.Build (6)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
547
if (cacheResponse.
Type
== ResultsCacheResponseType.Satisfied)
1219
if (response.
Type
== ResultsCacheResponseType.Satisfied)
BackEnd\Components\Caching\ResultsCache.cs (1)
206
if (response.
Type
== ResultsCacheResponseType.Satisfied)
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
);