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