1 write to Properties
dotnet.Tests (1)
CommandTests\MSBuild\FakeTelemetry.cs (1)
18var entry = new LogEntry { EventName = eventName, Properties = properties, Measurement = measurements };
18 references to Properties
dotnet.Tests (18)
CommandTests\MSBuild\GivenMSBuildLogger.cs (18)
50fakeTelemetry.LogEntry.Properties.Keys.Count.Should().Be(2); 51fakeTelemetry.LogEntry.Properties["exceptionType"].Should().Be("System.Exception"); 52fakeTelemetry.LogEntry.Properties["detail"].Should().Be("Exception detail"); 72fakeTelemetry.LogEntry.Properties.Keys.Count.Should().Be(2); 73fakeTelemetry.LogEntry.Properties["PublishReadyToRun"].Should().Be("null"); 74fakeTelemetry.LogEntry.Properties["otherProperty"].Should().Be("otherProperty value"); 94fakeTelemetry.LogEntry.Properties.Keys.Count.Should().Be(2); 95fakeTelemetry.LogEntry.Properties["PublishReadyToRunUseCrossgen2"].Should().Be("null"); 96fakeTelemetry.LogEntry.Properties["otherProperty"].Should().Be("otherProperty value"); 119fakeTelemetry.LogEntry.Properties.Should().BeEquivalentTo(telemetryEventArgs.Properties); 179taskFactoryEntry.Properties["AssemblyTaskFactoryTasksExecutedCount"].Should().Be("5"); // 2 + 3 180taskFactoryEntry.Properties["RoslynCodeTaskFactoryTasksExecutedCount"].Should().Be("1"); // 1 + 0 181taskFactoryEntry.Properties["CustomTaskFactoryTasksExecutedCount"].Should().Be("2"); // 0 + 2 185tasksEntry.Properties["TasksExecutedCount"].Should().Be("8"); // 3 + 5 186tasksEntry.Properties["TaskHostTasksExecutedCount"].Should().Be("2"); // 2 + 0 213fakeTelemetry.LogEntry.Properties["AssemblyTaskFactoryTasksExecutedCount"].Should().Be("3"); 214fakeTelemetry.LogEntry.Properties.Should().NotContainKey("InvalidProperty"); 215fakeTelemetry.LogEntry.Properties.Should().NotContainKey("InvalidProperty2");