I am maintaining some C# and VB.net code. I know that by default classes and members are non-serializable; that they can be made serializeable by adding the SerializableAttribute.
I also know that if class B inherits from a serialized class, "class A", that class B is not serialized by default. So here is my question. Is there a way in C# or VB.net to prove that a class is currently not serialized?