powerfun-unity/Assets/Plugins/Beebyte/Obfuscator/SuppressLogAttribute.cs
2023-04-14 15:51:28 +08:00

25 lines
482 B
C#

using System;
namespace Beebyte.Obfuscator
{
/**
* Suppresses certain messages (usually warnings) that the Obfuscator can output.
*/
[AttributeUsage(AttributeTargets.Method)]
public class SuppressLogAttribute : System.Attribute
{
#pragma warning disable 414
private readonly MessageCode _messageCode;
#pragma warning restore 414
private SuppressLogAttribute()
{
}
public SuppressLogAttribute(MessageCode messageCode)
{
_messageCode = messageCode;
}
}
}