You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
557 B
18 lines
557 B
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) { } |
|
} |
|
}
|
|
|