|
From: Steve F. <st...@m3...> - 2007-05-14 14:47:06
|
Thanks, Mike. S. On 14 May 2007, at 15:02, Mike Capp wrote: > Hi Steve, > > I found your old mails on this subject while poking through the nmock > list archives regarding a similar issue - an InvalidCastException on > > ArrayList list = new ArrayList(); > list.Add(mockery.NewMock(typeof(IFoo))); > IFoo[] array = (IFoo[]) list.ToArray(typeof(IFoo)); > > which I suspect has the same root cause as your IServiceContainer > woes. Unfortunately, SourceForge's web archives don't include patches > attached to mails (I only joined the project recently and so don't > have the originals) and I didn't have your email until it popped up in > this thread. Do you by any chance still have them handy? I'm not a > project admin and so can't give you commit access, but I should be > able to apply your fixes and check them in. |