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

9 lines
192 B
Plaintext

In this case, it is important to put a comment explaining the reason for the empty implementation.
[source,csharp]
----
void DoSomething() // Compliant
{
// Do nothing because of X
}
----