[Mono-list] RE: [Mono-devel-list] REGRESSION: StringBuilder
Torstensson, Patrik
patrik.torstensson@intel.com
Tue, 13 Jan 2004 12:02:02 -0000
This is a multi-part message in MIME format.
------_=_NextPart_001_01C3D9CD.0E5969B6
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Looking into it right now, it's strange because SB passed all the test.
=20
Be back in 2..
=20
Sorry for the problems caused!
=20
Cheers,
Patrik
_____ =20
From: mono-devel-list-admin@lists.ximian.com
[mailto:mono-devel-list-admin@lists.ximian.com] On Behalf Of Jaroslaw
Kowalski
Sent: den 13 januari 2004 12:33
To: mono-list@lists.ximian.com; Mono Development
Subject: [Mono-devel-list] REGRESSION: StringBuilder
Importance: Low
Looks like there's been a regression introduced in mono yesterday.
=20
This snippet:
=20
StringBuilder sb =3D new StringBuilder();
=20
sb.Append("testtesttest");
sb.Insert(0, '^');
Console.WriteLine("sb: {0}", sb);
produces:
=20
sb: ^teetteetteet
=20
It obviously should be:
=20
sb: ^testtesttest
=20
This is kind of critical since NAnt no longer runs on mono/Linux.
=20
Jarek
------_=_NextPart_001_01C3D9CD.0E5969B6
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Looking into it right now, it's strange because =
SB passed=20
all the test.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Be back in 2..</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Sorry for the problems =
caused!</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Cheers,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D346485711-13012004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2> Patrik</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
mono-devel-list-admin@lists.ximian.com=20
[mailto:mono-devel-list-admin@lists.ximian.com] <B>On Behalf Of =
</B>Jaroslaw=20
Kowalski<BR><B>Sent:</B> den 13 januari 2004 12:33<BR><B>To:</B>=20
mono-list@lists.ximian.com; Mono Development<BR><B>Subject:</B>=20
[Mono-devel-list] REGRESSION: StringBuilder<BR><B>Importance:</B>=20
Low<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=3DArial size=3D2>Looks like there's been a regression =
introduced in=20
mono yesterday.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This snippet:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
StringBuilder sb =3D new StringBuilder();</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
sb.Append("testtesttest");<BR> =
sb.Insert(0, '^');<BR> =20
Console.WriteLine("sb: {0}", sb);<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>produces:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2> sb:=20
^teetteetteet</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>It obviously should be:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
sb:=20
^testtesttest</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>This is kind of critical since NAnt no =
longer runs=20
on mono/Linux.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Jarek</DIV></FONT></BODY></HTML>
------_=_NextPart_001_01C3D9CD.0E5969B6--