* Run code cleanup * Run dotnet format * Start manual cleanup in Web.Common * Finish up manual cleanup * Fix tests * Fix up InMemoryModelFactory.cs * Inject proper macroRenderer * Update src/Umbraco.Web.Common/Filters/JsonDateTimeFormatAttribute.cs Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> * Update src/Umbraco.Web.Common/Filters/ValidateUmbracoFormRouteStringAttribute.cs Co-authored-by: Mole <nikolajlauridsen@protonmail.ch> * Fix based on review Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk> Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
11 lines
337 B
C#
11 lines
337 B
C#
using System.Runtime.InteropServices;
|
|
using Umbraco.Cms.Core.Diagnostics;
|
|
|
|
namespace Umbraco.Cms.Web.Common.AspNetCore;
|
|
|
|
public class AspNetCoreMarchal : IMarchal
|
|
{
|
|
// This thing is not available in net standard, but exists in both .Net 4 and .Net Core 3
|
|
public IntPtr GetExceptionPointers() => Marshal.GetExceptionPointers();
|
|
}
|