[Mono-list] Not implemented exceptions in Getters
Kevin Connell
kevin at connells.net
Sat Jul 12 23:25:00 UTC 2014
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 <curylod at asme.org> 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);
> }
> }
> }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140712/a12b76b6/attachment.html>
More information about the Mono-list
mailing list