2023-07-05 13:49:21 +02:00
|
|
|
[source,vbnet,diff-id=1,diff-type=noncompliant]
|
|
|
|
----
|
2023-07-06 10:28:14 +02:00
|
|
|
Class Sample
|
2023-07-05 13:49:21 +02:00
|
|
|
Protected Overrides Sub Finalize()
|
|
|
|
Throw New NotImplementedException() ' Noncompliant: Finalize method throws an exception
|
|
|
|
End Sub
|
|
|
|
End Class
|
2023-07-06 10:28:14 +02:00
|
|
|
----
|