rspec/rules/S1123/vbnet/rule.adoc

50 lines
719 B
Plaintext
Raw Normal View History

== Why is this an issue?
2022-11-29 16:57:02 +01:00
include::../description-dotnet.adoc[]
=== Noncompliant code example
2022-11-29 16:57:02 +01:00
[source,vbnet]
----
Public Class Car
<Obsolete> ' Noncompliant
Public Sub CrankEngine(Turns As Integer)
' ...
End Sub
End Class
----
=== Compliant solution
2022-11-29 16:57:02 +01:00
[source,vbnet]
----
Public Class Car
<Obsolete("Replaced by the automatic starter")>
Public Sub CrankEngine(Turns As Integer)
' ...
End Sub
End Class
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Add an explanation.
2022-11-29 16:57:02 +01:00
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]