[Mono-devel-list] Patch for System.Text.StringBuilder

Nick Drochak ndrochak at gol.com
Thu Mar 11 10:00:19 EST 2004

| -----Original Message-----
| From: mono-devel-list-admin at lists.ximian.com
| [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Juraj
| Sent: Thursday, March 11, 2004 12:14 AM
| To: mono-devel-list at lists.ximian.com; miguel at ximian.com;
| Patrik.Torstensson at intel.com
| Subject: [Mono-devel-list] Patch for System.Text.StringBuilder
| Hello,
| The MS implementation of StringBuilder(int index, string value, int
| count) doesn't match the ECMA spec. It throws an exception for count < 1
| instead of count < 0. Which behavior do we want to implement, the ECMA
| one or the stricter one to be compatible with MS?
| - Juraj

In General we have been matching the MS behavior.  The MS docs (current ones
online) say that it throws if count is less than one.  So I guess we should
do the same.

We have a place to track these kind of discrepancies:

Maybe you can put a note in there?

Nick D.

More information about the Mono-devel-list mailing list