Modify S3466,S3598,S3927(vbnet): Fix diff typos (#2827)

## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
This commit is contained in:
Loris S 2023-08-08 14:23:00 +02:00 committed by GitHub
parent 5aa384f99e
commit 17f6634cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ include::../description.adoc[]
==== Noncompliant code example
[source,vbnet,diff-id=1,diff-type=noncompliant]]
[source,vbnet,diff-id=1,diff-type=noncompliant]
----
Public Class BaseClass
Public Overridable Sub MyMethod(ByVal Optional i As Integer = 1)
@ -31,7 +31,7 @@ End Class
==== Compliant solution
[source,vbnet,diff-id=1,diff-type=compliant]]
[source,vbnet,diff-id=1,diff-type=compliant]
----
Public Class BaseClass
Public Overridable Sub MyMethod(ByVal Optional i As Integer = 1)

View File

@ -19,7 +19,7 @@ End Interface
==== Compliant solution
[source,vbnet,diff-id=1,diff-type=noncompliant]
[source,vbnet,diff-id=1,diff-type=compliant]
----
<ServiceContract>
Interface IMyService

View File

@ -34,7 +34,7 @@ End Class
==== Compliant solution
[source,vbnet,diff-id=1,diff-type=noncompliant]
[source,vbnet,diff-id=1,diff-type=compliant]
----
<Serializable>
Public Class Foo