using System; namespace Rider20182 { internal class DebuggerStackFrames1 { // Improved presentation of stack frames (.ctor -> new T, .cctor -> static T, generic types with actual substitution) RIDER-11187 static DebuggerStackFrames1() { new DebuggerStackFrames1(); } public DebuggerStackFrames1() { Run(null); } public static void Run(string[] args) { new MyClass1().DoSomething(); } public static void SomeMethod() { SomeMethod(); } public static void SomeMethod() { // Place breakpoint here, and compare call stack with previous versions Console.WriteLine(); } } internal class MyClass1 { public void DoSomething() { DebuggerStackFrames1.SomeMethod(); } } }