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


MonoTouch Support


1) Change InvalidDataException to a supported exception type (build a new one?)
2) Change Huffman.BuildLinkedList()'s Array.Sort() to use an explicit IComparer instead of a lambda
Closed Jul 17, 2013 at 4:02 PM by ioctlLR


jjxtra wrote Feb 13, 2013 at 8:27 PM

2 is not necessary at least with the latest monotouch, it compiles fine for me

ioctlLR wrote Feb 14, 2013 at 1:37 PM


2 is weird. Basically the bug report is that the lambda is not statically compiled and causes an InvalidOperationException on a physical iOS device (because the lambda is JIT'ed, which is not allowed).

If you can figure out how to force MonoTouch to statically compile the lambda, that would be preferable.

ioctlLR wrote Jul 17, 2013 at 4:02 PM

A little research indicates that #1 is a non-issue in supported versions of monotouch.
Removing the generics & the lambda from Huffman.BuildLinkedList() should address #2 completely.

Closing the issue as fixed.