From 58f029f2d1a2ed2c3f16b63e74274c9306edddcf Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Mon, 20 Sep 2010 14:53:39 -0300 Subject: Report the broken type name instead of assembly's. --- mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs index 4423058cdd1..4422b15b615 100644 --- a/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs +++ b/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs @@ -832,7 +832,7 @@ namespace System.Reflection.Emit if (type is TypeBuilder) { if (exceptions == null) exceptions = new List (); - exceptions.Add (new TypeLoadException (string.Format ("Type '{0}' is not finished", FullName))); + exceptions.Add (new TypeLoadException (string.Format ("Type '{0}' is not finished", type.FullName))); } } if (exceptions != null) -- cgit v1.2.3