9 references to ToDictionary
Microsoft.Build (7)
BackEnd\Components\Logging\LoggingService.cs (1)
1331
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)
366
BuildRequestData data = new BuildRequestData(projectFiles[i], properties[i].
ToDictionary
(), explicitToolsVersion, targets, null);
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
689
return _requestEntry.RequestConfiguration.GlobalProperties.
ToDictionary
();
BackEnd\Components\Scheduler\Scheduler.cs (1)
1830
config.GlobalProperties.
ToDictionary
().Select(kvp => $"{kvp.Key}={kvp.Value}"));
Collections\PropertyDictionary.cs (1)
584
: new System.Collections.ObjectModel.ReadOnlyDictionary<string, string>(
ToDictionary
());
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);