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