resharper-unity
resharper-unity copied to clipboard
Odin support for MinValue and Range are reversed.
Min attempts to get a max position from the attribute:
https://github.com/JetBrains/resharper-unity/blob/98f45648cbf4c1e6d05cb99c7fedeb0ee8cca255/resharper/resharper-unity/src/Unity/Odin/Feature/Services/CodeAnnotations/OdinMinAttributeInformationProvider.cs#L35
And range's upper bound is max value: https://github.com/JetBrains/resharper-unity/blob/98f45648cbf4c1e6d05cb99c7fedeb0ee8cca255/resharper/resharper-unity/src/Unity/Odin/Feature/Services/CodeAnnotations/OdinRangeAttributesInformationProvider.cs#L39
Fixed as part of 2024.2