暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DotsRuntimeIgnore.cs 763B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using NUnit.Framework;
  3. namespace Unity.Collections.Tests
  4. {
  5. #if UNITY_DOTSRUNTIME
  6. internal class DotsRuntimeIgnore : IgnoreAttribute
  7. {
  8. public DotsRuntimeIgnore(string msg="") : base("Need to fix for DotsRuntime.")
  9. {
  10. }
  11. }
  12. #else
  13. internal class DotsRuntimeIgnoreAttribute : Attribute
  14. {
  15. public DotsRuntimeIgnoreAttribute(string msg="")
  16. {
  17. }
  18. }
  19. #endif
  20. }
  21. // This is duplicated from Entities.
  22. #if UNITY_PORTABLE_TEST_RUNNER
  23. class IgnoreInPortableTests : IgnoreAttribute
  24. {
  25. public IgnoreInPortableTests(string reason) : base(reason)
  26. {
  27. }
  28. }
  29. #else
  30. class IgnoreInPortableTestsAttribute : Attribute
  31. {
  32. public IgnoreInPortableTestsAttribute(string reason)
  33. {
  34. }
  35. }
  36. #endif