Synopsis: | A virtual method may only be called if an object is fully constructed |
Language: | C# |
Severity Level: | 4 |
Category: | Object lifecycle |
Description: |
Don't call virtual functions from constructor or finalizer. Only call these when the object is in a fully constructed state. |