S
SA
Hi all:
I think that there is a bug in the VB.NET compiler helpers: the
documentation [1] states that the StaticLocalInitFlag is serializable, but
in fact it's not.
This means that any class written in VB.NET where there is a method that
declares a static local variable cannot be serialized.
Also see [2] for a complete explanation of how I uncovered this.
Hope this helps,
(Anyone from Microsoft here?)
[1] http://msdn2.microsoft.com/library/3edatdc5(en-us,vs.80).aspx
[2] http://www.adduxis.com/blogs/blogs/sven/archive/2005/04/23/7.aspx
I think that there is a bug in the VB.NET compiler helpers: the
documentation [1] states that the StaticLocalInitFlag is serializable, but
in fact it's not.
This means that any class written in VB.NET where there is a method that
declares a static local variable cannot be serialized.
Also see [2] for a complete explanation of how I uncovered this.
Hope this helps,
(Anyone from Microsoft here?)
[1] http://msdn2.microsoft.com/library/3edatdc5(en-us,vs.80).aspx
[2] http://www.adduxis.com/blogs/blogs/sven/archive/2005/04/23/7.aspx
.