N
NetronProject
My sealed class defines the necessary deserialization constructor:
protected SomeMethod(SerializationInfo info, StreamingContext
context){..}
which generates the well-known warning "new protected member declared
in sealed class". Since this constructor is used by the CLR and not
supposed to be visible externally I don't see the need to make it
public. Is it possible to avoid the compiler warning with some pragma?
Thanks, F.
protected SomeMethod(SerializationInfo info, StreamingContext
context){..}
which generates the well-known warning "new protected member declared
in sealed class". Since this constructor is used by the CLR and not
supposed to be visible externally I don't see the need to make it
public. Is it possible to avoid the compiler warning with some pragma?
Thanks, F.