Files
GaslightArrin/JotunnModStub/Properties/IgnoreAccessModifiers.cs
T
2023-01-11 23:27:02 +01:00

17 lines
590 B
C#

// Veilheim
// a Valheim mod
//
// File: IgnoreAccessModifiers.cs
// Project: Veilheim
using System.Security.Permissions;
// SecurityPermision set to minimum
// for skipping access modifiers check from the mono JIT
// The same attribute are added to the assembly when ticking
// Unsafe Code in the Project settings
// This is done here to allow an explanation of the trick and
// not in an outside source you could potentially miss.
#pragma warning disable CS0618 // Type or member is obsolete
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]