9 lines
256 B
Plaintext
9 lines
256 B
Plaintext
In the following example, the two calls seem to be attached to the `if` statement, but only the first one is, and `CheckSomething` will always be executed:
|
|
|
|
[source,csharp]
|
|
----
|
|
if (condition) // Noncompliant
|
|
ExecuteSomething();
|
|
CheckSomething();
|
|
----
|