6 writes to StackTop
Microsoft.Build.Framework (1)
Telemetry\CrashTelemetry.cs (1)
403StackTop = ExtractStackTop(exception);
Microsoft.Build.Framework.UnitTests (5)
CrashTelemetry_Tests.cs (5)
113StackTop = "at Foo.Bar()", 164StackTop = "at Foo.Baz()", 574StackTop = "at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Object[] args)", 591StackTop = "at Microsoft.Build.BackEnd.RequestBuilder.BuildProject(String projectFile)", 606StackTop = "at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(String message, Object[] args)",
10 references to StackTop
Microsoft.Build.Framework (4)
Telemetry\CrashTelemetry.cs (4)
146/// is not a throw-helper (in which case <see cref="StackTop"/> already has the meaningful frame). 153/// unlike <see cref="StackTop"/> which only captures one frame. 504AddIfNotNull(StackTop); 574AddIfNotNull(StackTop);
Microsoft.Build.Framework.UnitTests (6)
CrashTelemetry_Tests.cs (6)
38telemetry.StackTop.ShouldNotBeNull(); 97string? stackTop = telemetry.StackTop; 127props[nameof(CrashTelemetry.StackTop)].ShouldBe("at Foo.Bar()"); 177props[nameof(CrashTelemetry.StackTop)].ShouldBe("at Foo.Baz()"); 459telemetry.StackTop.ShouldNotBeNull(); 460telemetry.StackTop!.ShouldContain("ErrorUtilities.ThrowInternalError");