Util.Cache complains with misleading error message.
http://share.linqpad.net/d79xw3.linq
I Util.Cache an in-query class instance, then alter an unrelated class. The result is that the next execution complains about serializable.
Though I understand that the Foo type may be bundled with Foo2 and need to recompile thereby not the same type, then the error message isn't really helpful (unless adding serializeable attribute actually helps in this situation).
I Util.Cache an in-query class instance, then alter an unrelated class. The result is that the next execution complains about serializable.
Though I understand that the Foo type may be bundled with Foo2 and need to recompile thereby not the same type, then the error message isn't really helpful (unless adding serializeable attribute actually helps in this situation).