Use field for GetObjectData and this (instead of base) for .ctor in SecurityException to help linker remove more code
[linker] Move the special marking of serializable types in a virtual method