projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed StringBuilder.Clear() to properly clear the cached string.
[mono.git]
/
mcs
/
class
/
corlib
/
System.Text
/
StringBuilder.cs
diff --git
a/mcs/class/corlib/System.Text/StringBuilder.cs
b/mcs/class/corlib/System.Text/StringBuilder.cs
index ac10d1706671e4d5a5811edd5d2ea7ecfd598bed..8452b168d76522bb6aa40b0a0651be030cdf8e89 100644
(file)
--- a/
mcs/class/corlib/System.Text/StringBuilder.cs
+++ b/
mcs/class/corlib/System.Text/StringBuilder.cs
@@
-506,7
+506,7
@@
namespace System.Text {
#if NET_4_0 || MOONLIGHT || MOBILE
public StringBuilder Clear ()
{
-
_l
ength = 0;
+
L
ength = 0;
return this;
}
#endif