Lluis Sanchez wrote: > A "cls.GenericParameters.Add (tmp)" is missing. > > Thanks. That did it! It's sad, however, that I didn't notice it earlier... I'll hope for better luck next time... Matej