Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2010-09-20 21:53:39 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2010-09-20 21:54:25 +0400
commit58f029f2d1a2ed2c3f16b63e74274c9306edddcf (patch)
tree97f21c65bc67318cc2e6273338aa9d688cc4b6cc
parentf16036819a664045e0a24dd4f98be8df47bcc4d2 (diff)
Report the broken type name instead of assembly's.2.8-p6
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs2
1 files changed, 1 insertions, 1 deletions
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 <Exception> ();
- 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)