This one’s an obvious error really – but it’s still undocumented, and thus qualifies for a blog entry. I guess once __arglist was dropped from the standard documentation, all its associated error messages were dropped too. Compiler Error CS0226 Error Message An __arglist expression may only appear inside of a call or new expression Example [...]
Entries from February 2010
Undocumented compiler error CS0226
February 28th, 2010 · No Comments
C++/CLI bug : Operator overloading in an interface
February 27th, 2010 · 1 Comment
There was a very interesting thread on Code Project’s C++/CLI forum last week. Here’s the link to the thread : Code Project forum thread The gist of the post is that the C++/CLI compiler was not recognizing an overloaded unary operator defined in an interface while it could do so when the interface was changed [...]
Undocumented compiler error CS0224
February 26th, 2010 · No Comments
A fellow CPian leppie had posted about an undocumented C# error he got (error CS0224) and asked if anyone could reproduce the error (back in Dec 2009). For fun I played with the compiler and managed to reproduce the error. That gave me the idea of blogging about this and other such undocumented errors. Of [...]
Tags: C#/.NET