rspec/rules/S3973/csharp/rule.adoc

33 lines
427 B
Plaintext
Raw Normal View History

2020-06-30 12:48:39 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
if (condition) // Noncompliant
DoTheThing();
DoTheOtherThing();
SomethingElseEntirely();
Foo();
----
== Compliant Solution
----
if (condition)
DoTheThing();
DoTheOtherThing();
SomethingElseEntirely();
Foo();
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]