Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
806 stars 66 forks source link

Param array creation diagnostic #103

Closed mtrive closed 2 years ago

mtrive commented 2 years ago

[Problem] Param array allocations are currently reported like any other allocation but there is no information on whether this is the result of a params attribute.

[Solution] This PR introduces support for reporting params object allocations. Note that by doing this, such allocations are reported both as "Array allocation" and "Param Object allocation".

param-alloc