[Mono-bugs] [Bug 79441][Nor] New - String.IsInterned doesn't work as expected
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 19 08:17:10 EDT 2006
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 pawel.sakowski at mindbreeze.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79441
--- shadow/79441 2006-09-19 08:17:10.000000000 -0400
+++ shadow/79441.tmp.4924 2006-09-19 08:17:10.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 79441
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: pawel.sakowski at mindbreeze.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: String.IsInterned doesn't work as expected
+
+Description of Problem:
+String interning doesn't work as documented in the docs for
+System.String.IsInterned.
+
+Steps to reproduce the problem:
+1. Compile and run the sample code from
+http://www.go-mono.com/docs/index.aspx?link=M%3ASystem.String.IsInterned(System.String)
+:
+
+using System;
+using System.Text;
+
+public class StringExample {
+ public static void Main() {
+
+ String s1 = new
+StringBuilder().Append("My").Append("Test").ToString();
+
+ Console.WriteLine(String.IsInterned(s1) != null);
+ }
+}
+
+Actual Results:
+False
+
+Expected Results:
+True, as documented
+
+How often does this happen?
+100%
+
+Additional Information:
+mono 1.1.13.6
More information about the mono-bugs
mailing list