-
Notifications
You must be signed in to change notification settings - Fork 337
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
Replaces NotImplementedException
with NotSupportedException
#296
Conversation
- BaseOneWayConverter non generic introduced - All throw NotSupportedException
Some comments online suggest we may be able to prevent the usage of |
The introduction of |
Hey Shaun! I just had a moment of inspiration about adding Check it out and let me know what you think! |
* Handle Nullable * Update ImageResourceConverter * Update IsStringNotNullOrEmptyConverter * Update EqualConverter * Update Remaining Converters * Update BaseConverterOneWay.shared.cs * Update BaseConverterOneWay.shared.cs * Update IsStringNotNullOrEmptyConverter.shared.cs * Update Defunct XML Comment * Fix Null Dereference * Remove double cast * Convert `!=` to `is not` * Remove unnecessary `throw new NullReferenceException` * Add `ArgumentException` to null check * Update BaseConverterOneWay.shared.cs
NotImplementedException
with NotSupportedException
Dang - yea, I can't seem to find anything either that would tell the compiler to throw an error when it detects Since this PR is growing a bit in scope, I recommend doing the following, then let's merge this PR:
|
Discussion opened: #313 |
Hey @bijington! I've updated I'm going to move this PR out of Draft because I think it's ready to be merged now that we've moved the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brminnick thanks for the updates to this PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Shaun! I'm good for you to merge this 🙌
Description of Change
Replaces all usages of
NotImplementedException
withNotSupportedException
.Linked Issues
PR Checklist
approved
(bug) orChampioned
(feature/proposal)main
at time of PRAdditional information