rspec/rules/S2368/vbnet/rule.adoc

41 lines
594 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
[source,vbnet]
----
Module Module1
Sub WriteMatrix(ByVal matrix As Integer()()) ' Non-Compliant
' ...
End Sub
End Module
----
=== Compliant solution
[source,vbnet]
----
Class Matrix
' ...
End Class
Module Module1
Sub WriteMatrix(ByVal matrix As Matrix) ' Compliant
' ...
End Sub
End Module
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
endif::env-github,rspecator-view[]