5 writes to m_MaxCapacity
mscorlib (5)
system\text\stringbuilder.cs (5)
139
m_MaxCapacity
= Int32.MaxValue;
174
m_MaxCapacity
= maxCapacity;
234
m_MaxCapacity
= persistedMaxCapacity;
2006
m_MaxCapacity
= from.m_MaxCapacity;
2097
m_MaxCapacity
= maxCapacity;
8 references to m_MaxCapacity
mscorlib (8)
system\text\stringbuilder.cs (8)
251
info.AddValue(MaxCapacityField,
m_MaxCapacity
);
263
int maxCapacity = this.
m_MaxCapacity
;
267
Contract.Assert(currentBlock.
m_MaxCapacity
== maxCapacity, "Bad maxCapacity");
310
get { return
m_MaxCapacity
; }
1969
if (minBlockCharCount + Length < minBlockCharCount || (minBlockCharCount + Length) >
m_MaxCapacity
)
2006
m_MaxCapacity = from.
m_MaxCapacity
;
2030
if (count + Length < count || count + Length >
m_MaxCapacity
)
2056
StringBuilder newChunk = new StringBuilder(Math.Max(count, DefaultCapacity), chunk.
m_MaxCapacity
, chunk.m_ChunkPrevious);