cslaforum icon indicating copy to clipboard operation
cslaforum copied to clipboard

Analyzer Idea: Ensure All Fields/Properties on a BO Are Serializable (Unless Marked as Non-Serialized)

Open JasonBock opened this issue 8 years ago • 2 comments

Right now there's an analyzer to see if the BO itself has [Serializable] on it. It would be arguably even better if I walked the fields and properties that used compiler-generated backing fields that those types are also serializable. There's probably lots of gotchas here so this would need to be thought through but this bit a client today and it may be worth doing this idea :).

JasonBock avatar May 04 '17 19:05 JasonBock

@rockfordlhotka did we ever dive into this? Was this ever done? If not, should we still look into this?

JasonBock avatar May 10 '20 01:05 JasonBock

I don't think this was ever explored. It does sound like a really good idea if it is possible.

rockfordlhotka avatar May 10 '20 04:05 rockfordlhotka