Skip to content

1.7.0

Compare
Choose a tag to compare
@sailro sailro released this 24 Feb 23:14
· 216 commits to main since this release
e1efba6

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.7.0

  • Added UNT0015 diagnostic. Detect incorrect method signature with InitializeOnLoadMethod or RuntimeInitializeOnLoadMethod attribute.
  • Added UNT0016 diagnostic. Using Invoke, InvokeRepeating, StartCoroutine or StopCoroutine with a first argument being a string literal is not type safe.
  • Added UNT0017 diagnostic. SetPixels invocation is slow.
  • Fixed USP0004, USP0006 and USP0007 suppressors with the following rules: suppress IDE0044 (readonly), IDE0051 (unused), CS0649 (never assigned) for all fields decorated with SerializeField attribute. Suppress CS0649 (never assigned) for public fields of all types extending Unity.Object.
  • Fixed generic type parameter checking for UNT0014 diagnostic.