2020-02-24 16:18:47 +01:00
|
|
|
using System;
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
using Umbraco.Core.Diagnostics;
|
|
|
|
|
|
2020-03-27 11:39:17 +01:00
|
|
|
namespace Umbraco.Web.Common.AspNetCore
|
2020-02-24 16:18:47 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|