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