rspec/rules/S1066/csharp/rule.adoc

30 lines
372 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
if (condition1)
{
if (condition2)
{
// ...
}
}
----
== Compliant Solution
----
if (condition1 && condition2)
{
// ...
}
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]