Created
April 9, 2024 16:51
-
-
Save Fusion86/7095393c2e7d2d3f01490dcdf099ae62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[assembly: IgnoresAccessChecksTo("SecretProgram")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace System.Runtime.CompilerServices | |
{ | |
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] | |
public class IgnoresAccessChecksToAttribute : Attribute | |
{ | |
public IgnoresAccessChecksToAttribute(string assemblyName) | |
{ | |
AssemblyName = assemblyName; | |
} | |
public string AssemblyName { get; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment