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