11 references to ToArray
Microsoft.Build (2)
BackEnd\BuildManager\CacheAggregator.cs (2)
58
var configs = configCache.GetEnumerator().
ToArray
();
59
var results = resultsCache.GetEnumerator().
ToArray
();
Microsoft.Build.Engine.UnitTests (9)
BackEnd\CacheAggregator_Tests.cs (2)
249
var aggregatedConfigs = aggregation.ConfigCache.GetEnumerator().
ToArray
();
251
var aggregatedResults = aggregation.ResultsCache.GetEnumerator().
ToArray
();
BackEnd\ConfigCache_Tests.cs (2)
104
var initialConfigurations = initial.GetEnumerator().
ToArray
();
105
var copiedConfigurations = copy.GetEnumerator().
ToArray
();
BackEnd\ResultsCache_Tests.cs (1)
83
var results = cache.GetEnumerator().
ToArray
();
Graph\IsolateProjects_Tests.cs (2)
341
BuildResult[] declaredReferenceBuildResults = deserializedOutputCacheDeclaredReference.ResultsCache.GetEnumerator().
ToArray
();
342
BuildResult[] rootBuildResults = deserializedOutputCacheRoot.ResultsCache.GetEnumerator().
ToArray
();
Graph\ResultCacheBasedBuilds_Tests.cs (2)
359
var buildResults = deserializationInfo.ResultsCache.GetEnumerator().
ToArray
();
365
var configEntries = deserializationInfo.ConfigCache.GetEnumerator().
ToArray
();