Skip to content

Commit

Permalink
Fix copy paste in S1186 docs (#7587)
Browse files Browse the repository at this point in the history
  • Loading branch information
nalka0 authored Jul 31, 2023
1 parent a75ccbc commit 4b25ebc
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 4b25ebc

Please sign in to comment.