This project has moved and is read-only. For the latest updates, please go here.

Allow JToken to work with LINQPad

Nov 30, 2010 at 6:13 PM

This would probably be a "breaking change" but I thought I'd suggest it anyway. It would be nice if JToken worked with LINQPad. What seems to stop it is the fact that GetEnumerator() on a non-container JToken calls the Children() method, which throws an InvalidOperationException. If GetEnumerator() could return an empty list instead, I think LINQPad might actually be usable.