23 lines
416 B
Plaintext
23 lines
416 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 ``[Conditional ("DEBUG")]``
|
|
* Calls included in DEBUG preprocessor branches (``#if DEBUG``)
|
|
|
|
include::../see.adoc[]
|