Welcome to MSDN Blogs Sign in | Join | Help

August 2008 - Posts

Func-eval can fail while stopped in a non-optimized managed method that pushes more than 256 argument bytes

In this blog entry , Mike describes that func-eval will fail when not a GC-safe point. In VS this results in the error "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code
Posted by rmbyers | 1 Comments
Filed under: ,

Invoking a virtual method non-virtually

Method calls using the C# ‘ base ’ keyword get compiled to an IL ‘ call ’ instruction, rather than the ‘ callvirt ’ that is normally used . This is the one case in C# where a virtual method can be invoked without virtual dispatch. The CLR allows it to
Posted by rmbyers | 3 Comments
Filed under: ,
 
Page view tracker