[Mono-list] Assembly.CreateInstance(string className) bug

Dominik Fretz lists@roboto.ch
Tue, 13 May 2003 14:53:09 +0200


Hi

I found a difference between the MS.NET framework and mono:
object foo = Assembly.GetCallingAssembly().CreateInstance("FooBar");
causes a 'System.TypeLoadException' with mono.
On the .NET framework, foo is null after this and no exception is raised.

I filed bug number 42883 and added some code to show.

Greethings

Dominik