8 writes to Properties
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
807Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1294Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties),
Microsoft.Build.Framework.UnitTests (5)
CustomEventArgSerialization_Tests.cs (5)
983TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 996TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = null }; 1003genericEvent.Properties = new Dictionary<string, string>(); 1013TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = null, Properties = new Dictionary<string, string> { { "Key", "Value" } } }; 1026TelemetryEventArgs genericEvent = new TelemetryEventArgs { EventName = "Good", Properties = new Dictionary<string, string> { { "Key", null } } };
MSBuild (1)
OutOfProcTaskHostNode.cs (1)
482Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties),
11 references to Properties
Microsoft.Build.Engine.UnitTests (3)
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
1300Assert.Equal(expectedEventArgs.Properties.OrderBy(kvp => kvp.Key, StringComparer.Ordinal), actualEventArgs.Properties.OrderBy(kvp => kvp.Key, StringComparer.OrdinalIgnoreCase)); 1306Assert.False(Object.ReferenceEquals(actualEventArgs.Properties, properties));
Microsoft.Build.Framework (4)
TelemetryEventArgs.cs (4)
32int count = Properties?.Count ?? 0; 35if (Properties == null) 40foreach (var kvp in Properties) 57Properties.Add(key, value);
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (2)
1052actual.Properties.ShouldBe(expected.Properties);
Microsoft.Build.UnitTests.Shared (1)
MockLogger.cs (1)
428foreach (KeyValuePair<string, string> pair in telemetryEventArgs.Properties)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
204if (!e.Properties.TryGetValue("Category", out string telemetryCategory))