Commit Graph

2 Commits

Author SHA1 Message Date
N. Taylor Mullen c76cb9248d Add support for increment/decrement [Parameter] usage detection.
- Didn't realize there was an increment or decrement operation kind.
- Added tests to cover this scenario

#12543
2019-07-25 08:47:13 -07:00
N. Taylor Mullen cae31a55f9 Add analyzer to warn for invalid Component parameter usage.
- The newly added analyzer warns users if they try to assign another components parameter.It does sanity checks to ensure that
  1. The property reference is indeed a component parameter
  2. The property reference is from a component
  3. The assignment is outside of the parameters type hierarchy. Aka, we don't warn users for setting a components parameter if it's in the same class.

- Updated existing `ComponentsFacts` to add additional utility methods to properly interact with components.
- Added tests to ensure we're analyzing all the goods properly.

#8825
2019-07-17 14:49:44 -07:00