21 writes to
mscorlib (4)
microsoft\win32\registrykey.cs (2)
1747path[i] = markerChar; 1770path[j] = path[i];
system\globalization\datetimeformat.cs (1)
1059builder[builder.Length - index] = (char)('0' + (val % 10));
system\io\pathhelper.cs (1)
135m_sb[index] = value;
PresentationCore (1)
Core\CSharp\System\Windows\Media\MediaEventsHelper.cs (1)
414stringBuilder[i] = (char)reader.ReadUInt16();
System (7)
compmod\system\componentmodel\MaskedTextProvider.cs (3)
806this.testString[position] = this.promptChar; 2082this.testString[testPosition] = this.promptChar; 2222this.testString[position] = input;
net\System\Net\_NetworkingPerfCounters.cs (3)
382result[i] = '['; 385result[i] = ']'; 390result[i] = '_';
regex\system\text\regularexpressions\RegexCharClass.cs (1)
1076sb[SETLENGTH] = (char) (sb.Length - SETSTART);
System.Data.SqlXml (4)
System\Xml\Xsl\QIL\QilXmlWriter.cs (4)
360name[len] = start; 363name[i] = start; 371name[i]++; 374name[len] = ++c;
System.Runtime.Caching (3)
System\Caching\PerfCounters.cs (3)
65sb[i] = '['; 68sb[i] = ']'; 73sb[i] = '_';
System.ServiceModel (1)
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
444builder[index] = ' ';
System.Xml (1)
System\Xml\Schema\XsdDuration.cs (1)
415sb[idx] = (char) (digit + '0');
88 references to
mscorlib (20)
microsoft\win32\registrykey.cs (5)
1724if (temp >= 0 && sb[temp] == '\\') // Remove trailing slash 1740if (path[i] == '\\') 1745if (path[i] == '\\') 1765if(path[i] == markerChar) 1770path[j] = path[i];
system\AppDomainSetup.cs (2)
467if ((result[aLen] != '/') && 468(result[aLen] != '\\')) {
system\globalization\datetimeformat.cs (1)
504if (result.Length > 0 && result[result.Length - 1] == '.') {
system\globalization\idnmapping.cs (3)
1007if (Char.IsSurrogate(output[iUseInsertLocation])) 1081if (output.Length > M_defaultNameLimit - (IsDot(output[output.Length-1]) ? 0 : 1)) 1084M_defaultNameLimit -(IsDot(output[output.Length-1]) ? 0 : 1)), "ascii");
system\globalization\timespanparse.cs (1)
1346if (enquotedString[i] != tokenizer.NextChar)
system\io\path.cs (1)
1275char ch = finalPath[finalPath.Length - 1];
system\io\pathhelper.cs (1)
125return m_sb[index];
system\io\pathinternal.cs (2)
80if (char.ToUpperInvariant(builder[i]) != char.ToUpperInvariant(value[i])) return false; 85if (builder[i] != value[i]) return false;
system\security\util\urlstring.cs (4)
428while (slashCount < modifiedUrl.Length && (modifiedUrl[slashCount] == '/' || modifiedUrl[slashCount] == '\\')) 433if (!seenFirstBackslash && modifiedUrl[slashCount] == '\\') 436if (slashCount + 1 < modifiedUrl.Length && modifiedUrl[slashCount + 1] == '\\')
PresentationBuildTasks (3)
Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1209while(Char.IsWhiteSpace(sb[i]))
Framework\System\Windows\Markup\XamlReaderHelper.cs (2)
1279if (!IsWhiteSpace(textValueStringBuilder[i])) 1296char lastChar = textValueStringBuilder[textValueStringBuilder.Length - 1];
PresentationCore (1)
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (1)
163if (sb[trailingCharIndex] != trailingCharacter)
PresentationFramework (3)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (2)
8527if (sb[uriIndex] == '\\' && uriIndex + 1 < sb.Length && sb[uriIndex + 1] == '\\')
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (1)
1209while(Char.IsWhiteSpace(sb[i]))
System (19)
compmod\system\componentmodel\MaskedTextProvider.cs (13)
538clonedProvider.Replace(this.testString[position], position); 885return this.testString[index]; 1419if (!TestChar(this.testString[srcPos], dstPos, out tempHint)) 1457SetChar(this.testString[srcPos], dstPos); 1719char srcCh = this.testString[srcPos]; 1759char srcCh = this.testString[srcPos]; 2032if (!TestChar(this.testString[srcPos], dstPos, out tempHint)) 2058SetChar(this.testString[srcPos], dstPos); 2329if (this.SkipLiterals && (input == this.testString[position])) 2481if (input == this.testString[position] && charDex.IsAssigned) // setting char would not make any difference 2510return this.SkipLiterals && input == this.testString[position]; 2646st.Append(IsEditPosition(chDex) && chDex.IsAssigned ? this.passwordChar : this.testString[position]); 2779char ch = this.testString[index];
compmod\system\componentmodel\Win32Exception.cs (1)
104char ch = sb[i - 1];
net\System\Net\_NetworkingPerfCounters.cs (1)
379switch (result[i])
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (3)
223char ch = sb[currentIndex]; 230if ((ch == '\r') && (lineStart < len) && (sb[lineStart] == '\n')) 244if (len > 0 && sb[len - 1] == '\r') {
sys\system\io\ports\SerialPort.cs (1)
1282if (value[value.Length-i] != currentLine[currentLine.Length-i]) {
System.Data (5)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (4)
230if ((0 < builder.Length) && (';' != builder[builder.Length-1])) { 563while ((0 < count) && Char.IsWhiteSpace(buffer[count-1])) { 573while ((index < count) && Char.IsWhiteSpace(buffer[index])) { 576while ((0 < count) && Char.IsWhiteSpace(buffer[count-1])) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
549buffer[bufferIndex + i] = strBldr[i];
System.Data.Entity (3)
System\Data\EntityClient\DbConnectionOptions.cs (3)
160while ((0 < count) && Char.IsWhiteSpace(buffer[count - 1])) 173while ((index < count) && Char.IsWhiteSpace(buffer[index])) 177while ((0 < count) && Char.IsWhiteSpace(buffer[count - 1]))
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\PathBox.cs (2)
139if (sb.Length > 0 && sb[sb.Length - 1] == EntireEntityMarker) 144if (sb.Length > 0 && sb[sb.Length - 1] == UriHelper.FORWARDSLASH)
System.Data.SqlXml (2)
System\Xml\Xsl\QIL\QilXmlWriter.cs (2)
357char c = name[len]; 362for ( ; i-- > zero && name[i]==end; )
System.Messaging (1)
System\Messaging\MessageQueueException.cs (1)
95char ch = sb[i - 1];
System.Numerics (5)
System\Numerics\BigNumber.cs (5)
385char c = number.digits[i]; 422if (number.digits[cur] != '\0') { 423value += (Int32)(number.digits[cur++] - '0'); 426while (number.digits[cur] != '\0') { 427if (number.digits[cur++] != '0') return false; // disallow non-zero trailing decimal places
System.Runtime.Caching (1)
System\Caching\PerfCounters.cs (1)
63switch (sb[i]) {
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1519if (builder[builder.Length - 1] == '.') 1547|| (builder.Length > 1 && builder[builder.Length - 1] != '.')))
System.Security (1)
system\security\cryptography\xml\utils.cs (1)
148if (sb[i] == oldChar) {
System.ServiceModel (7)
System\ServiceModel\Channels\HttpHeaderInfo.cs (2)
178if (char.IsUpper(asStringBuilder[i]) && char.IsLower(asStringBuilder[i + 1]))
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (3)
420if (!char.IsWhiteSpace(stringBuilder[i])) 438if (char.IsWhiteSpace(builder[index])) 460Fx.Assert(builder.Length == 0 || builder[builder.Length - 1] != ' ', "The string builder doesnt end in a white space");
System\UriTemplate.cs (2)
655if (pathString[pathString.Length - 1] != '/') 696if (this.ignoreTrailingSlash && (pathString[pathString.Length - 1] == '/'))
System.ServiceModel.Web (6)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
52|| (builder.Length > 1 && builder[builder.Length - 1] != '.'))) 208if (builder[builder.Length - 1] == '.')
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (4)
398if (sample[i] == '"') 402else if (sample[i] == '{') 407else if (sample[i] == ',' && !inString) 411else if (sample[i] == '}' && depth > 0)
System.Web (2)
Hosting\ProcessHostSupportFunctionsExtensions.cs (1)
34if (fullVirtualPath[fullVirtualPath.Length - 1] != '/') {
Routing\ParsedRoute.cs (1)
180if (pendingParts.Length > 0 && pendingParts[pendingParts.Length - 1] == '/') {
System.Web.Mobile (2)
UI\MobileControls\LiteralTextParser.cs (2)
704if (length > 0 && _stringBuilder[length - 1] == option) 717switch (_stringBuilder[i])
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
172removedString.Append(projectedValue[selectionStart - 1]);
System.Xml (2)
System\Xml\Schema\XsdDuration.cs (2)
430if (sb[sb.Length - 1] == 'P') 435if (sb[sb.Length - 1] == 'P')