18 writes to Properties
dotnet.Tests (10)
CommandTests\MSBuild\GivenMSBuildLogger.cs (10)
21Properties = new Dictionary<string, string> 39Properties = new Dictionary<string, string> 62Properties = new Dictionary<string, string> 84Properties = new Dictionary<string, string> 107Properties = new Dictionary<string, string> 132Properties = new Dictionary<string, string> 142Properties = new Dictionary<string, string> 152Properties = new Dictionary<string, string> 162Properties = new Dictionary<string, string> 199Properties = new Dictionary<string, string>
Microsoft.Build (1)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
812Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1293Properties = 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)
486Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties),
20 references to Properties
dotnet (8)
Commands\MSBuild\MSBuildLogger.cs (8)
176foreach (var kvp in args.Properties) 197TrackEvent(telemetry, $"msbuild/{TargetFrameworkTelemetryEventName}", args.Properties); 200TrackEvent(telemetry, $"msbuild/{BuildTelemetryEventName}", args.Properties, 206TrackEvent(telemetry, $"msbuild/{LoggingConfigurationTelemetryEventName}", args.Properties, 211TrackEvent(telemetry, $"msbuild/{BuildcheckAcquisitionFailureEventName}", args.Properties, 216TrackEvent(telemetry, $"msbuild/{BuildcheckRunEventName}", args.Properties, 221TrackEvent(telemetry, $"msbuild/{BuildcheckRuleStatsEventName}", args.Properties, 234TrackEvent(telemetry, args.EventName, args.Properties);
dotnet.Tests (1)
CommandTests\MSBuild\GivenMSBuildLogger.cs (1)
119fakeTelemetry.LogEntry.Properties.Should().BeEquivalentTo(telemetryEventArgs.Properties);
Microsoft.Build.Engine.UnitTests (3)
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
1299Assert.Equal(expectedEventArgs.Properties.OrderBy(kvp => kvp.Key, StringComparer.Ordinal), actualEventArgs.Properties.OrderBy(kvp => kvp.Key, StringComparer.OrdinalIgnoreCase)); 1305Assert.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))