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 [EMAIL PROTECTED]

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

--- shadow/76535        2005-10-24 10:59:59.000000000 -0400
+++ shadow/76535.tmp.24267      2005-10-24 10:59:59.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 76535
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.CodeDom.CodeTypeReference.BaseType doesn't return correct 
value if ArrayElementType is set
+
+Description of Problem:
+System.CodeDom.CodeTypeReference.BaseType doesn't return correct value if
+ArrayElementType is set
+
+Steps to reproduce the problem:
+       [Test]
+       public void BaseType_ArrayElementType_Mixup ()
+       {
+               CodeTypeReference ctr = new CodeTypeReference ("System.Int32");
+
+               Assert.IsNull (ctr.ArrayElementType, "ArrayElementType");
+
+               ctr.ArrayElementType = new CodeTypeReference ("System.String");
+
+               Assert.AreEqual ("System.Int32", ctr.BaseType, "BaseType");
+
+       }
+
+
+Actual Results:
+        expected:<"System.Int32">
+         but was:<"System.String">
+
+
+Expected Results:
+no error
+
+How often does this happen? 
+Always when ArrayElementType is set.
+
+Additional Information:
+Unit test is added in System with "NotWorking" category.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to