Files
RobustToolbox/Robust.Shared/IgnoreAccessChecksToAttribute.cs
Pieter-Jan Briers e68c5b47e7 Remove Fody and ImageSharp hack.
They have a public method for this...
2020-07-20 01:09:06 +02:00

21 lines
625 B
C#

// ReSharper disable once CheckNamespace
namespace System.Runtime.CompilerServices {
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
internal class IgnoresAccessChecksToAttribute : Attribute {
// ReSharper disable once InconsistentNaming
private readonly string assemblyName;
// ReSharper disable once ConvertToAutoProperty
// ReSharper disable once UnusedMember.Global
public string AssemblyName
=> assemblyName;
public IgnoresAccessChecksToAttribute(string assemblyName)
=> this.assemblyName = assemblyName;
}
}