[Mono-bugs] [Bug 50433][Nor] New - MCS accepts invalid code: char to byte casts.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 1 Nov 2003 13:03:37 -0500 (EST)


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 miguel@ximian.com.

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

--- shadow/50433	2003-11-01 13:03:37.000000000 -0500
+++ shadow/50433.tmp.25196	2003-11-01 13:03:37.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 50433
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS accepts invalid code: char to byte casts.
+
+The following code was applied to work on CSC:
+
+-               const byte HYPHEN = '-', LF = '\n', CR = '\r';
++               const byte HYPHEN = (byte) '-', LF = (byte) '\n', CR =
+(byte) '\r';