AssemblyInfo.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Animancer // https://kybernetik.com.au/animancer // Copyright 2018-2024 Kybernetik //
  2. using System.Diagnostics.CodeAnalysis;
  3. using System.Reflection;
  4. [assembly: AssemblyTitle("Kybernetik.Animancer.Editor")]
  5. [assembly: AssemblyProduct("Animancer Pro")]
  6. [assembly: AssemblyDescription("An animation system for Unity which is based on the Playables API.")]
  7. [assembly: AssemblyCompany("Kybernetik")]
  8. [assembly: AssemblyCopyright("Copyright © Kybernetik 2018-2024")]
  9. [assembly: AssemblyVersion("8.0.2.29")]
  10. #if UNITY_EDITOR
  11. [assembly: SuppressMessage("Style", "IDE0039:Use local function",
  12. Justification = "Locals create a new delegate with each use which is less efficient and can break code.")]
  13. [assembly: SuppressMessage("Style", "IDE0044:Make field readonly",
  14. Justification = "Using the [SerializeField] attribute on a private field means Unity will set it from serialized data.")]
  15. [assembly: SuppressMessage("Code Quality", "IDE0051:Remove unused private members",
  16. Justification = "Unity messages can be private, but the IDE will not know that Unity can still call them.")]
  17. [assembly: SuppressMessage("Code Quality", "IDE0052:Remove unread private members",
  18. Justification = "Unity messages can be private and don't need to be called manually.")]
  19. [assembly: SuppressMessage("Style", "IDE0060:Remove unused parameter",
  20. Justification = "Unity messages sometimes need specific signatures, even if you don't use all the parameters.")]
  21. [assembly: SuppressMessage("Style", "IDE0062:Make local function 'static'",
  22. Justification = "Not supported by Unity")]
  23. [assembly: SuppressMessage("Style", "IDE0063:Use simple 'using' statement",
  24. Justification = "Not always good for implying intent.")]
  25. [assembly: SuppressMessage("Code Quality", "IDE0067:Dispose objects before losing scope",
  26. Justification = "Not always relevant.")]
  27. [assembly: SuppressMessage("Code Quality", "IDE0068:Use recommended dispose pattern",
  28. Justification = "Not always relevant.")]
  29. [assembly: SuppressMessage("Code Quality", "IDE0069:Disposable fields should be disposed",
  30. Justification = "Not always relevant.")]
  31. [assembly: SuppressMessage("CodeQuality", "IDE0079:Remove unnecessary suppression",
  32. Justification = "Don't give code style advice in publically released code.")]
  33. [assembly: SuppressMessage("Style", "IDE1006:Naming Styles",
  34. Justification = "Don't give code style advice in publically released code.")]
  35. [assembly: SuppressMessage("Correctness", "UNT0005:Suspicious Time.deltaTime usage",
  36. Justification = "Time.deltaTime is not suspicious in FixedUpdate, it has the same value as Time.fixedDeltaTime")]
  37. [assembly: SuppressMessage("Type Safety", "UNT0014:Invalid type for call to GetComponent",
  38. Justification = "Doesn't account for generic constraints.")]
  39. [assembly: SuppressMessage("Correctness", "UNT0029:Pattern matching with null on Unity objects",
  40. Justification = "Use a regular equality check if handling destroyed objects is necessary")]
  41. [assembly: SuppressMessage("Code Quality", "CS0649:Field is never assigned to, and will always have its default value",
  42. Justification = "Using the [SerializeField] attribute on a private field means Unity will set it from serialized data.")]
  43. [assembly: SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable",
  44. Justification = "Having a field doesn't mean you are responsible for creating and destroying it.")]
  45. [assembly: SuppressMessage("Microsoft.Design", "CA1009:DeclareEventHandlersCorrectly",
  46. Justification = "Not all events need to care about the sender.")]
  47. [assembly: SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes",
  48. Justification = "No need to pollute the member list of implementing types.")]
  49. [assembly: SuppressMessage("Microsoft.Design", "CA1063:ImplementIDisposableCorrectly",
  50. Justification = "No need to pollute the member list of implementing types.")]
  51. [assembly: SuppressMessage("Microsoft.Usage", "CA2235:MarkAllNonSerializableFields",
  52. Justification = "UnityEngine.Object is serializable by Unity.")]
  53. #endif