[source,csharp]
----
if (condition)
  FirstActionInBlock();
  SecondAction();  // Noncompliant: SecondAction is executed unconditionally
ThirdAction();
----

[source,csharp]
----
if(condition) FirstActionInBlock(); SecondAction();  // Noncompliant: SecondAction is executed unconditionally
----

[source,csharp]
----
if (condition) FirstActionInBlock(); 
  SecondAction();  // Noncompliant: SecondAction is executed unconditionally
----

[source,csharp]
----
string str = null;
for (int i = 0; i < array.Length; i++) 
  str = array[i];
  DoTheThing(str);  // Noncompliant: executed only on the last element
----
