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

11 lines
337 B
C#
Raw Normal View History

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