rspec/rules/S1048/csharp/compliant-code.adoc

10 lines
160 B
Plaintext
Raw Permalink Normal View History

2023-07-05 13:49:21 +02:00
[source,csharp,diff-id=1,diff-type=compliant]
----
class MyClass
{
~MyClass()
{
// Compliant: finalizer does not throw an exception
}
}
----