Does anyone know if it is possible to prevent calling of a public constructor from outside a range of assemblies?
What I'm doing is coming up with a class library that has XML serializable classes. These classes make no sense if constructed without setting various properties so I want to prevent that state.
I'm wondering if there is a way to prevent anyone calling my public constructor, and keep it there only for serialization?