提交 58f029f2 编写于 作者: R Rodrigo Kumpera

Report the broken type name instead of assembly's.

上级 f1603681
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册