AssemblyInfo.cs 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2022 Kybernetik //
  2. using System.Diagnostics.CodeAnalysis;
  3. using System.Reflection;
  4. [assembly: AssemblyTitle("Animancer.FSM")]
  5. [assembly: AssemblyDescription("A Finite State Machine system for Unity.")]
  6. [assembly: AssemblyProduct("Animancer")]
  7. [assembly: AssemblyCompany("Kybernetik")]
  8. [assembly: AssemblyCopyright("Copyright © Kybernetik 2022")]
  9. [assembly: AssemblyVersion("7.3.0.0")]
  10. #if UNITY_EDITOR
  11. [assembly: SuppressMessage("Style", "IDE0016:Use 'throw' expression",
  12. Justification = "Not supported by older Unity versions.")]
  13. [assembly: SuppressMessage("Style", "IDE0019:Use pattern matching",
  14. Justification = "Not supported by older Unity versions.")]
  15. [assembly: SuppressMessage("Style", "IDE0039:Use local function",
  16. Justification = "Not supported by older Unity versions.")]
  17. [assembly: SuppressMessage("Style", "IDE0044:Make field readonly",
  18. Justification = "Using the [SerializeField] attribute on a private field means Unity will set it from serialized data.")]
  19. [assembly: SuppressMessage("Code Quality", "IDE0051:Remove unused private members",
  20. Justification = "Unity messages can be private, but the IDE will not know that Unity can still call them.")]
  21. [assembly: SuppressMessage("Code Quality", "IDE0052:Remove unread private members",
  22. Justification = "Unity messages can be private and don't need to be called manually.")]
  23. [assembly: SuppressMessage("Style", "IDE0060:Remove unused parameter",
  24. Justification = "Unity messages sometimes need specific signatures, even if you don't use all the parameters.")]
  25. [assembly: SuppressMessage("Style", "IDE0063:Use simple 'using' statement",
  26. Justification = "Not supported by older Unity versions.")]
  27. [assembly: SuppressMessage("Style", "IDE0066:Convert switch statement to expression",
  28. Justification = "Not supported by older Unity versions.")]
  29. [assembly: SuppressMessage("Code Quality", "IDE0067:Dispose objects before losing scope",
  30. Justification = "Not always relevant.")]
  31. [assembly: SuppressMessage("Code Quality", "IDE0068:Use recommended dispose pattern",
  32. Justification = "Not always relevant.")]
  33. [assembly: SuppressMessage("Code Quality", "IDE0069:Disposable fields should be disposed",
  34. Justification = "Not always relevant.")]
  35. [assembly: SuppressMessage("Style", "IDE0083:Use pattern matching",
  36. Justification = "Not supported by older Unity versions")]
  37. [assembly: SuppressMessage("Style", "IDE0090:Use 'new(...)'",
  38. Justification = "Not supported by older Unity versions.")]
  39. [assembly: SuppressMessage("CodeQuality", "IDE0079:Remove unnecessary suppression",
  40. Justification = "Don't give code style advice in publically released code.")]
  41. [assembly: SuppressMessage("Style", "IDE1006:Naming Styles",
  42. Justification = "Don't give code style advice in publically released code.")]
  43. [assembly: SuppressMessage("Correctness", "UNT0005:Suspicious Time.deltaTime usage",
  44. Justification = "Time.deltaTime is not suspicious in FixedUpdate, it has the same value as Time.fixedDeltaTime")]
  45. [assembly: SuppressMessage("Code Quality", "CS0649:Field is never assigned to, and will always have its default value",
  46. Justification = "Using the [SerializeField] attribute on a private field means Unity will set it from serialized data.")]
  47. [assembly: SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable",
  48. Justification = "Having a field doesn't mean you are responsible for creating and destroying it.")]
  49. [assembly: SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly",
  50. Justification = "Not all events need to care about the sender.")]
  51. [assembly: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes",
  52. Justification = "No need to pollute the member list of implementing types.")]
  53. [assembly: SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly",
  54. Justification = "No need to pollute the member list of implementing types.")]
  55. [assembly: SuppressMessage("Microsoft.Usage", "CA2235:MarkAllNonSerializableFields",
  56. Justification = "UnityEngine.Object is serializable by Unity.")]
  57. #endif