7 lines
299 B
Plaintext
7 lines
299 B
Plaintext
You can make clear the initial intention not to implement the method in the future by throwing the https://learn.microsoft.com/en-us/dotnet/api/system.notsupportedexception[`NotSupportedException`].
|
|
|
|
[source,csharp]
|
|
----
|
|
void DoSomething() => // Compliant
|
|
throw new NotSupportedException();
|
|
---- |