3 writes to StackHash
Microsoft.Build.Framework (1)
Telemetry\CrashTelemetry.cs (1)
402
StackHash
= ComputeStackHash(exception);
Microsoft.Build.Framework.UnitTests (2)
CrashTelemetry_Tests.cs (2)
112
StackHash
= "ABC123",
163
StackHash
= "DEF456",
16 references to StackHash
Microsoft.Build.Framework (4)
Telemetry\CrashTelemetry.cs (2)
503
AddIfNotNull(
StackHash
);
573
AddIfNotNull(
StackHash
);
Telemetry\CrashTelemetryRecorder.cs (2)
168
if (crashTelemetry.
StackHash
is not null)
170
faultEvent.Properties[$"{TelemetryConstants.PropertyPrefix}StackHash"] = crashTelemetry.
StackHash
;
Microsoft.Build.Framework.UnitTests (12)
CrashTelemetry_Tests.cs (12)
37
telemetry.
StackHash
.ShouldNotBeNull();
78
t1.
StackHash
.ShouldBe(t2.
StackHash
);
126
props[nameof(CrashTelemetry.
StackHash
)].ShouldBe("ABC123");
150
props.ShouldNotContainKey(nameof(CrashTelemetry.
StackHash
));
176
props[nameof(CrashTelemetry.
StackHash
)].ShouldBe("DEF456");
973
t1.
StackHash
.ShouldNotBeNull();
974
t2.
StackHash
.ShouldNotBeNull();
975
t1.
StackHash
.ShouldNotBe(t2.
StackHash
);
991
t1.
StackHash
.ShouldBe(t2.
StackHash
);