rspec/rules/S1145/csharp/rule.adoc

25 lines
227 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
if (true)
{
DoSomething();
}
...
if (false)
{
DoSomethingElse();
}
----
== Compliant Solution
----
DoSomething();
...
----
include::../see.adoc[]