diff --git a/src/Tests/Runtime/JavascriptCompilation/JsParametrizedCodeTests.cs b/src/Tests/Runtime/JavascriptCompilation/JsParametrizedCodeTests.cs index 0b9dc9ac3..89df492ea 100644 --- a/src/Tests/Runtime/JavascriptCompilation/JsParametrizedCodeTests.cs +++ b/src/Tests/Runtime/JavascriptCompilation/JsParametrizedCodeTests.cs @@ -110,6 +110,7 @@ public void SymbolicParameters_AddDefault() Assert.AreEqual("a+x", assigned.ToString(o => o == symbolE ? CodeParameterAssignment.FromIdentifier("x") : default)); } +#if DotNetCore [TestMethod] public void SymbolicParameters_NoAssignmentNoAllocation() { @@ -121,5 +122,6 @@ public void SymbolicParameters_NoAssignmentNoAllocation() pcode.AssignParameters(noAssignment); Assert.AreEqual(0, GC.GetAllocatedBytesForCurrentThread() - b); } +#endif } }