org.sonar.plugins.csharp.S3880.html Maven / Gradle / Ivy
Why is this an issue?
Finalizers come with a performance cost due to the overhead of tracking the life cycle of objects. An empty one is consequently costly with no
benefit or justification.
Noncompliant code example
public class Foo
{
~Foo() // Noncompliant
{
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy