No Description
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.

IgnoreWarningAttribute.cs 557B

123456789101112131415161718
  1. using System;
  2. namespace Unity.Burst.CompilerServices
  3. {
  4. /// <summary>
  5. /// Can be used to specify that a warning produced by Burst for a given
  6. /// method should be ignored.
  7. /// </summary>
  8. [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
  9. public class IgnoreWarningAttribute : Attribute
  10. {
  11. /// <summary>
  12. /// Ignore a single warning produced by Burst.
  13. /// </summary>
  14. /// <param name="warning">The warning to ignore.</param>
  15. public IgnoreWarningAttribute(int warning) { }
  16. }
  17. }