rspec/rules/S4159/vbnet/rule.adoc

41 lines
679 B
Plaintext
Raw Normal View History

== Why is this an issue?
include::../why.adoc[]
2020-06-30 12:49:37 +02:00
== How to fix it
2020-06-30 12:49:37 +02:00
=== Code examples
==== Noncompliant code example
[source,vbnet,diff-id=1,diff-type=noncompliant]
2020-06-30 12:49:37 +02:00
----
<Export(GetType(ISomeType))>
Public Class SomeType ' Noncompliant: doesn't implement 'ISomeType'.
2020-06-30 12:49:37 +02:00
End Class
----
==== Compliant solution
2020-06-30 12:49:37 +02:00
[source,vbnet,diff-id=1,diff-type=compliant]
2020-06-30 12:49:37 +02:00
----
<Export(GetType(ISomeType))>
Public Class SomeType
Inherits ISomeType
End Class
----
include::../resources.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../highlighting.adoc[]
endif::env-github,rspecator-view[]