rspec/rules/S106/csharp/rule.adoc
Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

23 lines
434 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
private void DoSomething()
{
// ...
Console.WriteLine("so far, so good..."); // Noncompliant
// ...
}
----
== Exceptions
The following are ignored by this rule:
* Console Applications
* Calls in methods decorated with <code>[Conditional ("DEBUG")]</code>
* Calls included in DEBUG preprocessor branches (<code>#if DEBUG</code>)
include::../see.adoc[]