1.7.0
https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.7.0
- Added
UNT0015
diagnostic. Detect incorrect method signature withInitializeOnLoadMethod
orRuntimeInitializeOnLoadMethod
attribute. - Added
UNT0016
diagnostic. UsingInvoke
,InvokeRepeating
,StartCoroutine
orStopCoroutine
with a first argument being a string literal is not type safe. - Added
UNT0017
diagnostic.SetPixels
invocation is slow. - Fixed
USP0004
,USP0006
andUSP0007
suppressors with the following rules: suppressIDE0044
(readonly),IDE0051
(unused),CS0649
(never assigned) for all fields decorated with SerializeField attribute. SuppressCS0649
(never assigned) for public fields of all types extendingUnity.Object
. - Fixed generic type parameter checking for
UNT0014
diagnostic.