1
Vote

Unable to serialize delegate instances

description

I receive a System.Stack.Overflow.Exception when trying to serialize an instance of the following delegate.
public delegate void AddPointToSeriesCallback(string strSeriesNAme, double dXValue, dYValue);

Are there any plans to add this functionality to this wonderful package?

Thanks!

comments

sina_iravanian wrote Mar 15, 2014 at 4:07 PM

I fixed the issue of Stack Overflow exception by ignoring fields of delegate type. Delegates cannot be serialized (and I have no idea how to represent them in XML).

The fix will be included in version 2.13. Meanwhile you can build the latest source code and use it:
https://yaxlib.codeplex.com/SourceControl/latest