-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛ComparisonType ignored in obsolete Equals method #1396
🐛ComparisonType ignored in obsolete Equals method #1396
Conversation
…he obsolete Equals method
…de the absolute tolerance range
I thought we removed these methods in v6? Aren't they marked obsolete? |
Doesn't seems like it- I only looked at my local version (with the fractions) and see that I've just removed the [Obsolete] annotation (as the operation would be safe), but hadn't noticed the other issue.. |
Actually I must have been looking at one of the other overloads, cause the [Obsolete] annotation is apparently still there and as looked at it a little more closely, realized that there is in fact a good reason to remove it: The two overloads (if we need to have them inside the quantity) should be something like |
Will handle this in #1200 when reviewing all remaining |
I have a working version of #1377 with 0 warning and 0 tests skipped (14 actually but those are expected), with all of the above mentioned changes as well as all [Obsolete] cases handled and ready for review. Everything is looking very good, but I just wanted to test out the nuget with my own code-base first. However I'm going to be busy this week so, decide it to postpone it for the next (weekend hopefully). How do you want to handle it? All in one, or some part of it (like this PR) + the rest? I was hoping that we'd get at least some of these |
OK I'll have to get into #1377 then, it's been looming over me for a long time. Started vacation now, so I may finally find some time for it. |
Yeah, but don't look at #1377, it's obsolete.. I'll have another one soon. What i did for this particular [Obsolete] Equals overload was to removed it- as introducing the overload with The user can either use the other overload (with the absolute tolerance) by multiplying the quantity by a ratio, or switch to directly using the |
OK, let me know when you have something I can look at |
fixes #1394
note that the error is also present in the v6 branch