* codegen.cs (AssemblyClass.CheckInternalsVisibleAttribute):
Use the more explicit AssemblyName.FullName instead of
AssemblyName.Name to report errors.
svn path=/trunk/mcs/; revision=52934
+2005-11-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * codegen.cs (AssemblyClass.CheckInternalsVisibleAttribute):
+ Use the more explicit AssemblyName.FullName instead of
+ AssemblyName.Name to report errors.
+
2005-11-11 Marek Safar <marek.safar@seznam.cz>
* attribute.cs, class.cs, cs-tokenizer.cs, parameter.cs: Sync
throw new Exception ("Friend assembly `" + a.GetString () +
"' is invalid. InternalsVisibleTo cannot have version or culture specified.");
else if (aname.GetPublicKeyToken () == null && Name.GetPublicKeyToken () != null) {
- Report.Error (1726, a.Location, "Friend assembly reference `" + aname.Name + "' is invalid." +
+ Report.Error (1726, a.Location, "Friend assembly reference `" + aname.FullName + "' is invalid." +
" Strong named assemblies must specify a public key token in their InternalsVisibleTo declarations");
return false;
}