14 lines
366 B
C#
14 lines
366 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Umbraco.Core.Diagnostics;
|
|
|
|
namespace Umbraco.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();
|
|
}
|
|
}
|