/*
stacktrace-2.js:14
stacktrace-2.js:8
*/
import UnityScript.Tests;

// cuts off the root level of the stacktrace
var p = new Test();

class Test
{
	function Test ()
	{
		throw new System.Exception();
	}
}
@@ -17,9 +17,9 @@
 js:1
-4
+6
 %0Asta
@@ -35,9 +35,9 @@
 .js:
-8
+9
 %0A*/%0A
@@ -61,16 +61,56 @@
 t.Tests;
+%0Aimport System.Runtime.CompilerServices;
 %0A%0A// cut
@@ -180,18 +180,102 @@
 ss Test%0A
-
 %7B%0A
+%09//@MethodImpl(MethodImplOptions.NoInlining) //uncommenting the line makes it work %0A
 %09functio

test would pass if inlining was disabled