I have an issue where my Debug compiled code works flawlessly, but my Release code run through Dotfuscator fails on this line (where ptList is an IList<AeccPoint>):
List<AeccPoint> sortedptList = ptList.ToList<AeccPoint>();
With this exception:
System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.IEnumerable`1.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
Any ideas why this fails when obfuscated? What can I do to keep it from failing? Oh, and the same code works fine when obfuscated using .NET3.5, it's only the .NET4 where this fails.