30 references to ToString
ComSvcConfig (1)
ComAdminWrapper.cs (1)
640versionString = versionStr.ToString(1, strLen);
mscorlib (1)
system\io\pathhelper.cs (1)
338String savedName = m_sb.ToString(lastSlash + 1, lenSavedName);
PresentationCore (1)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
567Text.TextInterface.Font font = GetFontFromFamily(fontFamilyDWrite, potentialFaceName.ToString(1, potentialFaceName.Length - 1));
System (9)
compmod\system\componentmodel\MaskedTextProvider.cs (1)
2746return this.testString.ToString(startPosition, length); // testString contains just what the user is asking for.
compmod\system\componentmodel\Win32Exception.cs (1)
108errorMsg = sb.ToString(0, i);
net\System\Net\mail\SmtpReplyReaderFactory.cs (4)
351lines.Add(new LineInfo(statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF 361lines.Add(new LineInfo(statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF 484lines.Add(new LineInfo(parent.statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF 496lines.Add(new LineInfo(parent.statusCode, builder.ToString(0, builder.Length - 2))); // return everything except CRLF
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (1)
227string s = sb.ToString(lineStart, currentIndex - lineStart);
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
539return result.ToString(0, result.Length - 1); // Chop of last ";"
sys\system\io\ports\SerialPort.cs (1)
1290string ret = currentLine.ToString(0, currentLine.Length - value.Length);
System.Data (2)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (2)
566return buffer.ToString(0, count).ToLower(CultureInfo.InvariantCulture); 580return buffer.ToString(index, count - index);
System.Data.Entity (2)
System\Data\EntityClient\DbConnectionOptions.cs (2)
164return buffer.ToString(0, count).ToLowerInvariant(); 182return buffer.ToString(index, count - index);
System.Messaging (1)
System\Messaging\MessageQueueException.cs (1)
99errorMsg = sb.ToString(0, i);
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1523return builder.ToString(0, length); 1565string nsFragment = builder.ToString(fragmentOffset, fragmentLength);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
214return builder.ToString(0, length);
System.Web (3)
ErrorFormatter.cs (1)
1122string stackTraceText = sb.ToString(sbBeginIndex,
Routing\ParsedRoute.cs (1)
188url.Append(pendingParts.ToString(0, pendingParts.Length - 1));
Security\ADMembershipProvider.cs (1)
4401errorMsg = sb.ToString(0, result);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataObject.cs (1)
1851string s = sb.ToString(0, charlen);
System.Xml (6)
System\Xml\Core\XmlTextReaderImpl.cs (3)
4758textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) ); 4800textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) ); 4897textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) );
System\Xml\Core\XmlTextReaderImplAsync.cs (3)
2545textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) ); 2587textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) ); 2684textChunk.SetValueNode( XmlNodeType.Text, stringBuilder.ToString( valueChunkStartPos, valueChunkLen ) );