Initial commit
This commit is contained in:
commit
c4a24c9fdf
142 changed files with 15491 additions and 0 deletions
17
JotunnModStub/Properties/IgnoreAccessModifiers.cs
Normal file
17
JotunnModStub/Properties/IgnoreAccessModifiers.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// 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)]
|
||||
Loading…
Add table
Add a link
Reference in a new issue