[Mono-bugs] [Bug 57479][Nor] New - error CS0031 when compiling signcode.exe

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 22 Apr 2004 21:52:11 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=57479

--- shadow/57479	2004-04-22 21:52:10.000000000 -0400
+++ shadow/57479.tmp.19174	2004-04-22 21:52:10.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 57479
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: error CS0031 when compiling signcode.exe
+
+Description of Problem:
+signcode.exe cannot be compiled with the new Mono.Security.dll assembly.
+
+
+Steps to reproduce the problem:
+1. cd mcs/tools/security
+2. make
+
+
+Actual Results (with MCS)
+signcode.cs(101) error CS0031: Constant value `1' cannot be converted to
+Mono.Security.Authenticode.Authority
+signcode.cs(87) error CS0163: Control cannot fall through from one case
+label to another
+Compilation failed: 2 error(s), 0 warnings
+
+and...
+(line 101) af.Authority = Authority.Commercial;
+(line 87): switch (args[i++]) {
+
+
+Expected Results:
+Compile without error (like CSC)
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+- Mono.Security.dll was changed (fxcop-ized) to be CLS compliant so this
+may be related to # 57458