rspec/rules/S1186/csharp/comment-code.adoc

9 lines
192 B
Plaintext
Raw Normal View History

2023-06-09 14:51:36 +02:00
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
}
----