Inspectopedia
 
2024.3

Boxed properties should be replaced with unboxed

Info
New
Last modified: 03 December 2024

Reports boxed Range.start and Range.endInclusive properties.

These properties can be replaced with unboxed first and last properties to avoid redundant calls.

The quick-fix replaces start and endInclusive properties with the corresponding first and last.

Example:

After the quick-fix is applied: