Firstborn/Library/PackageCache/com.unity.burst@1.7.3/Runtime/CompilerServices/IgnoreWarningAttribute.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

19 lines
557 B
C#

using System;
namespace Unity.Burst.CompilerServices
{
/// <summary>
/// Can be used to specify that a warning produced by Burst for a given
/// method should be ignored.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class IgnoreWarningAttribute : Attribute
{
/// <summary>
/// Ignore a single warning produced by Burst.
/// </summary>
/// <param name="warning">The warning to ignore.</param>
public IgnoreWarningAttribute(int warning) { }
}
}