oops didn't mean to checkin this experiment (it doesn't do anything actually)

This commit is contained in:
CasualPokePlayer 2022-12-17 21:53:47 -08:00
parent 339915c013
commit cee263e272
1 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System.Reflection.Emit; using System.Reflection.Emit;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Security;
using System.Text; using System.Text;
using BizHawk.Common; using BizHawk.Common;
using BizHawk.Common.CollectionExtensions; using BizHawk.Common.CollectionExtensions;
@ -366,9 +365,6 @@ namespace BizHawk.BizInvoke
returnType, returnType,
paramTypes); paramTypes);
// live dangerously
method.SetCustomAttribute(new(typeof(SuppressUnmanagedCodeSecurityAttribute).GetConstructor(Type.EmptyTypes), Array.Empty<object>()));
var il = method.GetILGenerator(); var il = method.GetILGenerator();
Label exc = default; Label exc = default;