//
// UnsafeAttribute.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NosSmooth.Game.Attributes;
///
/// The given method does not do some checks.
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Struct)]
public class UnsafeAttribute : Attribute
{
///
/// Initializes a new instance of the class.
///
/// The reason.
public UnsafeAttribute(string reason)
{
Reason = reason;
}
///
/// Gets the unsafe reason.
///
public string Reason { get; }
}