diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2004-04-07 17:44:37 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2004-04-07 17:44:37 +0400 |
commit | 1df3f407b248bc69217603fee84710b46b5677ed (patch) | |
tree | 6af8bf4cddd91d112896c4d9665b7e21770d5903 /mcs/errors/cs1606.cs | |
parent | 1ccb72ca77c79d9890cf87386d4553cd62c4a165 (diff) |
2004-04-07 Sebastien Pouliot <sebastien@ximian.com>
* cs1606.pub: New file. ECMA key.
* cs1606.cs: New file. This is the same problem as cs1548-3.cs but CSC
report a different error number when the ECMA key is being used.
svn path=/trunk/mcs/; revision=25152
Diffstat (limited to 'mcs/errors/cs1606.cs')
-rw-r--r-- | mcs/errors/cs1606.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs1606.cs b/mcs/errors/cs1606.cs new file mode 100644 index 00000000000..b8b2bd5df55 --- /dev/null +++ b/mcs/errors/cs1606.cs @@ -0,0 +1,17 @@ +// cs1606: Couldn't strongname the assembly. ECMA key can only be used to delay-sign assemblies. +// Line: 6 + +using System.Reflection; + +[assembly: AssemblyKeyFile ("cs1606.pub")] + +// note that cs1606.pub is the ECMA key (same as mcs/class/ecma.pub) +// this is the same as cs1548-3.cs (Missing private key in strongname file) +// expect the the error code is different for the ECMA key + +class MyClass { + + public static void Main (string [] args) + { + } +} |