rspec/rules/S3860/vbnet/rule.adoc
2021-06-02 20:44:38 +02:00

29 lines
484 B
Plaintext

Since Visual Studio 2010 SP1, the ``++ByVal++`` parameter modifier is implicitly applied, and therefore not required anymore. Removing it from your source code will improve readability.
== Noncompliant Code Example
----
Sub Foo(ByVal bar As String)
' ...
End Sub
----
== Compliant Solution
----
Sub Foo(bar As String)
' ...
End Sub
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::rspecator-view[]