Releases: microsoft/Microsoft.Unity.Analyzers
Releases · microsoft/Microsoft.Unity.Analyzers
1.12.0
https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.12.0
- Added
UNT0026
,GetComponent
always allocates, to useTryGetComponent
instead. - Updated
UNT0003
, usage of non genericGetComponent
, to work withTryGetComponent
as well. - Updated
UNT0014
,GetComponent
called with non component/interface, to work withTryGetComponent
as well. - Updated
USP0016
, Initialization detection with nullable reference types, to work with non-Unity objects. - Updated
UNT0006
, Incorrect message signature, when checking instance or static methods.
1.11.2
1.11.1
1.11.0
1.10.2
1.10.1
1.10.0
https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.10.0
- Added
UNT0019
diagnostic. Unnecessary indirection call forGameObject.gameObject
. - Added
UNT0020
diagnostic.MenuItem
attribute used on non-static method. - Added
UNT0021
diagnostic. Unity message should be protected (opt-in). - Added
UNT0022
diagnostic. Inefficient method to set position and rotation. - Added
UNT0023
diagnostic. Coalescing assignment on Unity objects. - Added
USP0017
suppressor forIDE0074
. Unity objects should not use coalescing assignment.