How To Prevent Use of NotImplementedException #313
Closed
TheCodeTraveler
started this conversation in
General
Replies: 2 comments
-
Not sure about others, but with Roslyn Analyzers we can do it. I'll what I can do. If we came with an Analyzer would be good to create a repo in this organization to host it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closed as per the Community Stand-up discussion here: https://youtu.be/N9wMcBP4jtg?t=2889 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to use
editorconfig
,Directory.build.props
or Roslyn Analyzers to tell the compiler to trigger a compilation error whenNotImplementedException
is detected?In #296 we replaced
NotImplementedException
withNotSupportedException
becauseNotImplementedException
implies that we will add support for a feature in the future.Going forward, we'd like to avoid new PRs from adding code that throws
NotImplementedException
, however we cannot find aneditorconfig
rule that helps us accomplish this (#296 (comment)).Beta Was this translation helpful? Give feedback.
All reactions