rspec/rules/S1186/vbnet/notsupported-code.adoc
2023-06-09 14:51:36 +02:00

8 lines
287 B
Plaintext

By throwing the https://learn.microsoft.com/en-us/dotnet/api/system.notsupportedexception[`NotSupportedException`], it makes clear the initial intention not to implement it in the future.
[source,vbnet]
----
Sub DoSomething() ' Compliant
Throw New NotSupportedException
End Sub
----