12 references to MaxCapacity
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (3)
40
/// <exception cref="ArgumentOutOfRangeException">Thrown when appending to a StringBuilder past the <see cref="StringBuilder.
MaxCapacity
"/> limit.</exception>
156
/// <exception cref="ArgumentOutOfRangeException">Thrown when appending to a StringBuilder past the <see cref="StringBuilder.
MaxCapacity
"/> limit.</exception>
366
/// <exception cref="ArgumentOutOfRangeException">Thrown when appending to a StringBuilder past the <see cref="StringBuilder.
MaxCapacity
"/> limit.</exception>
Microsoft.TestPlatform.CoreUtilities (3)
Extensions\StringBuilderExtensions.cs (3)
25
if (result.Length >= result.
MaxCapacity
)
34
if (result.Length + data.Length >= result.
MaxCapacity
)
36
data = data.Substring(0, result.
MaxCapacity
- result.Length);
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (6)
272
if (value >
MaxCapacity
)
403
/// <see cref="Capacity"/> of zero but retains its original <see cref="
MaxCapacity
"/>.
433
if (value >
MaxCapacity
)
978
if (insertingChars >
MaxCapacity
- this.Length)
1516
/// <exception cref="ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="StringBuilder.
MaxCapacity
"/>.</exception>
1563
/// <exception cref="ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="StringBuilder.
MaxCapacity
"/>.</exception>