8 references to ToDictionary
Microsoft.Build (6)
BackEnd\Components\Logging\LoggingService.cs (1)
1295s_projectStartedEventArgsGlobalProperties.Value.SetValue(projectStartedEventArgs, buildRequestConfiguration.GlobalProperties.ToDictionary(), index: null);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
568IDictionary<string, string> globalProperties = buildRequestConfiguration.GlobalProperties.ToDictionary();
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
364BuildRequestData data = new BuildRequestData(projectFiles[i], properties[i].ToDictionary(), explicitToolsVersion, targets, null);
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
687return _requestEntry.RequestConfiguration.GlobalProperties.ToDictionary();
BackEnd\Components\Scheduler\Scheduler.cs (1)
1770config.GlobalProperties.ToDictionary().Select(kvp => $"{kvp.Key}={kvp.Value}"));
Graph\GraphBuilder.cs (1)
528var globalProperties = configurationMetadata.GlobalProperties.ToDictionary();
Microsoft.Build.Engine.UnitTests (2)
BackEnd\BuildRequestConfiguration_Tests.cs (2)
231BuildRequestData data = new BuildRequestData("file", props.ToDictionary(), "toolsVersion", Array.Empty<string>(), null); 246BuildRequestData data = new BuildRequestData("file", properties.ToDictionary(), "4.0", Array.Empty<string>(), null);