Skip to content
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

Update S1186: Change expcetion type in RPSEC #7587

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analyzers/rspec/cs/S1186.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2>Why is this an issue?</h2>
void DoSomething() =&gt; // Compliant
throw new NotSupportedException();
</pre> </li>
<li> The method will be implemented in the future. You can make clear the initial intention to add an implementation in the future by throwing the <a href="https://learn.microsoft.com/en-us/dotnet/api/system.notsupportedexception"><code>NotSupportedException</code></a>. <pre>
<li> The method will be implemented in the future. You can make clear the initial intention to add an implementation in the future by throwing the <a href="https://learn.microsoft.com/en-us/dotnet/api/system.notimplementedexception"><code>NotImplementedException</code></a>. <pre>
void DoSomething() =&gt; // Compliant
throw new NotImplementedException();
</pre> </li>
Expand Down