Skip to content

Commit

Permalink
Modify rule S1186: Fix exception type (#2694)
Browse files Browse the repository at this point in the history
Related to [this community
PR](SonarSource/sonar-dotnet#7587).
  • Loading branch information
zsolt-kolbay-sonarsource authored Jul 31, 2023
1 parent 9c1875b commit ed26048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S1186/csharp/notimplemented-code.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
You can make clear the initial intention to add an implementation in the future by throwing the https://learn.microsoft.com/en-us/dotnet/api/system.notsupportedexception[`NotSupportedException`].
You can make clear the initial intention to add an implementation in the future by throwing the https://learn.microsoft.com/en-us/dotnet/api/system.notimplementedexception[`NotImplementedException`].

[source,csharp]
----
Expand Down

0 comments on commit ed26048

Please sign in to comment.