rspec/rules/S3860/vbnet/rule.adoc

22 lines
349 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
----