25 lines
482 B
C#
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;
|
|
}
|
|
}
|
|
}
|