3 writes to InnerExceptionStackTrace
Microsoft.Build.Framework (1)
Telemetry\CrashTelemetry.cs (1)
424
InnerExceptionStackTrace
= ExtractFullStackTrace(inner);
Microsoft.Build.Framework.UnitTests (2)
CrashTelemetry_Tests.cs (2)
325
InnerExceptionStackTrace
= " at SomeLogger.HandleEvent()",
349
InnerExceptionStackTrace
= " at SomeComponent.DoWork()",
12 references to InnerExceptionStackTrace
Microsoft.Build.Framework (2)
Telemetry\CrashTelemetry.cs (2)
519
AddIfNotNull(
InnerExceptionStackTrace
);
589
AddIfNotNull(
InnerExceptionStackTrace
);
Microsoft.Build.Framework.UnitTests (10)
CrashTelemetry_Tests.cs (10)
57
telemetry.
InnerExceptionStackTrace
.ShouldBeNull();
147
props.ShouldNotContainKey(nameof(CrashTelemetry.
InnerExceptionStackTrace
));
334
props[nameof(CrashTelemetry.
InnerExceptionStackTrace
)].ShouldBe(" at SomeLogger.HandleEvent()");
358
props[nameof(CrashTelemetry.
InnerExceptionStackTrace
)].ShouldBe(" at SomeComponent.DoWork()");
889
telemetry.
InnerExceptionStackTrace
.ShouldNotBeNull();
890
telemetry.
InnerExceptionStackTrace
!.ShouldContain(nameof(PopulateFromException_CapturesInnerExceptionStack).Substring(0, 20));
905
telemetry.
InnerExceptionStackTrace
.ShouldNotBeNull();
906
telemetry.
InnerExceptionStackTrace
!.ShouldNotContain("useralias");
907
telemetry.
InnerExceptionStackTrace
.ShouldContain("<redacted>");
908
telemetry.
InnerExceptionStackTrace
.ShouldContain("SomeLogger.HandleEvent");