rspec/rules/S121/csharp/noncompliant.adoc
2023-06-15 11:57:45 +02:00

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();
----