3 writes to IsCached
Microsoft.Build (3)
BackEnd\Shared\BuildRequestConfiguration.cs (3)
423
IsCached
= false;
719
IsCached
= true;
756
IsCached
= false;
12 references to IsCached
Microsoft.Build (11)
BackEnd\Components\Caching\ConfigCache.cs (3)
152
if (configuration.
IsCached
)
288
if (!configuration.
IsCached
)
292
if (configuration.
IsCached
)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
85
int evaluationId = (configuration != null && !configuration.
IsCached
&& configuration.Project != null) ? configuration.Project.EvaluationId : BuildEventContext.InvalidEvaluationId;
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
415
if (buildRequestConfiguration.
IsCached
)
719
if (requestConfiguration.
IsCached
)
BackEnd\Shared\BuildRequestConfiguration.cs (5)
375
ErrorUtilities.VerifyThrow(!
IsCached
, "We shouldn't be accessing the ProjectInstance when the configuration is cached.");
420
if (
IsCached
)
590
ErrorUtilities.VerifyThrow(!
IsCached
, "Configuration is cached, we shouldn't be accessing the lookup.");
693
if (IsActivelyBuilding ||
IsCached
|| !IsLoaded || !IsCacheable)
737
if (!
IsCached
)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
313
Assert.False(configuration.
IsCached
);