135 references to Resize
http2cat (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
IIS.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
IIS.LongTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
IIS.NewHandler.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
IIS.NewShim.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
IISExpress.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
illink (1)
Microsoft.AspNetCore.HttpLogging (1)
src\Shared\Buffers\BufferSegmentStack.cs (1)
61Array.Resize(ref _array, 2 * _array.Length);
Microsoft.AspNetCore.Routing.Tests (8)
DefaultEndpointDataSourceTests.cs (1)
35Array.Resize(ref endpoints, 1);
Patterns\RoutePatternFactoryTest.cs (7)
421Array.Resize(ref segments, 2); 450Array.Resize(ref segments, 2); 480Array.Resize(ref segments, 2); 520Array.Resize(ref segments, 2); 638Array.Resize(ref policies, 2); 687Array.Resize(ref parts, 2); 708Array.Resize(ref parts, 2);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Servers\Kestrel\shared\PooledStreamStack.cs (1)
85Array.Resize(ref _array, 2 * _array.Length);
src\Shared\Buffers\BufferSegmentStack.cs (1)
61Array.Resize(ref _array, 2 * _array.Length);
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Servers\Kestrel\shared\PooledStreamStack.cs (1)
85Array.Resize(ref _array, 2 * _array.Length);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\runtime\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Utils.cs (1)
152Array.Resize(ref hash, 16);
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
311Array.Resize(ref result, getCommonPrefixLength(result, directoryParts));
Microsoft.Extensions.Logging (1)
LoggerFactory.cs (1)
187Array.Resize(ref loggerInformation, loggerInformation.Length + 1);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
981Array.Resize(packedIndexes, packedIndexes.Length + 1) 1054Array.Resize(packedIndexes, packedIndexes.Length + 1)
System.Collections (7)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
68Array.Resize(ref arr, newLength);
System\Collections\BitArray.cs (1)
726Array.Resize(ref m_array, newints);
System\Collections\Generic\PriorityQueue.cs (2)
602Array.Resize(ref _nodes, _size); 630Array.Resize(ref _nodes, newcapacity);
System\Collections\Generic\Stack.cs (3)
170Array.Resize(ref _array, _size); 187Array.Resize(ref _array, capacity); 327Array.Resize(ref _array, newcapacity);
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
741Array.Resize(ref _elements, newCapacity);
System.Console (1)
System\IO\StdInReader.cs (1)
79Array.Resize(ref _unprocessedBufferToBeRead, _unprocessedBufferToBeRead.Length * 2);
System.Data.Common (33)
System\Data\Common\BigIntegerStorage.cs (1)
144Array.Resize(ref _values, capacity);
System\Data\Common\BooleanStorage.cs (1)
164Array.Resize(ref _values, capacity);
System\Data\Common\ByteStorage.cs (1)
236Array.Resize(ref _values, capacity);
System\Data\Common\CharStorage.cs (1)
168Array.Resize(ref _values, capacity);
System\Data\Common\DateTimeOffsetStorage.cs (1)
171Array.Resize(ref _values, capacity);
System\Data\Common\DateTimeStorage.cs (1)
210Array.Resize(ref _values, capacity);
System\Data\Common\DecimalStorage.cs (1)
232Array.Resize(ref _values, capacity);
System\Data\Common\DoubleStorage.cs (1)
236Array.Resize(ref _values, capacity);
System\Data\Common\Int16Storage.cs (1)
250Array.Resize(ref _values, capacity);
System\Data\Common\Int32Storage.cs (1)
249Array.Resize(ref _values, capacity);
System\Data\Common\Int64Storage.cs (1)
241Array.Resize(ref _values, capacity);
System\Data\Common\SByteStorage.cs (1)
238Array.Resize(ref _values, capacity);
System\Data\Common\SingleStorage.cs (1)
237Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
94Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
128Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
92Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
204Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
94Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
130Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
202Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
203Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
95Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
203Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
203Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
204Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
203Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
201Array.Resize(ref _values, capacity);
System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
156Array.Resize(ref _values, capacity);
System\Data\Common\SqlUDTStorage.cs (1)
140Array.Resize(ref _values, capacity);
System\Data\Common\TimeSpanStorage.cs (1)
256Array.Resize(ref _values, capacity);
System\Data\Common\UInt16Storage.cs (1)
249Array.Resize(ref _values, capacity);
System\Data\Common\UInt32Storage.cs (1)
248Array.Resize(ref _values, capacity);
System\Data\Common\UInt64Storage.cs (1)
239Array.Resize(ref _values, capacity);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Metrics\TagList.cs (2)
186Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity); 305Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnWriter.cs (1)
289Array.Resize(ref _buffer, BlockSize * blocks);
System.IO.Pipelines (1)
System\IO\Pipelines\BufferSegmentStack.cs (1)
63Array.Resize(ref _array, 2 * _array.Length);
System.Linq (4)
System\Linq\Chunk.cs (2)
100Array.Resize(ref array, arraySize); 120Array.Resize(ref array, i);
System\Linq\Grouping.cs (2)
374Array.Resize(ref _elements, checked(_count * 2)); 385Array.Resize(ref _elements, _count);
System.Memory (1)
src\libraries\Common\src\System\Buffers\ArrayBufferWriter.cs (1)
237Array.Resize(ref _buffer, newSize);
System.Net.Http (4)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http2\Hpack\Huffman.cs (2)
714Array.Resize(ref dstArray, dst.Length * 2); 781Array.Resize(ref dstArray, dst.Length * 2);
System\Net\Http\Headers\HttpHeaders.cs (1)
1435Array.Resize(ref entries, entries.Length << 1);
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (1)
63Array.Resize(ref uris, idx + 1);
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\StringParsingHelpers.Connections.cs (2)
99Array.Resize(ref connections, connections.Length - skip); 179Array.Resize(ref endPoints, endPoints.Length - skip);
System.Private.CoreLib (14)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
68Array.Resize(ref arr, newLength);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
1695Array.Resize(ref bytes, 16);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\DataCollector.cs (1)
306Array.Resize(ref this.buffer, newSize);
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseLunisolarCalendar.cs (1)
198Array.Resize(ref newEras!, newIndex);
src\libraries\System.Private.CoreLib\src\System\Net\WebUtility.cs (1)
559Array.Resize(ref decodedBytes, decodedBytesCount);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
1964Array.Resize(ref splitStrings, arrIndex);
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
523Array.Resize(ref newChangeNotifications, newNotificationIndex + 1);
src\libraries\System.Private.CoreLib\src\System\Threading\Win32ThreadPoolNativeOverlapped.cs (2)
91Array.Resize(ref newDataArray, newLength); 136Array.Resize(ref data._pinnedData, objArray.Length);
src\System\RuntimeType.CoreCLR.cs (5)
88Array.Resize(ref _items, _count); 127Array.Resize(ref _items, newCapacity); 465Array.Resize(ref m_allMembers, memberCount); 579Array.Resize(ref cachedMembers2, newSize); 3835Array.Resize(ref cons, consCount);
System.Private.CoreLib.Generators (1)
EventSourceGenerator.Parser.cs (1)
121Array.Resize(ref bytes, 16);
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\ContextAware.cs (1)
46Array.Resize<(DataContract?, WeakReference<DataContract>?)>(ref _contracts, newSize);
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
207Array.Resize<JsonDataContract>(ref s_dataContractCache, newSize);
System\Runtime\Serialization\ObjectReferenceStack.cs (2)
31Array.Resize<object>(ref _objectArray, _objectArray.Length * 2); 65Array.Resize<bool>(ref _isReferenceArray, _objectArray.Length);
System\Runtime\Serialization\ScopedKnownTypes.cs (1)
24Array.Resize<DataContractDictionary>(ref dataContractDictionaries, dataContractDictionaries.Length * 2);
System\Xml\XmlDictionary.cs (1)
53Array.Resize(ref _strings, newSize);
System.Private.Xml (1)
System\Xml\BinHexDecoder.cs (1)
126Array.Resize(ref bytes, bytesDecoded);
System.Private.Xml.Linq (2)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
68Array.Resize(ref arr, newLength);
System\Xml\Linq\XObject.cs (1)
101Array.Resize(ref a, i * 2);
System.Reflection.MetadataLoadContext (6)
System\Reflection\Runtime\BindingFlagSupport\QueriedMemberList.cs (4)
167Array.Resize(ref _members, _totalCount); 168Array.Resize(ref _allFlagsThatMustMatch, _totalCount); 182Array.Resize(ref _members, count + Grow); 183Array.Resize(ref _allFlagsThatMustMatch, count + Grow);
System\Reflection\Runtime\General\ListBuilder.cs (2)
45Array.Resize(ref _items, _count); 94Array.Resize(ref _items, newCapacity);
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\FormatterServices.cs (1)
157Array.Resize(ref parentTypes, Math.Max(parentTypeCount * 2, 12));
System.Security.Cryptography (4)
System\Security\Cryptography\OidCollection.cs (1)
30Array.Resize(ref _oids, count == 0 ? 4 : count * 2);
System\Security\Cryptography\RSA.cs (1)
1432Array.Resize(ref result, written);
System\Security\Cryptography\SymmetricAlgorithm.cs (2)
486Array.Resize(ref decryptBuffer, written); 1087Array.Resize(ref decryptBuffer, written);
System.Text.Json (4)
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
133Array.Resize(ref adjacencyRow, index + 1);
System\Text\Json\BitStack.cs (1)
141Array.Resize(ref _array, nextDouble);
System\Text\Json\Serialization\ReadStack.cs (1)
92Array.Resize(ref _stack, 2 * _stack.Length);
System\Text\Json\Serialization\WriteStack.cs (1)
137Array.Resize(ref _stack, 2 * _stack.Length);
System.Text.Json.SourceGeneration (1)
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
133Array.Resize(ref adjacencyRow, index + 1);
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\Symbolic\SparseIntMap.cs (1)
80Array.Resize(ref _sparse, newLength);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
91/// Implements a version of <see cref="Array.Resize"/> that is guaranteed to not publish an array before values