You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify validation check to single-level if statement
Changed the NotSupportedException validation logic from nested if statements
to a single-level if with a compound condition using logical operators.
This addresses PR review feedback to:
- Remove unnecessary nesting
- Fix indentation issues
- Make the logic more readable and maintainable
The condition now checks all invalid type scenarios in one expression:
- Non-primitive and non-enum types
- float and double primitives
- Enums backed by float or double
All 705 tests pass successfully.
Co-authored-by: EgorBo <523221+EgorBo@users.noreply.github.com>
0 commit comments