1492 writes to
http2cat (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IIS.FunctionalTests (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IIS.LongTests (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IIS.NewHandler.FunctionalTests (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IIS.NewShim.FunctionalTests (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
IISExpress.FunctionalTests (5)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
InMemory.FunctionalTests (3)
Http3\Http3StreamTests.cs (2)
2869chars[i] = (char)('0' + i % 10); 2909chars[i] = (char)('0' + i % 10);
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
Microsoft.AspNetCore.Components (10)
src\Shared\UrlDecoder\UrlDecoder.cs (10)
60buffer[sourceIndex] = 0x20; 82buffer[destinationIndex++] = buffer[sourceIndex++]; 114buffer[destinationIndex++] = (byte)byte1; 216buffer[destinationIndex++] = (byte)byte1; 220buffer[destinationIndex++] = (byte)byte2; 224buffer[destinationIndex++] = (byte)byte3; 228buffer[destinationIndex++] = (byte)byte4; 238buffer[writer++] = buffer[begin++]; 421buffer[destinationIndex++] = buffer[sourceIndex++]; 452buffer[destinationIndex++] = (char)codeUnit1;
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\Converters\CollectionConverter.cs (1)
179computedPrefix[charsWritten + 1] = ']';
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
128componentIdsInDepthOrder[i] = new(componentId, GetComponentDepth(componentId));
Microsoft.AspNetCore.Components.Server (2)
Circuits\ServerComponentDeserializer.cs (1)
318seenSsrComponentIds[currentSsrComponentIdIndex++] = operation.SsrComponentId;
src\SignalR\common\Shared\BinaryMessageFormatter.cs (1)
27ref var current = ref output[lenNumBytes];
Microsoft.AspNetCore.DataProtection.Abstractions (2)
src\Shared\WebEncoders\WebEncoders.cs (2)
361output[i] = '-'; 365output[i] = '_';
Microsoft.AspNetCore.Http.Abstractions (12)
src\Shared\UrlDecoder\UrlDecoder.cs (10)
60buffer[sourceIndex] = 0x20; 82buffer[destinationIndex++] = buffer[sourceIndex++]; 114buffer[destinationIndex++] = (byte)byte1; 216buffer[destinationIndex++] = (byte)byte1; 220buffer[destinationIndex++] = (byte)byte2; 224buffer[destinationIndex++] = (byte)byte3; 228buffer[destinationIndex++] = (byte)byte4; 238buffer[writer++] = buffer[begin++]; 421buffer[destinationIndex++] = buffer[sourceIndex++]; 452buffer[destinationIndex++] = (char)codeUnit1;
src\Shared\ValueStringBuilder\ValueListBuilder.cs (2)
35span[pos] = item; 50_span[pos] = item;
Microsoft.AspNetCore.Http.Connections (2)
src\Shared\WebEncoders\WebEncoders.cs (2)
361output[i] = '-'; 365output[i] = '_';
Microsoft.AspNetCore.Http.Connections.Common (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
100_memory.Span[_memoryUsed] = (byte)value;
Microsoft.AspNetCore.Http.Extensions (10)
src\Components\Endpoints\src\FormMapping\Converters\CollectionConverter.cs (1)
179computedPrefix[charsWritten + 1] = ']';
src\Shared\ValueStringBuilder\ValueListBuilder.cs (2)
35span[pos] = item; 50_span[pos] = item;
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (7)
77_chars[Length] = '\0'; 87return ref _chars[index]; 110_chars[Length] = '\0'; 174_chars[pos] = c; 194_chars[pos] = s[0]; 225dst[i] = c; 241dst[i] = *value++;
Microsoft.AspNetCore.HttpLogging (9)
src\Shared\ValueStringBuilder\ValueListBuilder.cs (2)
35span[pos] = item; 50_span[pos] = item;
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (7)
77_chars[Length] = '\0'; 87return ref _chars[index]; 110_chars[Length] = '\0'; 174_chars[pos] = c; 194_chars[pos] = s[0]; 225dst[i] = c; 241dst[i] = *value++;
Microsoft.AspNetCore.Identity.FunctionalTests (8)
src\Identity\Extensions.Core\src\Base32.cs (8)
37buffer[index + 7] = ((numCharsToOutput >= 8) ? _base32Chars[h] : '='); 38buffer[index + 6] = ((numCharsToOutput >= 7) ? _base32Chars[g] : '='); 39buffer[index + 5] = ((numCharsToOutput >= 6) ? _base32Chars[f] : '='); 40buffer[index + 4] = ((numCharsToOutput >= 5) ? _base32Chars[e] : '='); 41buffer[index + 3] = ((numCharsToOutput >= 4) ? _base32Chars[d] : '='); 42buffer[index + 2] = (numCharsToOutput >= 3) ? _base32Chars[c] : '='; 43buffer[index + 1] = (numCharsToOutput >= 2) ? _base32Chars[b] : '='; 44buffer[index] = (numCharsToOutput >= 1) ? _base32Chars[a] : '=';
Microsoft.AspNetCore.Mvc.Razor (2)
ViewPath.cs (2)
31span[spanIndex++] = '/'; 36span[spanIndex++] = ch == '\\' ? '/' : ch;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
src\Mvc\Mvc.Razor\src\ViewPath.cs (2)
31span[spanIndex++] = '/'; 36span[spanIndex++] = ch == '\\' ? '/' : ch;
Microsoft.AspNetCore.OpenApi (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
100_memory.Span[_memoryUsed] = (byte)value;
Microsoft.AspNetCore.Routing (5)
Matching\DefaultEndpointSelector.cs (2)
65ref var state = ref candidateState[i]; 114ref var state = ref candidateState[i];
Matching\DfaMatcherBuilder.cs (1)
445hasFailingPolicy[literalIndex] = true;
Matching\FastPathTokenizer.cs (2)
29segments[count++] = new PathSegment(start, end); 38segments[count++] = new PathSegment(start, length);
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Matching\JumpTableMultipleEntryBenchmark.cs (2)
163buffer[c] = char.ToUpperInvariant(state[c]); 167buffer[c] = ((char)(state[c] + ('G' - '0')));
Microsoft.AspNetCore.Server.HttpSys (15)
RequestProcessing\ResponseBody.cs (4)
245SetDataChunk(dataChunks, ref currentChunk, chunkHeaderBuffer, out pins[pinsIndex++]); 250SetDataChunk(dataChunks, ref currentChunk, data, out pins[pinsIndex++]); 265_requestContext.Response.SerializeTrailers(ref allocator, out dataChunks[currentChunk++]); 290ref var chunk = ref chunks[chunkIndex++];
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
530destination[index] = headerName;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
286observedHeaders[observedHeadersCount++] = GetHeaderKeyName(header);
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (7)
87rawPath[writer++] = rawPath[reader++]; 120buffer[writer++] = (byte)byte1; 219buffer[writer++] = (byte)byte1; 223buffer[writer++] = (byte)byte2; 227buffer[writer++] = (byte)byte3; 231buffer[writer++] = (byte)byte4; 241buffer[writer++] = buffer[begin++];
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
Microsoft.AspNetCore.Server.IIS (11)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
530destination[index] = headerName;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
286observedHeaders[observedHeadersCount++] = GetHeaderKeyName(header);
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (7)
87rawPath[writer++] = rawPath[reader++]; 120buffer[writer++] = (byte)byte1; 219buffer[writer++] = (byte)byte1; 223buffer[writer++] = (byte)byte2; 227buffer[writer++] = (byte)byte3; 231buffer[writer++] = (byte)byte4; 241buffer[writer++] = buffer[begin++];
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
Microsoft.AspNetCore.Server.Kestrel.Core (23)
Internal\Http\ChunkWriter.cs (3)
35span[offset] = hex[(dataCount >> shift) & 0x0f]; 39span[count - 2] = (byte)'\r'; 40span[count - 1] = (byte)'\n';
Internal\Http2\Http2Stream.cs (1)
435pathBuffer[i] = (byte)ch;
Internal\Http3\Http3Stream.cs (1)
1157pathBuffer[i] = (byte)ch;
Middleware\Internal\LoggingStream.cs (3)
182charBuilder[charBuilderIndex++] = '.'; 186charBuilder[charBuilderIndex++] = bufferChar; 203charBuilder[charBuilderIndex++] = ' ';
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
src\Shared\UrlDecoder\UrlDecoder.cs (10)
60buffer[sourceIndex] = 0x20; 82buffer[destinationIndex++] = buffer[sourceIndex++]; 114buffer[destinationIndex++] = (byte)byte1; 216buffer[destinationIndex++] = (byte)byte1; 220buffer[destinationIndex++] = (byte)byte2; 224buffer[destinationIndex++] = (byte)byte3; 228buffer[destinationIndex++] = (byte)byte4; 238buffer[writer++] = buffer[begin++]; 421buffer[destinationIndex++] = buffer[sourceIndex++]; 452buffer[destinationIndex++] = (char)codeUnit1;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
AsciiDecoding.cs (2)
146asciiBytes[i] = (byte)(b + 1); 150asciiBytes[i] = b;
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Shared\Buffers.MemoryPool\UnmanagedBufferAllocator.cs (1)
93buffer[length] = 0;
Microsoft.AspNetCore.Shared.Tests (26)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
530destination[index] = headerName;
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
286observedHeaders[observedHeadersCount++] = GetHeaderKeyName(header);
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (7)
87rawPath[writer++] = rawPath[reader++]; 120buffer[writer++] = (byte)byte1; 219buffer[writer++] = (byte)byte1; 223buffer[writer++] = (byte)byte2; 227buffer[writer++] = (byte)byte3; 231buffer[writer++] = (byte)byte4; 241buffer[writer++] = buffer[begin++];
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\Shared\runtime\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\Shared\ServerInfrastructure\StringUtilities.cs (1)
493buffer[i] = tupleSeparator;
src\Shared\UrlDecoder\UrlDecoder.cs (10)
60buffer[sourceIndex] = 0x20; 82buffer[destinationIndex++] = buffer[sourceIndex++]; 114buffer[destinationIndex++] = (byte)byte1; 216buffer[destinationIndex++] = (byte)byte1; 220buffer[destinationIndex++] = (byte)byte2; 224buffer[destinationIndex++] = (byte)byte3; 228buffer[destinationIndex++] = (byte)byte4; 238buffer[writer++] = buffer[begin++]; 421buffer[destinationIndex++] = buffer[sourceIndex++]; 452buffer[destinationIndex++] = (char)codeUnit1;
src\Shared\WebEncoders\WebEncoders.cs (2)
361output[i] = '-'; 365output[i] = '_';
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
766isStreaming[i] = true;
Microsoft.AspNetCore.SignalR.Common (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
100_memory.Span[_memoryUsed] = (byte)value;
Microsoft.AspNetCore.SignalR.Common.Tests (1)
src\SignalR\common\Shared\BinaryMessageFormatter.cs (1)
27ref var current = ref output[lenNumBytes];
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\SignalR\common\Shared\BinaryMessageFormatter.cs (1)
27ref var current = ref output[lenNumBytes];
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
100_memory.Span[_memoryUsed] = (byte)value;
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\SignalR\common\Shared\BinaryMessageFormatter.cs (1)
27ref var current = ref output[lenNumBytes];
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
100_memory.Span[_memoryUsed] = (byte)value;
Microsoft.AspNetCore.WebSockets (9)
src\Shared\ValueStringBuilder\ValueListBuilder.cs (2)
35span[pos] = item; 50_span[pos] = item;
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (7)
77_chars[Length] = '\0'; 87return ref _chars[index]; 110_chars[Length] = '\0'; 174_chars[pos] = c; 194_chars[pos] = s[0]; 225dst[i] = c; 241dst[i] = *value++;
Microsoft.AspNetCore.WebUtilities (12)
src\Shared\UrlDecoder\UrlDecoder.cs (10)
60buffer[sourceIndex] = 0x20; 82buffer[destinationIndex++] = buffer[sourceIndex++]; 114buffer[destinationIndex++] = (byte)byte1; 216buffer[destinationIndex++] = (byte)byte1; 220buffer[destinationIndex++] = (byte)byte2; 224buffer[destinationIndex++] = (byte)byte3; 228buffer[destinationIndex++] = (byte)byte4; 238buffer[writer++] = buffer[begin++]; 421buffer[destinationIndex++] = buffer[sourceIndex++]; 452buffer[destinationIndex++] = (char)codeUnit1;
src\Shared\WebEncoders\WebEncoders.cs (2)
361output[i] = '-'; 365output[i] = '_';
Microsoft.Build (3)
FileUtilities.cs (1)
629str[sliceLength] = str[i] == '\\' ? '/' : str[i];
Logging\OptimizedStringIndenter.cs (2)
149segments[i] = new StringSegment(start, input.Length); 161segments[i] = new StringSegment(start, index);
Microsoft.Build.Engine.OM.UnitTests (1)
FileUtilities.cs (1)
629str[sliceLength] = str[i] == '\\' ? '/' : str[i];
Microsoft.Build.Framework (18)
ArraySortHelper.cs (18)
701values[i] = values[j]; 702values[j] = value; 716values[i] = values[j]; 717values[j] = v; 861values[lo + i - 1] = values[lo + child - 1]; 866values[lo + i - 1] = dValue; 882values[j + 1] = values[j]; 887values[j + 1] = tValue; 954values[i] = values[j]; 955values[j] = value; 969values[i] = values[j]; 970values[j] = v; 1114values[lo + i - 1] = values[lo + child - 1]; 1119values[lo + i - 1] = dValue; 1133values[j + 1] = values[j]; 1138values[j + 1] = tValue; 1257values[left] = values[i]; 1258values[i] = tempValue;
Microsoft.Build.Tasks.Core (1)
FileUtilities.cs (1)
629str[sliceLength] = str[i] == '\\' ? '/' : str[i];
Microsoft.Build.Utilities.Core (1)
FileUtilities.cs (1)
629str[sliceLength] = str[i] == '\\' ? '/' : str[i];
Microsoft.Extensions.DependencyInjection.Abstractions (5)
ActivatorUtilities.cs (5)
831_parameterValues[applyIndex] = givenParameters[givenIndex]; 850_parameterValues[i] = defaultValue; 877_parameterValues[index] = defaultValue; 882_parameterValues[index] = value; 909_parameterValues[i] = givenParameters[(int)parameterMap[i]!];
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (1)
146_bitMap[bitIndex] = value | mask;
Microsoft.Extensions.Logging.Abstractions (7)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
Microsoft.Extensions.Primitives (1)
StringValues.cs (1)
235span[offset] = ',';
Microsoft.Net.Http.Headers (5)
HeaderUtilities.cs (5)
641span[spanIndex] = segment[nextIndex]; 646span[spanIndex] = segment[i]; 699span[span.Length - 1] = span[0] = '\"'; 706span[spanIndex++] = '\\'; 714span[spanIndex++] = segment[i];
MSBuild (1)
FileUtilities.cs (1)
629str[sliceLength] = str[i] == '\\' ? '/' : str[i];
PresentationFramework (3)
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (2)
195result[result.Length - 1] = NumberSuffix; 199result[i] = state.numericSymbols[remainder];
System\Windows\Documents\FixedSOMTextRun.cs (1)
161destination[i] = runText[runText.Length - 1 - i];
ReachFramework (1)
Serialization\XpsFontSubsetter.cs (1)
695guidByteArray[i] = Convert.ToByte(guidString.Substring(i * 2, 2), 16);
System.Collections (1)
System\Collections\BitArray.cs (1)
804span[remainder] = (byte)((m_array[quotient] >> (remainder * 8)) & ((1 << (int)extraBits) - 1));
System.Collections.Immutable (11)
System\Collections\Frozen\FrozenDictionary.cs (1)
343destination[i] = new KeyValuePair<TKey, TValue>(keys[i], values[i]);
System\Collections\Frozen\FrozenHashTable.cs (3)
73ref int bucketStart = ref bucketStarts[bucketNum]; 74nexts[index] = bucketStart; 100ref int hashCode = ref hashCodes[index];
System\Collections\Frozen\FrozenSetInternalBase.cs (1)
217seenItems[index / BitsPerInt32] |= 1 << index;
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (1)
35hashCodes[i] = entries[i].Key;
System\Collections\Frozen\ItemsFrozenSet.cs (1)
30hashCodes[i] = entries[i] is T t ? Comparer.GetHashCode(t) : 0;
System\Collections\Frozen\KeysAndValuesFrozenDictionary.cs (1)
32hashCodes[i] = Comparer.GetHashCode(entries[i].Key);
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
47hashCodes[i] = GetHashCode(keys[i]);
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
38hashCodes[i] = GetHashCode(entries[i]);
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
454elements[i] = items[i];
System.Collections.Specialized (2)
System\Collections\Specialized\BitVector32.cs (2)
166dst[dst.Length - 1] = '}'; 172dst[i] = (locdata & 0x80000000) != 0 ? '1' : '0';
System.Console (9)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\ConsolePal.Unix.cs (2)
591dst[dstPos++] = b; 620foundByteDst[foundByteDstPos++] = b;
System.Data.Common (26)
System\Data\SQLTypes\SQLDecimal.cs (26)
947pszTmp[iDigits++] = ChFromDigit(ulRem); 954pszTmp[iDigits++] = ChFromDigit(0); 1308rglData1[iulData] = unchecked((uint)dwlAccum); // equiv to mod x_lInt32Base 1322rglData1[iulData] = (uint)dwlAccum; 1353rglData1[iulData] = unchecked((uint)dwlAccum); // equiv to mod BaseUI4 1511rgulRes[idRes++] = unchecked((uint)dwlAccum); // & x_ulInt32BaseForMod); // equiv to mod x_lInt32Base 1520rgulRes[idRes++] = (uint)dwlAccum; 1564rgulRes[idRes] = 0; 1592rgulRes[idRes] = 0; 1610rgulRes[idRes] = 0; 2126rguiData[iData] = (uint)dwlAccum; // equivalent to mod x_dwlBaseUI4 2146rguiData[iData] = (uint)dwlAccum; 2177rguiData[iData] = unchecked((uint)dwlAccum); // equivalent to mod x_dwlBaseUI4 2190rguiData[iDataMax] = (uint)dwlAccum; 2242rguiData[iData - 1] = ulQuotientCur; 2468rgulD[i] = rgulS[i]; 2514piulD[iData] = LO(dwlAccum); 2520piulD[iData] = ulCarry; 2552rgulU[idU] = (uint)(dwlAccum / ulD); 2673rgulR[ciulU] = 0; 2717rgulR[iulRwork] = LO(dwlAccum); 2721rgulR[iulRwork] = LO(dwlAccum); 2722rgulQ[iulRindex - ciulD] = QH; 2730rgulQ[iulRindex - ciulD] = QH - 1; 2736rgulR[iulRwork] = LO(dwlAccum); 2738rgulR[iulRwork] += ulCarry;
System.Diagnostics.DiagnosticSource (15)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (1)
146_bitMap[bitIndex] = value | mask;
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\Diagnostics\Activity.cs (1)
1927outBytes[i] = HexByteFromChars(charData[i * 2], charData[i * 2 + 1]);
System\Diagnostics\Metrics\AggregatorStore.cs (1)
460indexedValues[i] = labels[instr.SourceIndex].Value;
System.Diagnostics.Process (8)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\Common\src\System\Text\ValueUtf8Converter.cs (1)
36_bytes[byteCount] = 0;
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
80dst[prefix.Length] = ' ';
System.Formats.Asn1 (10)
System\Formats\Asn1\Asn1Tag.cs (1)
339destination[idx] = (byte)segment;
System\Formats\Asn1\AsnCharacterStringEncodings.cs (5)
275bytes[i] = (byte)c; 305chars[i] = (char)b; 346bytes[writeIdx + 1] = (byte)val16; 347bytes[writeIdx] = (byte)(val16 >> 8); 391chars[writeIdx] = c;
System\Formats\Asn1\AsnDecoder.BitString.cs (1)
411destination[value.Length - 1] = normalizedLastByte;
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
397value[byteIdx] = (byte)((value[byteIdx] * 0x0202020202ul & 0x010884422010ul) % 1023);
System\Formats\Asn1\AsnWriter.NamedBitList.cs (1)
147temp[i / 8] |= (byte)(0x80 >> (i % 8));
System\Formats\Asn1\AsnWriter.Oid.cs (1)
215dest[idx] = curByte;
System.Formats.Tar (14)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\Formats\Tar\TarHeader.Write.cs (7)
643buffer[FieldLocations.TypeFlag] = (byte)typeFlagChar; 869span[bytesWritten++] = (byte)' '; 871span[bytesWritten++] = (byte)'='; 873span[bytesWritten++] = (byte)'\n'; 968destination[i] = converted[j]; 973destination[i] = (byte)'0'; // Leading zero chars 1034digits[i] = (byte)('0' + (remaining % 8));
System.IO.Compression (3)
System\IO\Compression\DeflateManaged\HuffmanTree.cs (3)
121bitLengthCount[codeLength]++; 131nextCode[bits] = tempCode; 142nextCode[len]++;
System.IO.FileSystem.Watcher (7)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System.Linq (14)
System\Linq\Lookup.cs (1)
168span[index] = resultSelector(g._key, g._elements);
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
50destination[i] = buffer[map[i]]; 118destination[idx] = buffer[map[minIdx]];
System\Linq\SegmentedArrayBuilder.cs (2)
108currentSegment[countInCurrentSegment] = item; 220currentSegment[countInCurrentSegment] = item;
System\Linq\Select.SpeedOpt.cs (6)
162destination[i] = func(source[i]); 288results[i] = func(start); 388destination[i] = func(source[i]); 491results[i] = func(source[i]); 730results[index] = func(item); 904destination[i] = func(source[sourceIndex]);
System\Linq\SingleLinkedNode.cs (2)
108span[index] = node.Item; 123span[index] = node.Item;
System\Linq\SkipTake.SpeedOpt.cs (1)
153destination[i] = source[sourceIndex];
System.Net.Http (21)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\Huffman.cs (2)
717dst[j++] = (byte)lookupValue; 784dst[j++] = (byte)lookupValue;
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\IntegerEncoder.cs (2)
58destination[i++] = (byte)(value % 128 + 128); 68destination[i++] = (byte)value;
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\Net\Http\Headers\HttpHeaders.cs (2)
1189values[currentIndex] = parser == null || storeValue is InvalidValue ? storeValue.ToString() : parser.ToString(storeValue); 1197values[currentIndex] = parser == null || item is InvalidValue ? item.ToString() : parser.ToString(item);
System\Net\Http\Headers\UriHeaderParser.cs (1)
72rawBytes[i] = (byte)input[i];
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (2)
1178valueIterator[crOrLfIdx] = (byte)' '; 1179valueIterator[lfIdx] = (byte)' ';
System.Net.HttpListener (5)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
System.Net.Mail (12)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System.Net.NetworkInformation (8)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
System\Net\NetworkInformation\StringParsingHelpers.Connections.cs (2)
366addressBytes[i] = (byte)(HexToByte(hexAddress[(i * 2)]) * 16 378addressBytes[targetIndex] = (byte)(HexToByte(hexAddress[srcIndex * 2]) * 16
System\Net\NetworkInformation\UnicastIPAddressInformation.cs (1)
85addressBytes[bit / 8] |= (byte)(0x80 >> (bit % 8));
System.Net.Ping (1)
src\libraries\Common\src\System\Text\ValueUtf8Converter.cs (1)
36_bytes[byteCount] = 0;
System.Net.Primitives (32)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Net\IPv4AddressHelper.Common.cs (1)
33numbers[i] = (byte)b;
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (8)
308numbers[index++] = (ushort)number; 324numbers[index++] = (ushort)number; 363numbers[index++] = (ushort)(number >> 16); 364numbers[index++] = (ushort)number; 379numbers[index++] = (ushort)number; 401numbers[index++] = (ushort)number; 417numbers[toIndex--] = numbers[fromIndex]; 418numbers[fromIndex--] = 0;
src\libraries\Common\src\System\Net\SocketAddress.cs (5)
175result[length++] = ':'; 181result[length++] = ':'; 182result[length++] = '{'; 189result[length++] = ','; 197result[length++] = '}';
System\Net\IPAddressParser.cs (13)
115addressString[pos++] = TChar.CreateTruncating('.'); 117addressString[pos++] = TChar.CreateTruncating('.'); 119addressString[pos++] = TChar.CreateTruncating('.'); 165destination[pos++] = TChar.CreateTruncating(':'); 180destination[pos++] = TChar.CreateTruncating('%'); 215destination[offset++] = TChar.CreateTruncating(':'); 222destination[offset++] = TChar.CreateTruncating(':'); 223destination[offset++] = TChar.CreateTruncating(':'); 232destination[offset++] = TChar.CreateTruncating(':'); 248destination[offset++] = TChar.CreateTruncating(HexConverter.ToCharLower(value >> 12)); 251destination[offset++] = TChar.CreateTruncating(HexConverter.ToCharLower(value >> 8)); 254destination[offset++] = TChar.CreateTruncating(HexConverter.ToCharLower(value >> 4)); 257destination[offset++] = TChar.CreateTruncating(HexConverter.ToCharLower(value));
System.Net.Quic (16)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Net\IPv4AddressHelper.Common.cs (1)
33numbers[i] = (byte)b;
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (8)
308numbers[index++] = (ushort)number; 324numbers[index++] = (ushort)number; 363numbers[index++] = (ushort)(number >> 16); 364numbers[index++] = (ushort)number; 379numbers[index++] = (ushort)number; 401numbers[index++] = (ushort)number; 417numbers[toIndex--] = numbers[fromIndex]; 418numbers[fromIndex--] = 0;
src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (2)
115line[labelUtf8.Length] = (byte)' '; 118line[labelUtf8.Length + 1 + clientRandomUtf8.Length] = (byte)' ';
System.Net.Security (20)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
407handles[i] = certList[i].Handle;
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
215buffer[offset++] = (byte)protocol.Protocol.Length;
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Net\IPv4AddressHelper.Common.cs (1)
33numbers[i] = (byte)b;
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (8)
308numbers[index++] = (ushort)number; 324numbers[index++] = (ushort)number; 363numbers[index++] = (ushort)(number >> 16); 364numbers[index++] = (ushort)number; 379numbers[index++] = (ushort)number; 401numbers[index++] = (ushort)number; 417numbers[toIndex--] = numbers[fromIndex]; 418numbers[fromIndex--] = 0;
src\libraries\Common\src\System\Net\Security\MD4.cs (1)
183output[i] = BinaryPrimitives.ReadUInt32LittleEndian(input.Slice(j));
src\libraries\Common\src\System\Net\Security\RC4.cs (1)
87output[counter] = (byte)(input[counter] ^ state[xorIndex]);
src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (2)
115line[labelUtf8.Length] = (byte)' '; 118line[labelUtf8.Length + 1 + clientRandomUtf8.Length] = (byte)' ';
System.Net.Sockets (3)
System\Net\Sockets\SocketPal.Unix.cs (3)
303handles[i] = GCHandle.Alloc(buffer.Array, GCHandleType.Pinned); 412handles[i] = GCHandle.Alloc(buffer.Array, GCHandleType.Pinned); 545handles[i] = GCHandle.Alloc(buffer.Array, GCHandleType.Pinned);
System.Net.WebClient (5)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
System.Net.WebSockets (1)
System\Net\WebSockets\Compression\WebSocketInflater.cs (1)
175output[written] = _remainingByte.GetValueOrDefault();
System.Private.CoreLib (221)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
509thousandsSepPos[thousandsSepCtr] = groupTotalSizeCount;
src\libraries\Common\src\System\Number.Parsing.Common.cs (3)
108number.Digits[digCount] = (byte)ch; 169number.Digits[digEnd] = (byte)'\0'; 230number.Digits[number.DigitsCount] = (byte)'\0';
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
270NumberStyles.None, NumberFormatInfo.InvariantInfo, out versionNumbers[i]))
src\libraries\Common\src\System\Sha1ForNonSecretPurposes.cs (1)
100output[i] = (byte)(temp >> 24);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\Common\src\System\Text\ValueUtf8Converter.cs (1)
36_bytes[byteCount] = 0;
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (5)
813dst[j++] = HexConverter.ToCharUpper(b >> 4); 814dst[j++] = HexConverter.ToCharUpper(b); 818dst[j++] = '-'; 819dst[j++] = HexConverter.ToCharUpper(b >> 4); 820dst[j++] = HexConverter.ToCharUpper(b);
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReverseEndianness.cs (2)
393destination[i] = ReverseEndianness(source[i]); 401destination[i] = ReverseEndianness(source[i]);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Decoder.cs (3)
493buffer[bufferIdx] = utf8[encodedIdx]; 594buffer[bufferIdx] = utf8[(int)sourceIndex]; 633utf8[localDestIndex - localBytesWritten + i] = buffer[i];
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Utf8Parser\Utf8Parser.Number.cs (4)
120digits[dstIndex] = 0; 191digits[dstIndex] = 0; 207digits[dstIndex] = 0; 316digits[dstIndex] = 0;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.cs (56)
106keys[i] = keys[j]; 107keys[j] = key; 117a[i] = a[j]; 118a[j] = t; 251keys[i - 1] = keys[child - 1]; 255keys[i - 1] = d; 267keys[j + 1] = keys[j]; 271keys[j + 1] = t; 520Swap(ref keys[0], ref keys[i - 1]); 531if (child < n && (keys[child - 1] == null || LessThan(ref keys[child - 1], ref keys[child]))) 536if (keys[child - 1] == null || !LessThan(ref d, ref keys[child - 1])) 539keys[i - 1] = keys[child - 1]; 543keys[i - 1] = d; 644keys[i] = keys[j]; 645keys[j] = key; 648values[i] = values[j]; 649values[j] = value; 659keys[i] = keys[j]; 660keys[j] = k; 663values[i] = values[j]; 664values[j] = v; 798keys[i - 1] = keys[child - 1]; 799values[i - 1] = values[child - 1]; 803keys[i - 1] = d; 804values[i - 1] = dValue; 819keys[j + 1] = keys[j]; 820values[j + 1] = values[j]; 824keys[j + 1] = t; 825values[j + 1] = tValue; 881ref TKey keyRef = ref keys[i]; 882if (keyRef != null && GreaterThan(ref keyRef, ref keys[j])) 885keys[i] = keys[j]; 886keys[j] = key; 889values[i] = values[j]; 890values[j] = value; 900keys[i] = keys[j]; 901keys[j] = k; 904values[i] = values[j]; 905values[j] = v; 1023if (child < n && (keys[child - 1] == null || LessThan(ref keys[child - 1], ref keys[child]))) 1028if (keys[child - 1] == null || !LessThan(ref d, ref keys[child - 1])) 1031keys[i - 1] = keys[child - 1]; 1032values[i - 1] = values[child - 1]; 1036keys[i - 1] = d; 1037values[i - 1] = dValue; 1048while (j >= 0 && (t == null || LessThan(ref t, ref keys[j]))) 1050keys[j + 1] = keys[j]; 1051values[j + 1] = values[j]; 1055keys[j + 1] = t!; 1056values[j + 1] = tValue; 1125keys[left] = keys[i]; 1126keys[i] = temp; 1131values[left] = values[i]; 1132values[i] = tempValue;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (4)
39return ref _span[index]; 52span[pos] = item; 68span[pos] = source[0]; 137_span[pos] = item;
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2773tempBuffer[charsWritten++] = c;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipe.cs (1)
127EventPipeProviderConfigurationNative.MarshalToNative(providers[i], ref providersNative[i]);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (4)
537dataRefObj[refObjIndex] = supportedRefObj; 538refObjPosition[refObjIndex] = idx; 567dataRefObj[refObjIndex] = null; 568refObjPosition[refObjIndex] = -1;
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
2087foundItems[foundItemsCount] = index;
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Icu.cs (7)
191modifiedPattern[index] = s[index]; 200modifiedPattern[index] = 'y'; 204modifiedPattern[index] = s[index]; 224modifiedPattern[index + 1] = 'y'; // second y 225modifiedPattern[index + 2] = 'y'; // third y 226modifiedPattern[index + 3] = 'y'; // fourth y 233modifiedPattern[index + 2] = s[index];
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.cs (4)
744normalizedName[i] = (char)(((int)name[i]) + 0x20); 749normalizedName[i] = name[i]; 764normalizedName[i] = (char)(((int)name[i]) - 0x20); 769normalizedName[i] = name[i];
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Icu.cs (8)
52buffer[bufferIndex++] = '-'; 80buffer[bufferIndex++] = '_'; 91buffer[bufferIndex++] = name[i]; 352result[resultPos++] = icuFormatString[i++]; 356result[resultPos++] = current; 374result[resultPos++] = current; 381result[resultPos++] = 't'; 382result[resultPos++] = 't';
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (1)
5853result[i] = ch;
src\libraries\System.Private.CoreLib\src\System\Globalization\IcuLocaleData.cs (2)
3816lower_case[i] = char.IsAsciiLetterUpper(ch) ? (byte)(ch | 0x20) : (byte)ch; 3867s[i] = (char)buffer[i];
src\libraries\System.Private.CoreLib\src\System\Globalization\InvariantModeCasing.cs (6)
126destination[i] = h; 127destination[i + 1] = l; 133destination[i] = ToUpper(c); 152destination[i] = h; 153destination[i + 1] = l; 159destination[i] = ToLower(c);
src\libraries\System.Private.CoreLib\src\System\Globalization\OrdinalCasing.Icu.cs (5)
152destination[i] = ToUpperInvariantMode(source[i]); 166destination[i] = (char)s_basicLatin[c]; 176SurrogateCasing.ToUpper(c, cl, out destination[i], out destination[i + 1]); 182destination[i] = ToUpper(c);
src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
43path[pos + 6] = 0;
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemName.cs (8)
316currentMatches[currentMatch++] = currentState; 329currentMatches[currentMatch++] = currentState; 340currentMatches[currentMatch++] = maxState; 355currentMatches[currentMatch++] = currentState; 362currentMatches[currentMatch++] = currentState; 370currentMatches[currentMatch++] = currentState; 372currentMatches[currentMatch++] = currentState + 1; 375currentMatches[currentMatch++] = maxState;
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (1)
643destination[charsWritten++] = DirectorySeparatorChar;
src\libraries\System.Private.CoreLib\src\System\IO\RandomAccess.Unix.cs (2)
74vectors[i] = new Interop.Sys.IOVector { Base = (byte*)memoryHandle.Pointer, Count = (UIntPtr)buffer.Length }; 187vectors[i] = new Interop.Sys.IOVector { Base = firstBufferOffset + (byte*)memoryHandle.Pointer, Count = (UIntPtr)(buffer.Length - firstBufferOffset) };
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
3908destinationMinusOne[rangeCount] = startInclusive..endExclusive; 3932destination[rangeCount] = startInclusive..endExclusive;
src\libraries\System.Private.CoreLib\src\System\Number.Dragon4.cs (10)
39number.Digits[length] = (byte)('\0'); 69number.Digits[length] = (byte)('\0'); 99number.Digits[length] = (byte)('\0'); 399buffer[curDigit] = (byte)('0' + outputDigit); 434buffer[curDigit] = (byte)('0' + outputDigit); 462buffer[curDigit] = (byte)('0' + outputDigit); 495buffer[curDigit] = (byte)('0' + outputDigit); 508buffer[curDigit] = (byte)('1'); 521buffer[curDigit]++; 531buffer[curDigit] = (byte)('0' + outputDigit + 1);
src\libraries\System.Private.CoreLib\src\System\Number.Grisu3.cs (11)
351number.Digits[length] = (byte)('\0'); 385number.Digits[length] = (byte)('\0'); 419number.Digits[length] = (byte)('\0'); 630buffer[length] = (byte)('0' + digit); 677buffer[length] = (byte)('0' + digit); 809buffer[length] = (byte)('0' + digit); 861buffer[length] = (byte)('0' + digit); 942buffer[length - 1]++; 951buffer[i] = (byte)('0'); 952buffer[i - 1]++; 1066buffer[length - 1]--;
src\libraries\System.Private.CoreLib\src\System\Random.cs (4)
221destination[i] = choices[randomBytes[i] & mask]; 234destination[i] = choices[Next(choices.Length)]; 322values[i] = values[j]; 323values[j] = temp;
src\libraries\System.Private.CoreLib\src\System\Random.Net5CompatImpl.cs (2)
231buffer[i] = (byte)_parent.Next(); 319buffer[i] = (byte)InternalSample();
src\libraries\System.Private.CoreLib\src\System\Random.Xoshiro256StarStarImpl.cs (1)
165buffer[i] = remainingBytes[i];
src\libraries\System.Private.CoreLib\src\System\Range.cs (3)
82span[pos++] = '.'; 83span[pos++] = '.'; 87span[pos++] = '^';
src\libraries\System.Private.CoreLib\src\System\Reflection\ConstructorInvoker.cs (4)
255copyOfArgs[i] = arg; 303ByReference.Create(ref copyOfArgs[i]); 335copyOfArgs[i] = arg; 372copyOfArgs[i] = arg;
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (6)
173ByReference.Create(ref copyOfArgs[i]); 369shouldCopyBack[i] = true; 377shouldCopyBack[i] = sigType.CheckValue(ref arg, binder, culture, invokeAttr); 386shouldCopyBack[i] = true; 390shouldCopyBack[i] = sigType.CheckValue(ref arg, binder, culture, invokeAttr); 394copyOfParameters[i] = arg;
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInvoker.cs (4)
308copyOfArgs[i] = arg; 356ByReference.Create(ref copyOfArgs[i]); 388copyOfArgs[i] = arg; 425copyOfArgs[i] = arg;
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
610bits[i] = _store.ReadInt32();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.Unix.cs (1)
56bytes[actualByteLength] = 0;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshalling\Utf8StringMarshaller.cs (2)
32buffer[byteCount] = 0; // null-terminate 98buffer[byteCount] = 0; // null-terminate
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (1)
239seenValues[offset] = true;
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyBucketizer.cs (1)
119bucketIndexes[i] = bucketIndex;
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (2)
62normalizedValues[i++] = NormalizeIfNeeded(value, ignoreCase); 105values[newCount++] = value;
src\libraries\System.Private.CoreLib\src\System\Security\SecureString.cs (4)
113span[_decryptedLength] = c; 195span[index] = c; 271span[index] = c; 381resultSpan[resultSpan.Length - 1] = '\0';
src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
262get => ref _span[_index];
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (1)
910scratch[length] = '\0';
src\libraries\System.Private.CoreLib\src\System\Text\ASCIIEncoding.cs (2)
399bytes[idx++] = replacementByte; 688chars[idx++] = replacementChar;
src\libraries\System.Private.CoreLib\src\System\Text\DecoderNLS.cs (2)
388dest[total++] = srcLeft[i]; 400dest[total++] = srcRight[i];
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (1)
298destination[i] = (char)(0xDF00 | source[i]);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (3)
3513continuations[i] = null; // so that we can skip this later 3523continuations[i] = null; 3555continuations[i] = null; // to enable free'ing up memory earlier
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (4)
263safeWaitHandles[i] = safeWaitHandle; 264unsafeWaitHandles[i] = safeWaitHandle.DangerousGetHandle(); 277safeWaitHandles[i] = null; 396unsafeWaitHandles[i] = safeWaitHandles[i].DangerousGetHandle();
src\System\RuntimeHandles.cs (1)
175outHandles[i] = inHandles[i].Value;
src\System\RuntimeType.CoreCLR.cs (1)
1353usedSlots[slot] = true;
src\System\StubHelpers.cs (1)
449native[numChars] = '\0';
System.Private.CoreLib.Generators (4)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (4)
39return ref _span[index]; 52span[pos] = item; 68span[pos] = source[0]; 137_span[pos] = item;
System.Private.DataContractSerialization (7)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
System\Xml\XmlConverter.cs (2)
1108chars[count++] = c; 1139chars[count++] = c;
System.Private.Uri (34)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Net\IPv4AddressHelper.Common.cs (1)
33numbers[i] = (byte)b;
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (8)
308numbers[index++] = (ushort)number; 324numbers[index++] = (ushort)number; 363numbers[index++] = (ushort)(number >> 16); 364numbers[index++] = (ushort)number; 379numbers[index++] = (ushort)number; 401numbers[index++] = (ushort)number; 417numbers[toIndex--] = numbers[fromIndex]; 418numbers[fromIndex--] = 0;
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\IPv4AddressHelper.cs (1)
27stackSpace[periodPos] = '.';
System\IPv6AddressHelper.cs (8)
34stackSpace[pos++] = ':'; 41stackSpace[pos++] = '.'; 46stackSpace[pos++] = '.'; 51stackSpace[pos++] = '.'; 62stackSpace[pos++] = ':'; 68stackSpace[pos++] = ':'; 79stackSpace[pos++] = ':'; 86stackSpace[pos++] = ']';
System\UriHelper.cs (1)
630buffer[destIndex++] = c;
System\ValueStringBuilderExtensions.cs (3)
19chars[pos] = (char)rune.Value; 24chars[pos] = (char)((rune.Value + ((0xD800u - 0x40u) << 10)) >> 10); 25chars[pos + 1] = (char)((rune.Value & 0x3FFu) + 0xDC00u);
System.Private.Xml (35)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\Xml\Base64Decoder.cs (1)
156bytes[iByte++] = (byte)((b >> (bFilled - 8)) & 0xFF);
System\Xml\BinaryXml\SqlUtils.cs (6)
207pszTmp[iDigits++] = ChFromDigit(ulRem); 214pszTmp[iDigits++] = ChFromDigit(0); 230szResult[iCurChar++] = '-'; 235szResult[iCurChar++] = '.'; 236szResult[iCurChar++] = pszTmp[iDigits]; 394chars[fractionDigits] = (char)(fraction % 10 + '0');
System\Xml\BinHexDecoder.cs (1)
170bytes[iByte++] = (byte)((cachedHalfByte << 4) + halfByte);
System\Xml\Cache\XPathDocumentNavigator.cs (4)
903buf[idx++] = NodeTypeLetter[(int)_pageCurrent[_idxCurrent].NodeType]; 911buf[idx++] = UniqueIdTbl[loc & 0x1f]; 914buf[idx++] = '0'; 921buf[idx++] = UniqueIdTbl[loc & 0x1f];
System\Xml\Schema\XsdDateTime.cs (9)
560text[s_lzyyyy] = '-'; 562text[s_lzyyyy_MM] = '-'; 624text[s_lzHH] = ':'; 626text[s_lzHH_mm] = ':'; 657text[s_lz_zz] = ':'; 664text[s_lz_zz] = ':'; 679text[start + digits] = (char)(value % 10 + '0'); 687text[start] = (char)(value / 10 + '0'); 688text[start + 1] = (char)(value % 10 + '0');
System\Xml\Schema\XsdDuration.cs (1)
415tmpSpan[idx - len] = (char)(digit + '0');
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
961characters[idx] = ParseCharAttribute(3 + idx, _decimalFormatAttributes[3 + idx].name, DefaultValues[idx]);
System.Reflection.Metadata (13)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
270NumberStyles.None, NumberFormatInfo.InvariantInfo, out versionNumbers[i]))
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System.Runtime.Numerics (74)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Number.Formatting.Common.cs (1)
509thousandsSepPos[thousandsSepCtr] = groupTotalSizeCount;
src\libraries\Common\src\System\Number.Parsing.Common.cs (3)
108number.Digits[digCount] = (byte)ch; 169number.Digits[digEnd] = (byte)'\0'; 230number.Digits[number.DigitsCount] = (byte)'\0';
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (4)
39return ref _span[index]; 52span[pos] = item; 68span[pos] = source[0]; 137_span[pos] = item;
System\Number.BigInteger.cs (11)
460buffer[bufferIndex] = currentBlock; 522curNewBuffer[j] = unchecked((uint)digit); 529curNewBuffer[j]++; 632curBits[i] = (uint)p; 656currentBuffer[currentBufferSize] = carry; 712chars[charsPos++] = hexValues[b >> 4]; 713chars[charsPos++] = hexValues[b & 0xF]; 921base1E9Buffer[iuDst] = (uint)rem; 925(uCarry, base1E9Buffer[cuDst++]) = Math.DivRem(uCarry, kuBase); 927base1E9Buffer[cuDst++] = uCarry; 1085out destination[i]))
System\Numerics\BigInteger.cs (28)
1456destination[curByte] = unchecked((byte)dword); 1458destination[curByte] = unchecked((byte)(dword >> 8)); 1460destination[curByte] = unchecked((byte)(dword >> 16)); 1462destination[curByte] = unchecked((byte)(dword >> 24)); 1468destination[curByte] = unchecked((byte)highDword); 1472destination[curByte] = unchecked((byte)(highDword >> 8)); 1476destination[curByte] = unchecked((byte)(highDword >> 16)); 1480destination[curByte] = unchecked((byte)(highDword >> 24)); 1493destination[curByte] = highByte; 1544buffer[buffer.Length - 1] = highDWord; 2360z[i] = xu & yu; 2416z[i] = xu | yu; 2467z[i] = xu ^ yu; 2516zd[i + digitShift] = xd[i]; 2526zd[i + digitShift] = rot << smallShift | carry; 2531zd[zd.Length - 1] = carry; 2597zd[i - digitShift] = xd[i]; 2609zd[i - digitShift] = (rot >> smallShift) | (0xFFFFFFFF << carryShift); 2611zd[i - digitShift] = (rot >> smallShift) | carry; 2620zd[zd.Length - 1] = 0xFFFFFFFF; 3281zd[dstIndex] = xd[srcIndex]; 3293zd[dstIndex] = xd[srcIndex]; 3322zd[dstIndex] = (part << smallShift) | carry; 3336zd[dstIndex] = (part << smallShift) | carry; 3416zd[dstIndex] = xd[srcIndex]; 3428zd[dstIndex] = xd[srcIndex]; 3456zd[dstIndex] = (part >> smallShift) | carry; 3470zd[dstIndex] = (part >> smallShift) | carry;
System\Numerics\BigIntegerCalculator.AddSub.cs (2)
83left[i] = (uint)digit; 158left[i] = (uint)digit;
System\Numerics\BigIntegerCalculator.DivRem.cs (6)
26quotient[i] = (uint)digit; 44quotient[i] = (uint)digit; 189bits[n] = (uint)digit; 192left[i] = 0; 206ref uint leftElement = ref left[i]; 230ref uint leftElement = ref left[i];
System\Numerics\BigIntegerCalculator.FastReducer.cs (1)
32r[r.Length - 1] = 1;
System\Numerics\BigIntegerCalculator.GcdInv.cs (2)
297x[i] = unchecked((uint)xDigit); 298y[i] = unchecked((uint)yDigit);
System\Numerics\BigIntegerCalculator.SquMul.cs (3)
146bits[i] = unchecked((uint)digits); 149bits[i] = (uint)carry; 399core[i] = (uint)digit;
System\Numerics\NumericsHelpers.cs (1)
152d[offset] = ~d[offset];
System.Security.Cryptography (31)
Microsoft\Win32\SafeHandles\SafePasswordHandle.cs (1)
54dest[password.Length] = '\0';
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
246into[i] = (byte)tmp;
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (5)
138destination[ps.Length + 2] = 0; 283destination[paddingLength + 2] = 0; 418em[emLen - 1] = 0xBC; 447db[psLen] = 0x01; 640a[i] ^= b[i];
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\Common\src\System\Text\ValueUtf8Converter.cs (1)
36_bytes[byteCount] = 0;
System\Security\Cryptography\AsnFormatter.cs (3)
33hexOrder[j++] = ' '; 37hexOrder[j++] = HexConverter.ToCharUpper(digit >> 4); 38hexOrder[j++] = HexConverter.ToCharUpper(digit);
System\Security\Cryptography\RandomNumberGenerator.cs (4)
305values[i] = values[j]; 306values[j] = temp; 378destination[i] = choices[randomBytes[i] & mask]; 391destination[i] = choices[GetInt32(choices.Length)];
System\Security\Cryptography\SymmetricPadding.cs (2)
70destination[count + padBytes - 1] = (byte)padBytes; 87destination[count + padBytes - 1] = (byte)padBytes;
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
298tempChain[i] = Interop.Crypto.GetX509StackField(chainStack, i);
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
565destination[written++] = c;
System.Text.Encodings.Web (23)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
System\Text\Encodings\Web\AllowedBmpCodePointsBitmap.cs (1)
89thisAllowedCharactersBitmap[i] &= BinaryPrimitives.ReadUInt32LittleEndian(definedCharsBitmapAsLittleEndian.Slice(i * sizeof(uint)));
System\Text\Encodings\Web\DefaultHtmlEncoder.cs (4)
110destination[idxOfSemicolon] = (byte)';'; 121destination[i] = (byte)asUpperHex; 185destination[idxOfSemicolon] = ';'; 198destination[i] = asUpperHex;
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (3)
142destination[dstIdx] = (char)(byte)preescapedEntry; 162destination[dstIdxTemp++] = (char)(byte)preescapedEntry; 279destination[dstIdxTemp++] = (byte)preescapedEntry;
System\Text\Encodings\Web\TextEncoder.cs (3)
78utf8Destination[dstIdx++] = (byte)utf8lsb; 359utf8Destination[dstIdxTemp++] = (byte)utf8lsb; 588destination[i] = source[i];
System.Text.Json (454)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\System.Text.Json\Common\JsonCamelCaseNamingPolicy.cs (2)
45chars[i] = char.ToLowerInvariant(chars[i]); 51chars[i] = char.ToLowerInvariant(chars[i]);
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
70keys[i] = (keySelector(span[i]), i);
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
154destination[charsWritten++] = value;
System\Text\Json\Document\JsonDocument.MetadataDb.cs (1)
396newDbInts[i] -= locationOffset;
System\Text\Json\Reader\JsonReaderHelper.Unescaping.cs (14)
460destination[written++] = JsonConstants.Quote; 463destination[written++] = JsonConstants.LineFeed; 466destination[written++] = JsonConstants.CarriageReturn; 469destination[written++] = JsonConstants.BackSlash; 472destination[written++] = JsonConstants.Slash; 475destination[written++] = JsonConstants.Tab; 478destination[written++] = JsonConstants.BackSpace; 481destination[written++] = JsonConstants.FormFeed; 570destination[written++] = source[idx++]; 573destination[written++] = source[idx++]; 574destination[written++] = source[idx++]; 577destination[written++] = source[idx++]; 578destination[written++] = source[idx++]; 579destination[written++] = source[idx++];
System\Text\Json\Serialization\Converters\Value\HalfConverter.cs (1)
133buffer[length - 1] = Quote;
System\Text\Json\Serialization\Converters\Value\Int128Converter.cs (1)
122buffer[length - 1] = Quote;
System\Text\Json\Serialization\Converters\Value\UInt128Converter.cs (1)
121buffer[length - 1] = Quote;
System\Text\Json\Writer\JsonWriterHelper.cs (3)
24buffer[i++] = indentByte; 25buffer[i++] = indentByte; 30buffer[i] = indentByte;
System\Text\Json\Writer\JsonWriterHelper.Date.cs (7)
91buffer[curIndex] = buffer[maxDateTimeLength]; 92buffer[curIndex + 1] = buffer[maxDateTimeLength + 1]; 93buffer[curIndex + 2] = buffer[maxDateTimeLength + 2]; 94buffer[curIndex + 3] = buffer[maxDateTimeLength + 3]; 95buffer[curIndex + 4] = buffer[maxDateTimeLength + 4]; 96buffer[curIndex + 5] = buffer[maxDateTimeLength + 5]; 104buffer[curIndex] = (byte)'Z';
System\Text\Json\Writer\JsonWriterHelper.Escaping.cs (28)
130destination[written] = val; 149destination[written++] = (byte)'\\'; 154destination[written++] = (byte)'u'; 155destination[written++] = (byte)'0'; 156destination[written++] = (byte)'0'; 157destination[written++] = (byte)'2'; 158destination[written++] = (byte)'2'; 161destination[written++] = (byte)'n'; 164destination[written++] = (byte)'r'; 167destination[written++] = (byte)'t'; 170destination[written++] = (byte)'\\'; 173destination[written++] = (byte)'b'; 176destination[written++] = (byte)'f'; 179destination[written++] = (byte)'u'; 241destination[written] = val; 262destination[written++] = '\\'; 267destination[written++] = 'u'; 268destination[written++] = '0'; 269destination[written++] = '0'; 270destination[written++] = '2'; 271destination[written++] = '2'; 274destination[written++] = 'n'; 277destination[written++] = 'r'; 280destination[written++] = 't'; 283destination[written++] = '\\'; 286destination[written++] = 'b'; 289destination[written++] = 'f'; 292destination[written++] = 'u';
System\Text\Json\Writer\Utf8JsonWriter.cs (8)
508output[BytesPending++] = JsonConstants.ListSeparator; 510output[BytesPending++] = token; 575output[BytesPending++] = JsonConstants.ListSeparator; 585output[BytesPending++] = token; 937output[BytesPending++] = token; 1022output[BytesPending++] = token; 1033output[BytesPending++] = JsonConstants.CarriageReturn; 1035output[BytesPending++] = JsonConstants.LineFeed;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Bytes.cs (26)
228output[BytesPending++] = JsonConstants.ListSeparator; 230output[BytesPending++] = JsonConstants.Quote; 234output[BytesPending++] = JsonConstants.Quote; 235output[BytesPending++] = JsonConstants.KeyValueSeparator; 237output[BytesPending++] = JsonConstants.Quote; 241output[BytesPending++] = JsonConstants.Quote; 263output[BytesPending++] = JsonConstants.ListSeparator; 265output[BytesPending++] = JsonConstants.Quote; 270output[BytesPending++] = JsonConstants.Quote; 271output[BytesPending++] = JsonConstants.KeyValueSeparator; 273output[BytesPending++] = JsonConstants.Quote; 277output[BytesPending++] = JsonConstants.Quote; 302output[BytesPending++] = JsonConstants.ListSeparator; 315output[BytesPending++] = JsonConstants.Quote; 319output[BytesPending++] = JsonConstants.Quote; 320output[BytesPending++] = JsonConstants.KeyValueSeparator; 321output[BytesPending++] = JsonConstants.Space; 323output[BytesPending++] = JsonConstants.Quote; 327output[BytesPending++] = JsonConstants.Quote; 352output[BytesPending++] = JsonConstants.ListSeparator; 365output[BytesPending++] = JsonConstants.Quote; 370output[BytesPending++] = JsonConstants.Quote; 371output[BytesPending++] = JsonConstants.KeyValueSeparator; 372output[BytesPending++] = JsonConstants.Space; 374output[BytesPending++] = JsonConstants.Quote; 378output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTime.cs (26)
233output[BytesPending++] = JsonConstants.ListSeparator; 235output[BytesPending++] = JsonConstants.Quote; 239output[BytesPending++] = JsonConstants.Quote; 240output[BytesPending++] = JsonConstants.KeyValueSeparator; 242output[BytesPending++] = JsonConstants.Quote; 247output[BytesPending++] = JsonConstants.Quote; 266output[BytesPending++] = JsonConstants.ListSeparator; 268output[BytesPending++] = JsonConstants.Quote; 273output[BytesPending++] = JsonConstants.Quote; 274output[BytesPending++] = JsonConstants.KeyValueSeparator; 276output[BytesPending++] = JsonConstants.Quote; 281output[BytesPending++] = JsonConstants.Quote; 304output[BytesPending++] = JsonConstants.ListSeparator; 317output[BytesPending++] = JsonConstants.Quote; 321output[BytesPending++] = JsonConstants.Quote; 322output[BytesPending++] = JsonConstants.KeyValueSeparator; 323output[BytesPending++] = JsonConstants.Space; 325output[BytesPending++] = JsonConstants.Quote; 330output[BytesPending++] = JsonConstants.Quote; 352output[BytesPending++] = JsonConstants.ListSeparator; 365output[BytesPending++] = JsonConstants.Quote; 370output[BytesPending++] = JsonConstants.Quote; 371output[BytesPending++] = JsonConstants.KeyValueSeparator; 372output[BytesPending++] = JsonConstants.Space; 374output[BytesPending++] = JsonConstants.Quote; 379output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.DateTimeOffset.cs (26)
232output[BytesPending++] = JsonConstants.ListSeparator; 234output[BytesPending++] = JsonConstants.Quote; 238output[BytesPending++] = JsonConstants.Quote; 239output[BytesPending++] = JsonConstants.KeyValueSeparator; 241output[BytesPending++] = JsonConstants.Quote; 246output[BytesPending++] = JsonConstants.Quote; 265output[BytesPending++] = JsonConstants.ListSeparator; 267output[BytesPending++] = JsonConstants.Quote; 272output[BytesPending++] = JsonConstants.Quote; 273output[BytesPending++] = JsonConstants.KeyValueSeparator; 275output[BytesPending++] = JsonConstants.Quote; 280output[BytesPending++] = JsonConstants.Quote; 303output[BytesPending++] = JsonConstants.ListSeparator; 316output[BytesPending++] = JsonConstants.Quote; 320output[BytesPending++] = JsonConstants.Quote; 321output[BytesPending++] = JsonConstants.KeyValueSeparator; 322output[BytesPending++] = JsonConstants.Space; 324output[BytesPending++] = JsonConstants.Quote; 329output[BytesPending++] = JsonConstants.Quote; 351output[BytesPending++] = JsonConstants.ListSeparator; 364output[BytesPending++] = JsonConstants.Quote; 369output[BytesPending++] = JsonConstants.Quote; 370output[BytesPending++] = JsonConstants.KeyValueSeparator; 371output[BytesPending++] = JsonConstants.Space; 373output[BytesPending++] = JsonConstants.Quote; 378output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Decimal.cs (18)
232output[BytesPending++] = JsonConstants.ListSeparator; 234output[BytesPending++] = JsonConstants.Quote; 238output[BytesPending++] = JsonConstants.Quote; 239output[BytesPending++] = JsonConstants.KeyValueSeparator; 262output[BytesPending++] = JsonConstants.ListSeparator; 264output[BytesPending++] = JsonConstants.Quote; 269output[BytesPending++] = JsonConstants.Quote; 270output[BytesPending++] = JsonConstants.KeyValueSeparator; 297output[BytesPending++] = JsonConstants.ListSeparator; 310output[BytesPending++] = JsonConstants.Quote; 314output[BytesPending++] = JsonConstants.Quote; 315output[BytesPending++] = JsonConstants.KeyValueSeparator; 316output[BytesPending++] = JsonConstants.Space; 342output[BytesPending++] = JsonConstants.ListSeparator; 355output[BytesPending++] = JsonConstants.Quote; 360output[BytesPending++] = JsonConstants.Quote; 361output[BytesPending++] = JsonConstants.KeyValueSeparator; 362output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Double.cs (18)
236output[BytesPending++] = JsonConstants.ListSeparator; 238output[BytesPending++] = JsonConstants.Quote; 242output[BytesPending++] = JsonConstants.Quote; 243output[BytesPending++] = JsonConstants.KeyValueSeparator; 266output[BytesPending++] = JsonConstants.ListSeparator; 268output[BytesPending++] = JsonConstants.Quote; 273output[BytesPending++] = JsonConstants.Quote; 274output[BytesPending++] = JsonConstants.KeyValueSeparator; 301output[BytesPending++] = JsonConstants.ListSeparator; 314output[BytesPending++] = JsonConstants.Quote; 318output[BytesPending++] = JsonConstants.Quote; 319output[BytesPending++] = JsonConstants.KeyValueSeparator; 320output[BytesPending++] = JsonConstants.Space; 346output[BytesPending++] = JsonConstants.ListSeparator; 359output[BytesPending++] = JsonConstants.Quote; 364output[BytesPending++] = JsonConstants.Quote; 365output[BytesPending++] = JsonConstants.KeyValueSeparator; 366output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Float.cs (18)
236output[BytesPending++] = JsonConstants.ListSeparator; 238output[BytesPending++] = JsonConstants.Quote; 242output[BytesPending++] = JsonConstants.Quote; 243output[BytesPending++] = JsonConstants.KeyValueSeparator; 266output[BytesPending++] = JsonConstants.ListSeparator; 268output[BytesPending++] = JsonConstants.Quote; 273output[BytesPending++] = JsonConstants.Quote; 274output[BytesPending++] = JsonConstants.KeyValueSeparator; 301output[BytesPending++] = JsonConstants.ListSeparator; 314output[BytesPending++] = JsonConstants.Quote; 318output[BytesPending++] = JsonConstants.Quote; 319output[BytesPending++] = JsonConstants.KeyValueSeparator; 320output[BytesPending++] = JsonConstants.Space; 346output[BytesPending++] = JsonConstants.ListSeparator; 359output[BytesPending++] = JsonConstants.Quote; 364output[BytesPending++] = JsonConstants.Quote; 365output[BytesPending++] = JsonConstants.KeyValueSeparator; 366output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Guid.cs (26)
232output[BytesPending++] = JsonConstants.ListSeparator; 234output[BytesPending++] = JsonConstants.Quote; 238output[BytesPending++] = JsonConstants.Quote; 239output[BytesPending++] = JsonConstants.KeyValueSeparator; 241output[BytesPending++] = JsonConstants.Quote; 247output[BytesPending++] = JsonConstants.Quote; 266output[BytesPending++] = JsonConstants.ListSeparator; 268output[BytesPending++] = JsonConstants.Quote; 273output[BytesPending++] = JsonConstants.Quote; 274output[BytesPending++] = JsonConstants.KeyValueSeparator; 276output[BytesPending++] = JsonConstants.Quote; 282output[BytesPending++] = JsonConstants.Quote; 305output[BytesPending++] = JsonConstants.ListSeparator; 318output[BytesPending++] = JsonConstants.Quote; 322output[BytesPending++] = JsonConstants.Quote; 323output[BytesPending++] = JsonConstants.KeyValueSeparator; 324output[BytesPending++] = JsonConstants.Space; 326output[BytesPending++] = JsonConstants.Quote; 332output[BytesPending++] = JsonConstants.Quote; 354output[BytesPending++] = JsonConstants.ListSeparator; 367output[BytesPending++] = JsonConstants.Quote; 372output[BytesPending++] = JsonConstants.Quote; 373output[BytesPending++] = JsonConstants.KeyValueSeparator; 374output[BytesPending++] = JsonConstants.Space; 376output[BytesPending++] = JsonConstants.Quote; 382output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Helpers.cs (22)
77output[BytesPending++] = JsonConstants.ListSeparator; 79output[BytesPending++] = JsonConstants.Quote; 84output[BytesPending++] = JsonConstants.Quote; 85output[BytesPending++] = JsonConstants.KeyValueSeparator; 86output[BytesPending++] = token; 108output[BytesPending++] = JsonConstants.ListSeparator; 121output[BytesPending++] = JsonConstants.Quote; 126output[BytesPending++] = JsonConstants.Quote; 128output[BytesPending++] = JsonConstants.KeyValueSeparator; 129output[BytesPending++] = JsonConstants.Space; 130output[BytesPending++] = token; 150output[BytesPending++] = JsonConstants.ListSeparator; 152output[BytesPending++] = JsonConstants.Quote; 156output[BytesPending++] = JsonConstants.Quote; 157output[BytesPending++] = JsonConstants.KeyValueSeparator; 158output[BytesPending++] = token; 181output[BytesPending++] = JsonConstants.ListSeparator; 194output[BytesPending++] = JsonConstants.Quote; 198output[BytesPending++] = JsonConstants.Quote; 200output[BytesPending++] = JsonConstants.KeyValueSeparator; 201output[BytesPending++] = JsonConstants.Space; 202output[BytesPending++] = token;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.Literal.cs (19)
355output[BytesPending++] = JsonConstants.ListSeparator; 357output[BytesPending++] = JsonConstants.Quote; 361output[BytesPending++] = JsonConstants.Quote; 362output[BytesPending++] = JsonConstants.KeyValueSeparator; 385output[BytesPending++] = JsonConstants.ListSeparator; 387output[BytesPending++] = JsonConstants.Quote; 392output[BytesPending++] = JsonConstants.Quote; 393output[BytesPending++] = JsonConstants.KeyValueSeparator; 417output[BytesPending++] = JsonConstants.ListSeparator; 448output[BytesPending++] = JsonConstants.ListSeparator; 461output[BytesPending++] = JsonConstants.Quote; 465output[BytesPending++] = JsonConstants.Quote; 466output[BytesPending++] = JsonConstants.KeyValueSeparator; 467output[BytesPending++] = JsonConstants.Space; 493output[BytesPending++] = JsonConstants.ListSeparator; 506output[BytesPending++] = JsonConstants.Quote; 511output[BytesPending++] = JsonConstants.Quote; 512output[BytesPending++] = JsonConstants.KeyValueSeparator; 513output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.SignedNumber.cs (18)
308output[BytesPending++] = JsonConstants.ListSeparator; 310output[BytesPending++] = JsonConstants.Quote; 314output[BytesPending++] = JsonConstants.Quote; 315output[BytesPending++] = JsonConstants.KeyValueSeparator; 338output[BytesPending++] = JsonConstants.ListSeparator; 340output[BytesPending++] = JsonConstants.Quote; 345output[BytesPending++] = JsonConstants.Quote; 346output[BytesPending++] = JsonConstants.KeyValueSeparator; 373output[BytesPending++] = JsonConstants.ListSeparator; 386output[BytesPending++] = JsonConstants.Quote; 390output[BytesPending++] = JsonConstants.Quote; 391output[BytesPending++] = JsonConstants.KeyValueSeparator; 392output[BytesPending++] = JsonConstants.Space; 418output[BytesPending++] = JsonConstants.ListSeparator; 431output[BytesPending++] = JsonConstants.Quote; 436output[BytesPending++] = JsonConstants.Quote; 437output[BytesPending++] = JsonConstants.KeyValueSeparator; 438output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.String.cs (71)
177output[BytesPending++] = JsonConstants.ListSeparator; 179output[BytesPending++] = JsonConstants.Quote; 183output[BytesPending++] = JsonConstants.Quote; 184output[BytesPending++] = JsonConstants.KeyValueSeparator; 208output[BytesPending++] = JsonConstants.ListSeparator; 219output[BytesPending++] = JsonConstants.Quote; 223output[BytesPending++] = JsonConstants.Quote; 224output[BytesPending++] = JsonConstants.KeyValueSeparator; 225output[BytesPending++] = JsonConstants.Space; 337output[BytesPending++] = JsonConstants.ListSeparator; 339output[BytesPending++] = JsonConstants.Quote; 344output[BytesPending++] = JsonConstants.Quote; 345output[BytesPending++] = JsonConstants.KeyValueSeparator; 366output[BytesPending++] = JsonConstants.ListSeparator; 395output[BytesPending++] = JsonConstants.ListSeparator; 408output[BytesPending++] = JsonConstants.Quote; 413output[BytesPending++] = JsonConstants.Quote; 414output[BytesPending++] = JsonConstants.KeyValueSeparator; 415output[BytesPending++] = JsonConstants.Space; 1388output[BytesPending++] = JsonConstants.ListSeparator; 1390output[BytesPending++] = JsonConstants.Quote; 1394output[BytesPending++] = JsonConstants.Quote; 1395output[BytesPending++] = JsonConstants.KeyValueSeparator; 1397output[BytesPending++] = JsonConstants.Quote; 1401output[BytesPending++] = JsonConstants.Quote; 1422output[BytesPending++] = JsonConstants.ListSeparator; 1424output[BytesPending++] = JsonConstants.Quote; 1429output[BytesPending++] = JsonConstants.Quote; 1430output[BytesPending++] = JsonConstants.KeyValueSeparator; 1432output[BytesPending++] = JsonConstants.Quote; 1437output[BytesPending++] = JsonConstants.Quote; 1459output[BytesPending++] = JsonConstants.ListSeparator; 1461output[BytesPending++] = JsonConstants.Quote; 1465output[BytesPending++] = JsonConstants.Quote; 1466output[BytesPending++] = JsonConstants.KeyValueSeparator; 1468output[BytesPending++] = JsonConstants.Quote; 1473output[BytesPending++] = JsonConstants.Quote; 1495output[BytesPending++] = JsonConstants.ListSeparator; 1497output[BytesPending++] = JsonConstants.Quote; 1502output[BytesPending++] = JsonConstants.Quote; 1503output[BytesPending++] = JsonConstants.KeyValueSeparator; 1505output[BytesPending++] = JsonConstants.Quote; 1509output[BytesPending++] = JsonConstants.Quote; 1534output[BytesPending++] = JsonConstants.ListSeparator; 1547output[BytesPending++] = JsonConstants.Quote; 1551output[BytesPending++] = JsonConstants.Quote; 1552output[BytesPending++] = JsonConstants.KeyValueSeparator; 1553output[BytesPending++] = JsonConstants.Space; 1555output[BytesPending++] = JsonConstants.Quote; 1559output[BytesPending++] = JsonConstants.Quote; 1583output[BytesPending++] = JsonConstants.ListSeparator; 1596output[BytesPending++] = JsonConstants.Quote; 1601output[BytesPending++] = JsonConstants.Quote; 1602output[BytesPending++] = JsonConstants.KeyValueSeparator; 1603output[BytesPending++] = JsonConstants.Space; 1605output[BytesPending++] = JsonConstants.Quote; 1610output[BytesPending++] = JsonConstants.Quote; 1635output[BytesPending++] = JsonConstants.ListSeparator; 1648output[BytesPending++] = JsonConstants.Quote; 1652output[BytesPending++] = JsonConstants.Quote; 1653output[BytesPending++] = JsonConstants.KeyValueSeparator; 1654output[BytesPending++] = JsonConstants.Space; 1656output[BytesPending++] = JsonConstants.Quote; 1661output[BytesPending++] = JsonConstants.Quote; 1686output[BytesPending++] = JsonConstants.ListSeparator; 1699output[BytesPending++] = JsonConstants.Quote; 1704output[BytesPending++] = JsonConstants.Quote; 1705output[BytesPending++] = JsonConstants.KeyValueSeparator; 1706output[BytesPending++] = JsonConstants.Space; 1708output[BytesPending++] = JsonConstants.Quote; 1712output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteProperties.UnsignedNumber.cs (18)
317output[BytesPending++] = JsonConstants.ListSeparator; 319output[BytesPending++] = JsonConstants.Quote; 323output[BytesPending++] = JsonConstants.Quote; 324output[BytesPending++] = JsonConstants.KeyValueSeparator; 347output[BytesPending++] = JsonConstants.ListSeparator; 349output[BytesPending++] = JsonConstants.Quote; 354output[BytesPending++] = JsonConstants.Quote; 355output[BytesPending++] = JsonConstants.KeyValueSeparator; 382output[BytesPending++] = JsonConstants.ListSeparator; 395output[BytesPending++] = JsonConstants.Quote; 399output[BytesPending++] = JsonConstants.Quote; 400output[BytesPending++] = JsonConstants.KeyValueSeparator; 401output[BytesPending++] = JsonConstants.Space; 427output[BytesPending++] = JsonConstants.ListSeparator; 440output[BytesPending++] = JsonConstants.Quote; 445output[BytesPending++] = JsonConstants.Quote; 446output[BytesPending++] = JsonConstants.KeyValueSeparator; 447output[BytesPending++] = JsonConstants.Space;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Bytes.cs (6)
78output[BytesPending++] = JsonConstants.ListSeparator; 80output[BytesPending++] = JsonConstants.Quote; 84output[BytesPending++] = JsonConstants.Quote; 118output[BytesPending++] = JsonConstants.ListSeparator; 131output[BytesPending++] = JsonConstants.Quote; 135output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Comment.cs (16)
89output[BytesPending++] = JsonConstants.Slash; 90output[BytesPending++] = JsonConstants.Asterisk; 101output[BytesPending++] = JsonConstants.Asterisk; 102output[BytesPending++] = JsonConstants.Slash; 130output[BytesPending++] = JsonConstants.Slash; 131output[BytesPending++] = JsonConstants.Asterisk; 142output[BytesPending++] = JsonConstants.Asterisk; 143output[BytesPending++] = JsonConstants.Slash; 202output[BytesPending++] = JsonConstants.Slash; 203output[BytesPending++] = JsonConstants.Asterisk; 208output[BytesPending++] = JsonConstants.Asterisk; 209output[BytesPending++] = JsonConstants.Slash; 237output[BytesPending++] = JsonConstants.Slash; 238output[BytesPending++] = JsonConstants.Asterisk; 243output[BytesPending++] = JsonConstants.Asterisk; 244output[BytesPending++] = JsonConstants.Slash;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTime.cs (6)
55output[BytesPending++] = JsonConstants.ListSeparator; 58output[BytesPending++] = JsonConstants.Quote; 63output[BytesPending++] = JsonConstants.Quote; 83output[BytesPending++] = JsonConstants.ListSeparator; 96output[BytesPending++] = JsonConstants.Quote; 101output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.DateTimeOffset.cs (6)
56output[BytesPending++] = JsonConstants.ListSeparator; 59output[BytesPending++] = JsonConstants.Quote; 64output[BytesPending++] = JsonConstants.Quote; 84output[BytesPending++] = JsonConstants.ListSeparator; 97output[BytesPending++] = JsonConstants.Quote; 102output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Decimal.cs (2)
55output[BytesPending++] = JsonConstants.ListSeparator; 79output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Double.cs (2)
59output[BytesPending++] = JsonConstants.ListSeparator; 83output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Float.cs (2)
59output[BytesPending++] = JsonConstants.ListSeparator; 83output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.FormattedNumber.cs (2)
60output[BytesPending++] = JsonConstants.ListSeparator; 85output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Guid.cs (6)
55output[BytesPending++] = JsonConstants.ListSeparator; 58output[BytesPending++] = JsonConstants.Quote; 64output[BytesPending++] = JsonConstants.Quote; 84output[BytesPending++] = JsonConstants.ListSeparator; 97output[BytesPending++] = JsonConstants.Quote; 103output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Literal.cs (2)
79output[BytesPending++] = JsonConstants.ListSeparator; 103output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.Raw.cs (2)
187output[BytesPending++] = JsonConstants.ListSeparator; 275output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.SignedNumber.cs (2)
68output[BytesPending++] = JsonConstants.ListSeparator; 92output[BytesPending++] = JsonConstants.ListSeparator;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.String.cs (12)
133output[BytesPending++] = JsonConstants.ListSeparator; 135output[BytesPending++] = JsonConstants.Quote; 139output[BytesPending++] = JsonConstants.Quote; 163output[BytesPending++] = JsonConstants.ListSeparator; 176output[BytesPending++] = JsonConstants.Quote; 180output[BytesPending++] = JsonConstants.Quote; 279output[BytesPending++] = JsonConstants.ListSeparator; 281output[BytesPending++] = JsonConstants.Quote; 286output[BytesPending++] = JsonConstants.Quote; 309output[BytesPending++] = JsonConstants.ListSeparator; 322output[BytesPending++] = JsonConstants.Quote; 327output[BytesPending++] = JsonConstants.Quote;
System\Text\Json\Writer\Utf8JsonWriter.WriteValues.UnsignedNumber.cs (2)
70output[BytesPending++] = JsonConstants.ListSeparator; 94output[BytesPending++] = JsonConstants.ListSeparator;
System.Text.Json.SourceGeneration (3)
src\libraries\System.Text.Json\Common\JsonCamelCaseNamingPolicy.cs (2)
45chars[i] = char.ToLowerInvariant(chars[i]); 51chars[i] = char.ToLowerInvariant(chars[i]);
src\libraries\System.Text.Json\Common\JsonSeparatorNamingPolicy.cs (1)
154destination[charsWritten++] = value;
System.Text.RegularExpressions (38)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (4)
39return ref _span[index]; 52span[pos] = item; 68span[pos] = source[0]; 137_span[pos] = item;
System\Text\RegularExpressions\RegexCharClass.cs (20)
577span[FlagsIndex] = (char)0x1; 578span[SetLengthIndex] = (char)(state.set.Length - 2); 579span[CategoryLengthIndex] = (char)state.category.Length; 585span[FlagsIndex] = '\0'; 586span[SetLengthIndex] = (char)state.set.Length; 587span[CategoryLengthIndex] = (char)state.category.Length; 678categories[numCategories++] = (UnicodeCategory)(c - 1); 694categories[numCategories++] = (UnicodeCategory)(-1 - c); 717categories[numCategories++] = (UnicodeCategory)(c - 1); 738categories[numCategories++] = (UnicodeCategory)(-1 - c); 870chars[count++] = (char)c; 1605span[FlagsIndex] = (char)0; 1606span[SetLengthIndex] = (char)(span.Length - SetStartIndex); 1607span[CategoryLengthIndex] = (char)0; 1611span[i++] = c; 1614span[i++] = (char)(c + 1); 1639headerSpan[FlagsIndex] = (char)(_negate ? 1 : 0); 1640headerSpan[SetLengthIndex] = '\0'; // (will be replaced once we know how long a range we've added) 1641headerSpan[CategoryLengthIndex] = (char)categoriesLength; 1975invertedGroup[i] = (char)-(short)group[i];
System\Text\RegularExpressions\RegexCompiler.cs (1)
5989dest[i >> 4] |= (char)(1 << (i & 0xF));
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
429categoryCodes[cat] = true;
System.Text.RegularExpressions.Generator (36)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (7)
76_chars[Length] = '\0'; 86return ref _chars[index]; 109_chars[Length] = '\0'; 178chars[pos] = c; 198_chars[pos] = s[0]; 233dst[i] = c; 249dst[i] = *value++;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.cs (4)
39return ref _span[index]; 52span[pos] = item; 68span[pos] = source[0]; 137_span[pos] = item;
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexCharClass.cs (20)
577span[FlagsIndex] = (char)0x1; 578span[SetLengthIndex] = (char)(state.set.Length - 2); 579span[CategoryLengthIndex] = (char)state.category.Length; 585span[FlagsIndex] = '\0'; 586span[SetLengthIndex] = (char)state.set.Length; 587span[CategoryLengthIndex] = (char)state.category.Length; 678categories[numCategories++] = (UnicodeCategory)(c - 1); 694categories[numCategories++] = (UnicodeCategory)(-1 - c); 717categories[numCategories++] = (UnicodeCategory)(c - 1); 738categories[numCategories++] = (UnicodeCategory)(-1 - c); 870chars[count++] = (char)c; 1605span[FlagsIndex] = (char)0; 1606span[SetLengthIndex] = (char)(span.Length - SetStartIndex); 1607span[CategoryLengthIndex] = (char)0; 1611span[i++] = c; 1614span[i++] = (char)(c + 1); 1639headerSpan[FlagsIndex] = (char)(_negate ? 1 : 0); 1640headerSpan[SetLengthIndex] = '\0'; // (will be replaced once we know how long a range we've added) 1641headerSpan[CategoryLengthIndex] = (char)categoriesLength; 1975invertedGroup[i] = (char)-(short)group[i];
System.Web.HttpUtility (7)
src\libraries\Common\src\System\HexConverter.cs (5)
77buffer[startingIndex + 1] = (byte)packedResult; 78buffer[startingIndex] = (byte)(packedResult >> 8); 87buffer[startingIndex + 1] = (char)(packedResult & 0xFF); 88buffer[startingIndex] = (char)(packedResult >> 8); 349bytes[j++] = (byte)((byteHi << 4) | byteLo);
System\Web\Util\Utf16StringValidator.cs (2)
46chars[i] = UnicodeReplacementChar; 62chars[i] = UnicodeReplacementChar;
483 references to
Microsoft.AspNetCore.Components (8)
src\Shared\UrlDecoder\UrlDecoder.cs (8)
57if (buffer[sourceIndex] == '+' && isFormEncoding) 62else if (buffer[sourceIndex] == '%') 82buffer[destinationIndex++] = buffer[sourceIndex++]; 238buffer[writer++] = buffer[begin++]; 264if (buffer[scan++] != '%') 308var value = buffer[scan++]; 401if (buffer[sourceIndex] == '%') 421buffer[destinationIndex++] = buffer[sourceIndex++];
Microsoft.AspNetCore.Components.Endpoints (2)
FormMapping\FormDataReader.cs (1)
271if (_currentPrefixBuffer.Span[index] == '.')
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
147var componentId = componentIdsInDepthOrder[i].ComponentId;
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\Shared\WebEncoders\WebEncoders.cs (1)
358var ch = output[i];
Microsoft.AspNetCore.Http (1)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
563if (_comparer.Equals(ArrayStorageSpan[i].Key, key))
Microsoft.AspNetCore.Http.Abstractions (8)
src\Shared\UrlDecoder\UrlDecoder.cs (8)
57if (buffer[sourceIndex] == '+' && isFormEncoding) 62else if (buffer[sourceIndex] == '%') 82buffer[destinationIndex++] = buffer[sourceIndex++]; 238buffer[writer++] = buffer[begin++]; 264if (buffer[scan++] != '%') 308var value = buffer[scan++]; 401if (buffer[sourceIndex] == '%') 421buffer[destinationIndex++] = buffer[sourceIndex++];
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\WebEncoders\WebEncoders.cs (1)
358var ch = output[i];
Microsoft.AspNetCore.Http.Extensions (1)
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
271if (_currentPrefixBuffer.Span[index] == '.')
Microsoft.AspNetCore.Identity.FunctionalTests (10)
src\Identity\Extensions.Core\src\Base32.cs (5)
132b1 = (offset < input.Length) ? input[offset++] : 0U; 133b2 = (offset < input.Length) ? input[offset++] : 0U; 134b3 = (offset < input.Length) ? input[offset++] : 0U; 135b4 = (offset < input.Length) ? input[offset++] : 0U; 136b5 = (offset < input.Length) ? input[offset++] : 0U;
src\Identity\Extensions.Core\src\Rfc6238AuthenticationService.cs (5)
60var offset = hash[hash.Length - 1] & 0xf; 62var binaryCode = (hash[offset] & 0x7f) << 24 63| (hash[offset + 1] & 0xff) << 16 64| (hash[offset + 2] & 0xff) << 8 65| (hash[offset + 3] & 0xff);
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperRunner.cs (1)
39var task = tagHelpers[i].ProcessAsync(tagHelperContext, tagHelperOutput);
Microsoft.AspNetCore.Routing (9)
Matching\DfaMatcherBuilder.cs (3)
443if (!hasFailingPolicy[literalIndex] && !constraint.MatchesLiteral(parameterPart.Name, literal)) 448allFailed &= hasFailingPolicy[literalIndex]; 465if (!hasFailingPolicy[k])
Matching\HttpMethodMatcherPolicy.cs (2)
402if (object.ReferenceEquals(methods[i], httpMethod)) 410if (HttpMethods.Equals(methods[i], httpMethod))
Matching\ILEmitTrieFactory.cs (4)
134var group = groups[i]; 160il.Emit(OpCodes.Ldc_I4, groups[mid].Key); 375il.Emit(OpCodes.Ldc_I8, unchecked((long)groups[mid].Key)); 507il.Emit(OpCodes.Ldc_I4, unchecked(((int)(uint)groups[mid].Key | 0x20)));
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Matching\JumpTableMultipleEntryBenchmark.cs (1)
165if (char.IsDigit(buffer[c]) && c < buffer.Length / 2)
Microsoft.AspNetCore.Server.HttpSys (4)
src\Shared\HttpSys\RequestProcessing\RawUrlHelper.cs (1)
60while (scan < raw.Length && raw[scan] != '?')
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (3)
67if (rawPath[reader] == '%') 87rawPath[writer++] = rawPath[reader++]; 241buffer[writer++] = buffer[begin++];
Microsoft.AspNetCore.Server.IIS (4)
src\Shared\HttpSys\RequestProcessing\RawUrlHelper.cs (1)
60while (scan < raw.Length && raw[scan] != '?')
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (3)
67if (rawPath[reader] == '%') 87rawPath[writer++] = rawPath[reader++]; 241buffer[writer++] = buffer[begin++];
Microsoft.AspNetCore.Server.Kestrel.Core (8)
src\Shared\UrlDecoder\UrlDecoder.cs (8)
57if (buffer[sourceIndex] == '+' && isFormEncoding) 62else if (buffer[sourceIndex] == '%') 82buffer[destinationIndex++] = buffer[sourceIndex++]; 238buffer[writer++] = buffer[begin++]; 264if (buffer[scan++] != '%') 308var value = buffer[scan++]; 401if (buffer[sourceIndex] == '%') 421buffer[destinationIndex++] = buffer[sourceIndex++];
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
AsciiDecoding.cs (2)
46var b = asciiBytes[i]; 143var b = asciiBytes[i];
src\Shared\test\Shared.Tests\runtime\Http2\HPackIntegerTest.cs (1)
72decodeResult = decoder.TryDecode(integerBytes[j], out intResult);
TestHelpers\AssertExtensions.cs (2)
20if (expected[i] != actual[i]) 22throw new XunitException($@"Expected byte at index {i} to be '{expected[i]}' but was '{actual[i]}'");
VariableIntHelperTests.cs (1)
30Assert.Equal(expected[i], outputBuffer[i]);
Microsoft.AspNetCore.Shared.Tests (15)
runtime\Http2\HPackIntegerTest.cs (1)
72decodeResult = decoder.TryDecode(integerBytes[j], out intResult);
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
563if (_comparer.Equals(ArrayStorageSpan[i].Key, key))
src\Shared\HttpSys\RequestProcessing\RawUrlHelper.cs (1)
60while (scan < raw.Length && raw[scan] != '?')
src\Shared\HttpSys\RequestProcessing\RequestUriBuilder.cs (3)
67if (rawPath[reader] == '%') 87rawPath[writer++] = rawPath[reader++]; 241buffer[writer++] = buffer[begin++];
src\Shared\UrlDecoder\UrlDecoder.cs (8)
57if (buffer[sourceIndex] == '+' && isFormEncoding) 62else if (buffer[sourceIndex] == '%') 82buffer[destinationIndex++] = buffer[sourceIndex++]; 238buffer[writer++] = buffer[begin++]; 264if (buffer[scan++] != '%') 308var value = buffer[scan++]; 401if (buffer[sourceIndex] == '%') 421buffer[destinationIndex++] = buffer[sourceIndex++];
src\Shared\WebEncoders\WebEncoders.cs (1)
358var ch = output[i];
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
798if (!isStreaming[i])
Microsoft.AspNetCore.StaticAssets (2)
StaticAssetsInvoker.cs (2)
406if (states[i] > max) 408max = states[i];
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
274var resource = resources[i];
Microsoft.AspNetCore.WebUtilities (11)
HttpRequestStreamReader.cs (2)
402if (span[index] == carriageReturn) 432if (span[index] == lineFeed)
src\Shared\UrlDecoder\UrlDecoder.cs (8)
57if (buffer[sourceIndex] == '+' && isFormEncoding) 62else if (buffer[sourceIndex] == '%') 82buffer[destinationIndex++] = buffer[sourceIndex++]; 238buffer[writer++] = buffer[begin++]; 264if (buffer[scan++] != '%') 308var value = buffer[scan++]; 401if (buffer[sourceIndex] == '%') 421buffer[destinationIndex++] = buffer[sourceIndex++];
src\Shared\WebEncoders\WebEncoders.cs (1)
358var ch = output[i];
Microsoft.Build (6)
FileUtilities.cs (6)
624bool isCurSlash = IsAnySlash(str[i]); 625bool isPrevSlash = i > 0 && IsAnySlash(str[i - 1]); 629str[sliceLength] = str[i] == '\\' ? '/' : str[i]; 644&& ((path[0] == singleQuote && path[endId] == singleQuote) 645|| (path[0] == doubleQuote && path[endId] == doubleQuote));
Microsoft.Build.Engine.OM.UnitTests (6)
FileUtilities.cs (6)
624bool isCurSlash = IsAnySlash(str[i]); 625bool isPrevSlash = i > 0 && IsAnySlash(str[i - 1]); 629str[sliceLength] = str[i] == '\\' ? '/' : str[i]; 644&& ((path[0] == singleQuote && path[endId] == singleQuote) 645|| (path[0] == doubleQuote && path[endId] == doubleQuote));
Microsoft.Build.Framework (18)
ArraySortHelper.cs (18)
700TValue value = values[i]; 701values[i] = values[j]; 715TValue v = values[i]; 716values[i] = values[j]; 847TValue dValue = values[lo + i - 1]; 861values[lo + i - 1] = values[lo + child - 1]; 876TValue tValue = values[i + 1]; 882values[j + 1] = values[j]; 953TValue value = values[i]; 954values[i] = values[j]; 968TValue v = values[i]; 969values[i] = values[j]; 1100TValue dValue = values[lo + i - 1]; 1114values[lo + i - 1] = values[lo + child - 1]; 1127TValue tValue = values[i + 1]; 1133values[j + 1] = values[j]; 1256TValue tempValue = values[left]; 1257values[left] = values[i];
Microsoft.Build.Tasks.Core (6)
FileUtilities.cs (6)
624bool isCurSlash = IsAnySlash(str[i]); 625bool isPrevSlash = i > 0 && IsAnySlash(str[i - 1]); 629str[sliceLength] = str[i] == '\\' ? '/' : str[i]; 644&& ((path[0] == singleQuote && path[endId] == singleQuote) 645|| (path[0] == doubleQuote && path[endId] == doubleQuote));
Microsoft.Build.Utilities.Core (6)
FileUtilities.cs (6)
624bool isCurSlash = IsAnySlash(str[i]); 625bool isPrevSlash = i > 0 && IsAnySlash(str[i - 1]); 629str[sliceLength] = str[i] == '\\' ? '/' : str[i]; 644&& ((path[0] == singleQuote && path[endId] == singleQuote) 645|| (path[0] == doubleQuote && path[endId] == doubleQuote));
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilities.cs (3)
827if (_parameterValues[applyIndex] == null && 845if (_parameterValues[i] == null && 866if (_parameterValues[index] == null)
Microsoft.Extensions.Diagnostics (2)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (2)
145ulong value = _bitMap[bitIndex]; 156ulong value = _bitMap[bitIndex];
Microsoft.Extensions.Identity.Core (5)
Base32.cs (5)
132b1 = (offset < input.Length) ? input[offset++] : 0U; 133b2 = (offset < input.Length) ? input[offset++] : 0U; 134b3 = (offset < input.Length) ? input[offset++] : 0U; 135b4 = (offset < input.Length) ? input[offset++] : 0U; 136b5 = (offset < input.Length) ? input[offset++] : 0U;
MSBuild (6)
FileUtilities.cs (6)
624bool isCurSlash = IsAnySlash(str[i]); 625bool isPrevSlash = i > 0 && IsAnySlash(str[i - 1]); 629str[sliceLength] = str[i] == '\\' ? '/' : str[i]; 644&& ((path[0] == singleQuote && path[endId] == singleQuote) 645|| (path[0] == doubleQuote && path[endId] == doubleQuote));
System.Collections.Immutable (9)
System\Collections\Frozen\FrozenHashTable.cs (3)
70int hashCode = hashCodes[index]; 89int bucketStart = bucketStarts[bucketNum]; 107index = nexts[index];
System\Collections\Frozen\FrozenSetInternalBase.cs (1)
214if ((seenItems[index / BitsPerInt32] & (1 << index)) == 0)
System\Collections\Frozen\Int32\Int32FrozenDictionary.cs (1)
42int destIndex = hashCodes[srcIndex];
System\Collections\Frozen\ItemsFrozenSet.cs (1)
37int destIndex = hashCodes[srcIndex];
System\Collections\Frozen\KeysAndValuesFrozenDictionary.cs (1)
39int destIndex = hashCodes[srcIndex];
System\Collections\Frozen\String\OrdinalStringFrozenDictionary.cs (1)
54int destIndex = hashCodes[srcIndex];
System\Collections\Frozen\String\OrdinalStringFrozenSet.cs (1)
45int destIndex = hashCodes[srcIndex];
System.Console (4)
System\ConsolePal.Unix.cs (4)
528Debug.Assert(readBytes[escPos] == Esc); 529Debug.Assert(readBytes[bracketPos] == '['); 530Debug.Assert(readBytes[semiPos] == ';'); 531Debug.Assert(readBytes[rPos] == 'R');
System.Data.Common (28)
System\Data\SQLTypes\SQLDecimal.cs (26)
984szResult[iCurChar++] = pszTmp[iDigits]; 1304dwlAccum += rglData1[iulData]; 1306dwlAccum += rglData2[iulData]; 1349dwlAccum += rglData1[iulData]; 1351dwlAccum -= rglData2[iulData]; 1354if (rglData1[iulData] != 0) 1501dwlNextAccum = dwlAccum + rgulRes[idRes]; 1523for (; (rgulRes[idRes] == 0) && (idRes > 0); idRes--) 2125dwlAccum += rguiData[iData]; 2170ulong ulTemp = rguiData[iData]; 2238dwlAccum = (dwlAccum << 32) + rguiData[iData - 1]; // dwlA*x_dwlBaseUI4 + rglData 2511ulong ulTemp = piulD[iData]; 2551dwlAccum = (((ulong)ulCarry) << 32) + rgulU[idU]; 2553ulCarry = (uint)(dwlAccum - rgulU[idU] * ulD); // (ULONG) (dwlAccum % iulD) 2669ulDHigh = rgulD[ciulD - 1]; 2679ulDHigh = rgulD[ciulD - 1]; 2682ulDSecond = rgulD[ciulD - 2]; 2692dwlAccum = DWL(rgulR[iulRindex - 1], rgulR[iulRindex]); 2693if (ulDHigh == rgulR[iulRindex]) 2700while (ulDSecond * ulTemp > DWL(rgulR[iulRindex - 2], RH)) 2713ulong ulTemp2 = rgulD[iulDindex]; 2715dwlAccum += (ulong)rgulR[iulRwork] - LO(dwlMulAccum); 2720dwlAccum += rgulR[iulRwork] - dwlMulAccum; 2734dwlAccum = rgulD[iulDindex] + (ulong)rgulR[iulRwork] + ulCarry;
System\Data\SQLTypes\SQLGuid.cs (2)
132byte b1 = xBytes[rgiGuidOrder[i]]; 133byte b2 = yBytes[rgiGuidOrder[i]];
System.Diagnostics.DiagnosticSource (4)
src\libraries\Common\src\System\Diagnostics\DiagnosticsHelper.cs (2)
145ulong value = _bitMap[bitIndex]; 156ulong value = _bitMap[bitIndex];
System\Diagnostics\Metrics\AggregatorStore.cs (2)
505labels[i] = new KeyValuePair<string, string>(indexedNames[i], indexedValues[i]?.ToString() ?? "");
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
397value[byteIdx] = (byte)((value[byteIdx] * 0x0202020202ul & 0x010884422010ul) % 1023);
System.Formats.Tar (2)
System\Formats\Tar\TarHeader.Read.cs (1)
389typeFlag: (TarEntryType)buffer[FieldLocations.TypeFlag])
System\Formats\Tar\TarHeader.Write.cs (1)
968destination[i] = converted[j];
System.IO.Compression (2)
System\IO\Compression\DeflateManaged\HuffmanTree.cs (2)
130tempCode = (tempCode + bitLengthCount[bits - 1]) << 1; 141code[i] = BitReverse(nextCode[len], len);
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (5)
1001int length = (uint)carriageReturnIndex < (uint)buffer.Length && buffer[carriageReturnIndex] == '\r' 1065else if (line[MinStatusLineLength] == ' ') 1122if (buffer[colIdx] == '\n') 1151int crOrLfIdx = (uint)crIdx < (uint)valueIterator.Length && valueIterator[crIdx] == '\r' 1161if (valueIterator[spIdx] is not (byte)'\t' and not (byte)' ')
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
417numbers[toIndex--] = numbers[fromIndex];
System\Net\CookieContainer.cs (1)
618ReadOnlySpan<char> part = hostSpan[ipParts[i]];
System\Net\IPAddressParser.cs (1)
163if (destination[pos - 1] != TChar.CreateTruncating(':'))
System.Net.Quic (1)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
417numbers[toIndex--] = numbers[fromIndex];
System.Net.Security (2)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
417numbers[toIndex--] = numbers[fromIndex];
src\libraries\Common\src\System\Net\Security\MD4.cs (1)
175BinaryPrimitives.WriteUInt32LittleEndian(output.Slice(j), input[i]);
System.Net.Sockets (12)
System\Net\Sockets\SocketPal.Unix.cs (12)
305iovecs[i].Base = &((byte*)handles[i].AddrOfPinnedObject())[buffer.Offset + startOffset]; 306iovecs[i].Count = (UIntPtr)(buffer.Count - startOffset); 335handles[i].Free(); 414iovecs[i].Base = &((byte*)handles[i].AddrOfPinnedObject())[buffer.Offset]; 415iovecs[i].Count = (UIntPtr)bufferCount; 456handles[i].Free(); 547iovecs[i].Base = &((byte*)handles[i].AddrOfPinnedObject())[buffer.Offset]; 548iovecs[i].Count = (UIntPtr)buffer.Count; 602handles[i].Free();
System.Net.WebSockets (14)
System\Net\WebSockets\ManagedWebSocket.cs (14)
747long payloadLength = _receiveBuffer.Span[_receiveBufferOffset + 1] & 0x7F; 979closeStatus = (WebSocketCloseStatus)(_receiveBuffer.Span[_receiveBufferOffset] << 8 | _receiveBuffer.Span[_receiveBufferOffset + 1]); 1147header.Fin = (receiveBufferSpan[_receiveBufferOffset] & 0x80) != 0; 1148bool reservedSet = (receiveBufferSpan[_receiveBufferOffset] & 0b_0011_0000) != 0; 1149header.Opcode = (MessageOpcode)(receiveBufferSpan[_receiveBufferOffset] & 0xF); 1150header.Compressed = (receiveBufferSpan[_receiveBufferOffset] & 0b_0100_0000) != 0; 1152bool masked = (receiveBufferSpan[_receiveBufferOffset + 1] & 0x80) != 0; 1153header.PayloadLength = receiveBufferSpan[_receiveBufferOffset + 1] & 0x7F; 1161header.PayloadLength = (receiveBufferSpan[_receiveBufferOffset] << 8) | receiveBufferSpan[_receiveBufferOffset + 1]; 1170header.PayloadLength = (header.PayloadLength << 8) | receiveBufferSpan[_receiveBufferOffset + i]; 1567byte b = span[i]; 1605byte b = span[i];
System.Private.CoreLib (124)
src\libraries\Common\src\Interop\Windows\Kernel32\Interop.FormatMessage.cs (1)
80while (length > 0 && buffer[length - 1] <= 32)
src\libraries\Common\src\System\Number.Formatting.Common.cs (2)
547if (digPos == thousandsSepPos[thousandsSepCtr] + 1) 580if (digPos == thousandsSepPos[thousandsSepCtr] + 1)
src\libraries\Common\src\System\Number.NumberBuffer.cs (2)
73byte digit = Digits[numDigits]; 101byte digit = Digits[i];
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
266attributeValueSpan[parts[i]],
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Decoder.cs (1)
633utf8[localDestIndex - localBytesWritten + i] = buffer[i];
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.cs (67)
103if (comparer(keys[i], keys[j]) > 0) 105T key = keys[i]; 106keys[i] = keys[j]; 116T t = a[i]; 117a[i] = a[j]; 194T pivot = keys[middle]; 239T d = keys[i - 1]; 243if (child < n && comparer(keys[child - 1], keys[child]) < 0) 248if (!(comparer(d, keys[child - 1]) < 0)) 251keys[i - 1] = keys[child - 1]; 262T t = keys[i + 1]; 265while (j >= 0 && comparer(t, keys[j]) < 0) 267keys[j + 1] = keys[j]; 527T d = keys[i - 1]; 531if (child < n && (keys[child - 1] == null || LessThan(ref keys[child - 1], ref keys[child]))) 536if (keys[child - 1] == null || !LessThan(ref d, ref keys[child - 1])) 539keys[i - 1] = keys[child - 1]; 641if (comparer.Compare(keys[i], keys[j]) > 0) 643TKey key = keys[i]; 644keys[i] = keys[j]; 647TValue value = values[i]; 648values[i] = values[j]; 658TKey k = keys[i]; 659keys[i] = keys[j]; 662TValue v = values[i]; 663values[i] = values[j]; 739TKey pivot = keys[middle]; 784TKey d = keys[i - 1]; 785TValue dValue = values[i - 1]; 790if (child < n && comparer.Compare(keys[child - 1], keys[child]) < 0) 795if (!(comparer.Compare(d, keys[child - 1]) < 0)) 798keys[i - 1] = keys[child - 1]; 799values[i - 1] = values[child - 1]; 813TKey t = keys[i + 1]; 814TValue tValue = values[i + 1]; 817while (j >= 0 && comparer.Compare(t, keys[j]) < 0) 819keys[j + 1] = keys[j]; 820values[j + 1] = values[j]; 885keys[i] = keys[j]; 888TValue value = values[i]; 889values[i] = values[j]; 899TKey k = keys[i]; 900keys[i] = keys[j]; 903TValue v = values[i]; 904values[i] = values[j]; 967TKey pivot = keys[middle]; 1017TKey d = keys[i - 1]; 1018TValue dValue = values[i - 1]; 1023if (child < n && (keys[child - 1] == null || LessThan(ref keys[child - 1], ref keys[child]))) 1028if (keys[child - 1] == null || !LessThan(ref d, ref keys[child - 1])) 1031keys[i - 1] = keys[child - 1]; 1032values[i - 1] = values[child - 1]; 1044TKey t = keys[i + 1]; 1045TValue tValue = values[i + 1]; 1050keys[j + 1] = keys[j]; 1051values[j + 1] = values[j]; 1120if ((typeof(TKey) == typeof(double) && double.IsNaN((double)(object)keys[i])) || 1121(typeof(TKey) == typeof(float) && float.IsNaN((float)(object)keys[i])) || 1122(typeof(TKey) == typeof(Half) && Half.IsNaN((Half)(object)keys[i]))) 1124TKey temp = keys[left]; 1125keys[left] = keys[i]; 1130TValue tempValue = values[left]; 1131values[left] = values[i];
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipe.cs (1)
140providersNative[i].Release();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (6)
625rgGCHandle[i] = GCHandle.Alloc(dataRefObj[i], GCHandleType.Pinned); 626if (dataRefObj[i] is string) 628fixed (char* p = (string?)dataRefObj[i]) 629userDataPtr[refObjPosition[i]].Ptr = (ulong)p; 633fixed (byte* p = (byte[]?)dataRefObj[i]) 634userDataPtr[refObjPosition[i]].Ptr = (ulong)p;
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemName.cs (5)
227if (priorMatches[matchCount - 1] == maxState) 244expressionOffset = (priorMatches[priorMatch++] + 1) / 2; 391while ((priorMatch < previousLength) && (priorMatches[priorMatch] < currentMatches[priorMatchCount])) 412currentState = priorMatches[matchCount - 1];
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (2)
803if (!char.IsWhiteSpace(span[start])) 812if (!char.IsWhiteSpace(span[end]))
src\libraries\System.Private.CoreLib\src\System\Number.Dragon4.cs (1)
517if (buffer[curDigit] != '9')
src\libraries\System.Private.CoreLib\src\System\Number.Grisu3.cs (1)
946if (buffer[i] != ('0' + 10))
src\libraries\System.Private.CoreLib\src\System\Random.cs (3)
221destination[i] = choices[randomBytes[i] & mask]; 321T temp = values[i]; 322values[i] = values[j];
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyNameHelpers.StrongName.cs (1)
31publicKeyToken[i] = hash[hash.Length - 1 - i];
src\libraries\System.Private.CoreLib\src\System\Reflection\ConstructorInvoker.cs (9)
253object? arg = arguments[i]; 302ByReference.Create(ref copyOfArgs[i]!.GetRawData()) : 333object? arg = arguments[i]; 370object? arg = arguments[i]; 399if (shouldCopyBack[i]) 403Debug.Assert(copyOfParameters[i] != null); 404Debug.Assert(((RuntimeType)copyOfParameters[i]!.GetType()).IsNullableOfT); 405dest![i] = RuntimeMethodHandle.ReboxFromNullable(copyOfParameters[i]); 409dest![i] = copyOfParameters[i];
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs (6)
172ByReference.Create(ref copyOfArgs[i]!.GetRawData()) : 334if (shouldCopyBack[i]) 338Debug.Assert(copyOfParameters[i] != null); 339Debug.Assert(((RuntimeType)copyOfParameters[i]!.GetType()).IsNullableOfT); 340dest![i] = RuntimeMethodHandle.ReboxFromNullable(copyOfParameters[i]); 344dest![i] = copyOfParameters[i];
src\libraries\System.Private.CoreLib\src\System\Reflection\MethodInvoker.cs (9)
306object? arg = arguments[i]; 355ByReference.Create(ref copyOfArgs[i]!.GetRawData()) : 386object? arg = arguments[i]; 423object? arg = arguments[i]; 452if (shouldCopyBack[i]) 456Debug.Assert(copyOfParameters[i] != null); 457Debug.Assert(((RuntimeType)copyOfParameters[i]!.GetType()).IsNullableOfT); 458dest![i] = RuntimeMethodHandle.ReboxFromNullable(copyOfParameters[i]); 462dest![i] = copyOfParameters[i];
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
143ReadOnlySpan<char> component = frameworkNameSpan[components[i]];
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\TeddyBucketizer.cs (1)
131if (bucketIndexes[i] == bucketIndex)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (2)
3503object? currentContinuation = continuations[i]; 3550object? currentContinuation = continuations[i];
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
271SafeWaitHandle? safeWaitHandle = safeWaitHandles[i];
src\System\RuntimeType.CoreCLR.cs (1)
1350if (usedSlots[slot])
System.Private.CoreLib.Generators (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
17return _span[_pos];
System.Private.Uri (7)
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (1)
417numbers[toIndex--] = numbers[fromIndex];
System\IPv6AddressHelper.cs (5)
37success = (numbers[i] >> 8).TryFormat(stackSpace.Slice(pos), out charsWritten); 42success = (numbers[i] & 0xFF).TryFormat(stackSpace.Slice(pos), out charsWritten); 47success = (numbers[i + 1] >> 8).TryFormat(stackSpace.Slice(pos), out charsWritten); 52success = (numbers[i + 1] & 0xFF).TryFormat(stackSpace.Slice(pos), out charsWritten); 81success = numbers[i].TryFormat(stackSpace.Slice(pos), out charsWritten, format: "x");
System\Uri.cs (1)
4563char ch = span[i];
System.Private.Xml (5)
System\Xml\BinaryXml\SqlUtils.cs (1)
236szResult[iCurChar++] = pszTmp[iDigits];
System\Xml\Xsl\Xslt\XsltLoader.cs (4)
969if (characters[i] == characters[j]) 991CheckError(characters[idx] != format.Characters[idx], /*[XT1290]*/SR.Xslt_DecimalFormatRedefined, _decimalFormatAttributes[3 + idx].name, char.ToString(characters[idx]));
System.Reflection.Metadata (1)
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
266attributeValueSpan[parts[i]],
System.Runtime.Numerics (54)
src\libraries\Common\src\System\Number.Formatting.Common.cs (2)
547if (digPos == thousandsSepPos[thousandsSepCtr] + 1) 580if (digPos == thousandsSepPos[thousandsSepCtr] + 1)
src\libraries\Common\src\System\Number.NumberBuffer.cs (2)
73byte digit = Digits[numDigits]; 101byte digit = Digits[i];
System\Number.BigInteger.cs (11)
521long digit = (curBuffer[j] + carry) + curNewBuffer[j]; 530if (curNewBuffer[j] != 0) 568Debug.Assert(buffer.Length == currentBufferSize || buffer[currentBufferSize] == 0); 569while (0 < currentBufferSize && buffer[currentBufferSize - 1] == 0) 631ulong p = (ulong)multiplier * curBits[i] + carry; 685byte head = bits[cur]; 711byte b = bits[cur--]; 810AppendByte(ref sb, bytes[i]); 915Debug.Assert(base1E9Buffer[iuDst] < kuBase); 918ulong uuRes = NumericsHelpers.MakeUInt64(base1E9Buffer[iuDst], uCarry);
System\Numerics\BigInteger.cs (27)
225while (size > 0 && bits[size - 1] == 0) 536bool isNegative = dwordCount > 0 && ((value[dwordCount - 1] & kuMaskHighBit) == kuMaskHighBit); 539while (dwordCount > 0 && value[dwordCount - 1] == 0) dwordCount--; 585while (len > 0 && value[len - 1] == 0) len--; 1531while (msb > 0 && buffer[msb] == highDWord) 1537bool needExtraByte = (buffer[msb] & 0x80000000) != (highDWord & 0x80000000); 2358uint xu = ((uint)i < (uint)x.Length) ? x[i] : xExtend; 2359uint yu = ((uint)i < (uint)y.Length) ? y[i] : yExtend; 2414uint xu = ((uint)i < (uint)x.Length) ? x[i] : xExtend; 2415uint yu = ((uint)i < (uint)y.Length) ? y[i] : yExtend; 2465uint xu = ((uint)i < (uint)x.Length) ? x[i] : xExtend; 2466uint yu = ((uint)i < (uint)y.Length) ? y[i] : yExtend; 2516zd[i + digitShift] = xd[i]; 2525uint rot = xd[i]; 2583trackSignBit = smallShift == 0 && xd[xd.Length - 1] == 0; 2597zd[i - digitShift] = xd[i]; 2606uint rot = xd[i]; 3281zd[dstIndex] = xd[srcIndex]; 3293zd[dstIndex] = xd[srcIndex]; 3315carry = xd[srcIndex - 1] >> carryShift; 3320uint part = xd[srcIndex]; 3334uint part = xd[srcIndex]; 3416zd[dstIndex] = xd[srcIndex]; 3428zd[dstIndex] = xd[srcIndex]; 3449carry = xd[srcIndex - 1] << carryShift; 3454uint part = xd[srcIndex]; 3468uint part = xd[srcIndex];
System\Numerics\BigIntegerCalculator.AddSub.cs (2)
82long digit = left[i] + carry; 157long digit = left[i] + carry;
System\Numerics\BigIntegerCalculator.DivRem.cs (4)
147uint t = (uint)i < (uint)left.Length ? left[i] : 0; 149ulong valHi = ((ulong)t << 32) | left[i - 1]; 150uint valLo = i > 1 ? left[i - 2] : 0; 155uint valNx = i > 2 ? left[i - 3] : 0;
System\Numerics\BigIntegerCalculator.GcdInv.cs (4)
293long xDigit = a * x[i] - b * y[i] + xCarry; 294long yDigit = d * y[i] - c * x[i] + yCarry;
System\Numerics\BigIntegerCalculator.SquMul.cs (1)
398long digit = core[i] + carry;
System\Numerics\NumericsHelpers.cs (1)
152d[offset] = ~d[offset];
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanDerivation.cs (1)
162ret[i] ^= part2[i];
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (2)
245int tmp = carry + into[i] + addend[i];
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (2)
541if (dbMask[i] != 0) 549if (dbMask[emLen - hLen - sLen - 2] != 0x01)
System\Security\Cryptography\Base64Transforms.cs (2)
279if (tmpBuffer[len - 2] == padding) 284if (tmpBuffer[len - 1] == padding)
System\Security\Cryptography\RandomNumberGenerator.cs (3)
304T temp = values[i]; 305values[i] = values[j]; 378destination[i] = choices[randomBytes[i] & mask];
System\Security\Cryptography\Rfc2898DeriveBytes.cs (1)
309_buffer[j] ^= uiSpan[j];
System\Security\Cryptography\XmlKeyHelper.cs (1)
114while (valBuf[start] == 0)
System.Text.Encodings.Web (1)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.Ascii.cs (1)
111uint thisChar = tempBuffer[j];
System.Text.Json (21)
src\libraries\System.Text.Json\Common\JsonCamelCaseNamingPolicy.cs (5)
32if (i == 1 && !char.IsUpper(chars[i])) 40if (i > 0 && hasNext && !char.IsUpper(chars[i + 1])) 43if (chars[i + 1] == ' ') 45chars[i] = char.ToLowerInvariant(chars[i]); 51chars[i] = char.ToLowerInvariant(chars[i]);
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
70keys[i] = (keySelector(span[i]), i);
System\Text\Json\Document\JsonDocument.MetadataDb.cs (1)
395Debug.Assert(newDbInts[i] >= locationOffset);
System\Text\Json\Writer\JsonWriterHelper.Date.cs (14)
57if (buffer[maxDateTimeLength - 1] == '0') 58if (buffer[maxDateTimeLength - 2] == '0') 59if (buffer[maxDateTimeLength - 3] == '0') 60if (buffer[maxDateTimeLength - 4] == '0') 61if (buffer[maxDateTimeLength - 5] == '0') 62if (buffer[maxDateTimeLength - 6] == '0') 63if (buffer[maxDateTimeLength - 7] == '0') 91buffer[curIndex] = buffer[maxDateTimeLength]; 92buffer[curIndex + 1] = buffer[maxDateTimeLength + 1]; 93buffer[curIndex + 2] = buffer[maxDateTimeLength + 2]; 94buffer[curIndex + 3] = buffer[maxDateTimeLength + 3]; 95buffer[curIndex + 4] = buffer[maxDateTimeLength + 4]; 96buffer[curIndex + 5] = buffer[maxDateTimeLength + 5]; 102Debug.Assert(buffer[maxDateTimeLength] == 'Z');
System.Text.Json.SourceGeneration (5)
src\libraries\System.Text.Json\Common\JsonCamelCaseNamingPolicy.cs (5)
32if (i == 1 && !char.IsUpper(chars[i])) 40if (i > 0 && hasNext && !char.IsUpper(chars[i + 1])) 43if (chars[i + 1] == ' ') 45chars[i] = char.ToLowerInvariant(chars[i]); 51chars[i] = char.ToLowerInvariant(chars[i]);
System.Text.RegularExpressions (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
17return _span[_pos];
System\Text\RegularExpressions\Regex.Replace.cs (2)
228length += span[i].Length; 237ReadOnlySpan<char> segment = span[i].Span;
System\Text\RegularExpressions\RegexReplacement.cs (3)
271length += span[i]; 286(int offset, int count) = (span[i], span[i + 1]);
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
509if (catCodes[i])
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (2)
156int targetId = deltas[i]; 167if (nfaDeltas.Length > 0 && nfaDeltas[i] is int[] nfaTargets)
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ValueListBuilder.Pop.cs (1)
17return _span[_pos];
System.Web.HttpUtility (2)
System\Web\Util\Utf16StringValidator.cs (2)
40char thisChar = chars[i]; 54if (i + 1 < chars.Length && char.IsLowSurrogate(chars[i + 1]))