The motivation would be to add a constraint so that we can guarantee inflight methods on preflight classes can be safely called from other language runtimes.
We may also want to consider where we don't need to enforce this -- for example, perhaps private methods and fields can be allowed to use non-serializable types.
The motivation would be to add a constraint so that we can guarantee inflight methods on preflight classes can be safely called from other language runtimes.
We may also want to consider where we don't need to enforce this -- for example, perhaps private methods and fields can be allowed to use non-serializable types.