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=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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
