Files
Umbraco-CMS/src/Umbraco.Web.Common/AspNetCore/AspNetCoreMarchal.cs

14 lines
366 B
C#
Raw Normal View History

2020-02-24 16:18:47 +01:00
using System;
using System.Runtime.InteropServices;
using Umbraco.Core.Diagnostics;
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();
}
}