[Mono-dev] Mono 2.8 regression

Federico Di Gregorio fog at initd.org
Mon Dec 20 06:09:08 EST 2010

On 20/12/2010 11:11, Tom Spink wrote:
> You could propagate the abstract method type parameter out to the
> class definition:

Unfortunately I can't have a generic abstract class because I need:

Dictionary<Type,A> precompiledExpressionsByType;

and then, in other parts of the library:

X result = precompiledExpressionsByType[typeof(X)]
	.evaluateSuchAndSuchExpr<X>(param1, param2, ...);

where evaluateSuchAndSuchExpr() is a method of A (GetXXX in my previous

Anyway, thank you all for confirming this was a bug in my code[*]; I'll
fix it using a different approach.


[*] In fact the code runs fine, even on MS.NET, when compiled with Mono 2.6.

Federico Di Gregorio                                       fog at initd.org
 Ubuntu is an ancient African word meaning "I can't configure Debian".
                                                     -- somewhere on IRC

More information about the Mono-devel-list mailing list