For a plaintext version of this page, see: https://docs.datadoghq.com/security/code_security/static_analysis/static_analysis_rules/csharp-best-practices/class-no-private-constructors.md
Classes with a private constructor can’t be instantiated outside of the class itself. Because they are unreachable, they should be removed or made public.
An exception is made for classes that access their own constructors (like a singleton), and classes that derive from System.Runtime.InteropServices.SafeHandle.