https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Reflection/FieldInfo.cs
Line 281 Sorry, Not sure on the process for a pull request, but its a getter on a public property with a throw in the main branch,and its the same property that is indicated in the stack trace I sent. cc:author On Sat, Jul 12, 2014 at 4:07 PM, Dave Curylo <[email protected]> wrote: > The following code works fine on current GA releases of mono 3.4.0 and > Newtonsoft.Json 6.0.3, btw. It's simplistic, but just add whatever else you > have in your hashtable that's resulting in an exception and reply with that > source. I'm sure it isn't the hashtable itself that can't be serialized. > > using System; > using System.Collections; > using Newtonsoft.Json; > > namespace Test { > public class Ser { > public static void Main(string [] args) { > var ht = new Hashtable(); > ht.Add("test", 1234); > var json = JsonConvert.SerializeObject(ht); > Console.WriteLine(json); > } > } > } > >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
