TypeName | EmptyFinalizerAnalyzer |
Check Id | CC0025 |
Category | Design |
Severity | Warning |
An empty finalizer will stop your object from being collected immediately by the Garbage Collector when no longer used. It will instead be placed in the finalizer queue needlessly using resources.
public class MyClass
{
~MyClass()
{
}
}
A code fix will be presented to you that will transform the code:
public class MyClass
{
}
None
TBD