Geeks With Blogs


View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites

Anthony Trudeau January 2011 Entries
InvalidProgramException Running Unit Test (Bug Closed)
In a previous post I reported an InvalidProgramException that occurs in a certain circumstance with unit tests involving accessors on a private generic method. It turns out that Bug #635093 reported through Microsoft Connect will not be fixed. The reason cited is that private accessors have been discontinued. And why have private accessors been discontinued? They don't have time is the reason listed in the blog post titled "Generation of Private Accessors (Publicize) and Code Generation for Visual ......

Posted On Friday, January 28, 2011 7:40 AM

InvalidProgramException Running Unit Test
There is a bug in the unit testing framework in Visual Studio 2010 with unit testing. The bug appears in a very special circumstance involving an internal generic type. The bug causes the following exception to be thrown: System.InvalidProgramExcept... JIT Compiler encountered an internal limitation. This occurs under the following circumstances: Type being tested is internal or private Method being tested is generic Method being tested has an out parameter Type accessor functionality used to access ......

Posted On Friday, January 7, 2011 11:33 AM

Copyright © Anthony Trudeau | Powered by: