rspec/rules/S3860/vbnet/rule.adoc

29 lines
484 B
Plaintext
Raw Normal View History

2021-04-28 16:49:39 +02:00
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.
2021-04-28 16:49:39 +02:00
== Noncompliant Code Example
----
Sub Foo(ByVal bar As String)
' ...
End Sub
----
2021-04-28 16:49:39 +02:00
== 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[]