375 references to Resize
dotnet-svcutil-lib (6)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
656Array.Resize<DataContract>(ref s_dataContractCache, newSize);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ObjectReferenceStack.cs (2)
32Array.Resize<object>(ref _objectArray, _objectArray.Length * 2); 67Array.Resize<bool>(ref _isReferenceArray, _isReferenceArray.Length * 2);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ScopedKnownTypes.cs (1)
20Array.Resize<DataContractDictionary>(ref dataContractDictionaries, dataContractDictionaries.Length * 2);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionary.cs (1)
62Array.Resize(ref _strings, newSize);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
1386Array.Resize<XmlAttribute>(ref attributes, i + 1);
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.Diagnostics.Middleware (2)
src\Shared\BufferWriterPool\BufferWriter.cs (2)
76Array.Resize(ref _buffer, value); 185Array.Resize(ref _buffer, targetCapacity);
Microsoft.AspNetCore.HeaderParsing (1)
HeaderParsingFeature.cs (1)
64Array.Resize(ref _boxes, header.Position + 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)
98Array.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)
98Array.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.CodeAnalysis (23)
CodeGen\TokenMap.cs (1)
76Array.Resize(ref items, Math.Max(8, count * 2));
Collections\BitVector.cs (1)
100if (requiredWords > _bits.Length) Array.Resize(ref _bits, requiredWords);
DiaSymReader\Writer\SymUnmanagedSequencePointsWriter.cs (5)
44Array.Resize(ref _offsets, newLength); 45Array.Resize(ref _startLines, newLength); 46Array.Resize(ref _startColumns, newLength); 47Array.Resize(ref _endLines, newLength); 48Array.Resize(ref _endColumns, newLength);
InternalUtilities\StreamExtensions.cs (1)
69Array.Resize(ref buffer, actualLength);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Syntax\GreenNode.cs (1)
1051Array.Resize(ref errorInfos, length + 1);
Syntax\InternalSyntax\SyntaxListBuilder.cs (1)
147Array.Resize(ref _nodes, newSize);
Syntax\SyntaxNode.Iterators.cs (2)
106Array.Resize(ref _stack, checked(_stackPtr * 2)); 172Array.Resize(ref _stack, checked(_stackPtr * 2));
Text\LargeText.cs (1)
121Array.Resize(ref chunk, charsRead);
Text\LargeTextWriter.cs (1)
141Array.Resize(ref _buffer, _currentUsed);
Microsoft.CodeAnalysis.CodeStyle (13)
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
100if (requiredWords > _bits.Length) Array.Resize(ref _bits, requiredWords);
src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (1)
69Array.Resize(ref buffer, actualLength);
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
994Array.Resize(ref array, arraySize); 1014Array.Resize(ref array, i);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\SyntaxAnnotationExtensions.cs (1)
31Array.Resize(ref finalAnnotations, originalAnnotations.Length + newAnnotations.Length);
Microsoft.CodeAnalysis.Collections.Package (11)
Extensions\IEnumerableExtensions.cs (2)
994Array.Resize(ref array, arraySize); 1014Array.Resize(ref array, i);
Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Microsoft.CodeAnalysis.CSharp (3)
Parser\SyntaxParser.cs (2)
420Array.Resize(ref _blendedTokens, _blendedTokens.Length * 2); 448Array.Resize(ref _lexedTokens, _lexedTokens.Length * 2);
Symbols\Source\SourceNamespaceSymbol.cs (1)
312Array.Resize(ref memberOfArity, arity + 1);
Microsoft.CodeAnalysis.InteractiveHost (12)
Interactive\Core\InteractiveHost.RemoteService.cs (1)
202Array.Resize(ref buffer, newBufferLength);
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
994Array.Resize(ref array, arraySize); 1014Array.Resize(ref array, i);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Microsoft.CodeAnalysis.Scripting (1)
ScriptExecutionState.cs (1)
162Array.Resize(ref _submissionStates, Math.Max(SubmissionStateCount, _submissionStates.Length * 2));
Microsoft.CodeAnalysis.Threading.Package (11)
src\Dependencies\Collections\Extensions\IEnumerableExtensions.cs (2)
994Array.Resize(ref array, arraySize); 1014Array.Resize(ref array, i);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Microsoft.CodeAnalysis.Workspaces (13)
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
100if (requiredWords > _bits.Length) Array.Resize(ref _bits, requiredWords);
src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (1)
69Array.Resize(ref buffer, actualLength);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\SyntaxAnnotationExtensions.cs (1)
31Array.Resize(ref finalAnnotations, originalAnnotations.Length + newAnnotations.Length);
Workspace\Solution\SourceGeneratedDocumentIdentity.cs (1)
67Array.Resize(ref hash, 16);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
src\Compilers\Core\Portable\InternalUtilities\StreamExtensions.cs (1)
69Array.Resize(ref buffer, actualLength);
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
678Array.Resize(ref segments, newSegmentCount); 683Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 687Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (3)
932Array.Resize(ref segments, newSegmentCount); 937Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<Entry>()); 941Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (3)
164Array.Resize(ref segments, newSegmentCount); 169Array.Resize(ref segments[i], SegmentedArrayHelper.GetSegmentSize<T>()); 173Array.Resize(ref segments[newSegmentCount - 1], lastSegmentSize);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
TestAnalyzerReferenceByLanguage.cs (1)
27Array.Resize(ref checksumArray, Checksum.HashSize);
TestGeneratorReference.cs (1)
32Array.Resize(ref checksumArray, Checksum.HashSize);
Microsoft.DotNet.Build.Tasks.Workloads (1)
Utils.cs (1)
155Array.Resize(ref hash, 16);
Microsoft.DotNet.SignTool (1)
src\SignToolTask.cs (1)
381Array.Resize(ref result, getCommonPrefixLength(result, directoryParts));
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
src\Shared\BufferWriterPool\BufferWriter.cs (2)
76Array.Resize(ref _buffer, value); 185Array.Resize(ref _buffer, targetCapacity);
Microsoft.Extensions.Http.Diagnostics (2)
src\Shared\BufferWriterPool\BufferWriter.cs (2)
76Array.Resize(ref _buffer, value); 185Array.Resize(ref _buffer, targetCapacity);
Microsoft.Extensions.Logging (1)
LoggerFactory.cs (1)
187Array.Resize(ref loggerInformation, loggerInformation.Length + 1);
Microsoft.Extensions.Telemetry (1)
Logging\ExtendedLoggerFactory.cs (1)
185Array.Resize(ref loggerInformation, loggerInformation.Length + 1);
Microsoft.Extensions.Telemetry.Abstractions (3)
Logging\LoggerMessageState.cs (3)
51Array.Resize(ref _tags, need); 70Array.Resize(ref _classifiedTags, need); 71Array.Resize(ref _redactedTags, need);
Microsoft.Maui (2)
Layouts\Flex.cs (1)
863 Array.Resize(ref layout.lines, (layout.lines?.Length ?? 0) + 1);
Layouts\GridLayoutManager.cs (1)
136 Array.Resize(ref _childrenToLayOut, currentChild);
Microsoft.ML.AutoML (2)
ColumnInference\TextFileSample.cs (2)
152Array.Resize(ref chunk, chunkSize); 166Array.Resize(ref buf, readCount);
Microsoft.ML.Core (11)
Utilities\ArrayUtils.cs (1)
96Array.Resize(ref array, newSize);
Utilities\BigArray.cs (8)
252Array.Resize(ref _entries, newBlockCount); 253Array.Resize(ref _entries[newBlockCount - 1], newLastBlockLength); 267Array.Resize(ref _entries[0], Math.Min(BlockSize, Math.Max(2 * curLastBlockSize, newLastBlockLength))); 272Array.Resize(ref _entries[newBlockCount - 1], BlockSize); 280Array.Resize(ref _entries, newBlockCount); 281Array.Resize(ref _entries[curBlockCount - 1], BlockSize); 306Array.Resize(ref _entries[maMax], miLim); 307Array.Resize(ref _entries, maMax + 1);
Utilities\NormStr.cs (2)
227Array.Resize(ref _rgmeta, size); 228Array.Resize(ref _rgns, size);
Microsoft.ML.Data (27)
Data\BufferBuilder.cs (5)
181Array.Resize(ref _values, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 183Array.Resize(ref _indices, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 209Array.Resize(ref _values, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 211Array.Resize(ref _indices, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 323Array.Resize(ref _values, _length);
DataLoadSave\Text\TextLoaderCursor.cs (1)
812Array.Resize(ref infos, index);
DataLoadSave\Text\TextLoaderParser.cs (5)
370Array.Resize(ref _values, 2 * _count); 372Array.Resize(ref _indices, 2 * _count); 388Array.Resize(ref _values, _size); 643Array.Resize(ref Spans, size); 644Array.Resize(ref Indices, size);
DataLoadSave\Text\TextSaver.cs (3)
662Array.Resize(ref _rgch, checked(_rgch.Length * 2)); 664Array.Resize(ref _mpslotdst, checked(_mpslotdst.Length * 2)); 666Array.Resize(ref _mpslotichLim, checked(_mpslotichLim.Length * 2));
DataView\CacheDataView.cs (4)
1413Array.Resize(ref _indexBoundaries, _rowCount + 1); 1414Array.Resize(ref _valueBoundaries, _rowCount + 1); 1415Array.Resize(ref _lengths, _rowCount); 1456Array.Resize(ref _values, _rowCount);
Transforms\SlotsDroppingTransformer.cs (2)
412Array.Resize(ref slotsMin[i], iDst); 413Array.Resize(ref slotsMax[i], iDst);
Utils\SequencePool.cs (7)
77Array.Resize(ref _start, 11); 79Array.Resize(ref _bytes, 40); 241Array.Resize(ref _start, size); 251Array.Resize(ref _hash, size); 252Array.Resize(ref _next, size); 262Array.Resize(ref _bytes, size); 356Array.Resize(ref sequence, lim - min);
Microsoft.ML.DataView (1)
src\Microsoft.ML.Core\Utilities\ArrayUtils.cs (1)
96Array.Resize(ref array, newSize);
Microsoft.ML.Ensemble (3)
OutputCombiners\BaseStacking.cs (2)
206Array.Resize(ref labels, count); 207Array.Resize(ref features, count);
Selector\SubModelSelector\BaseDiverseSelector.cs (1)
58Array.Resize(ref preds, count);
Microsoft.ML.FastTree (1)
Utils\CompressUtils.cs (1)
56Array.Resize(ref block.Buffer, (block.Offset + block.Length + loadSize) * 2);
Microsoft.ML.Parquet (1)
ParquetLoader.cs (1)
730Array.Resize(ref arr, 16);
Microsoft.ML.Samples (1)
Dynamic\TensorFlow\TextClassification.cs (1)
95Array.Resize(ref features, MaxSentenceLength);
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
95Array.Resize(ref features, MaxSentenceLength);
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (2)
199Array.Resize(ref labelHistogram, labelCount); 200Array.Resize(ref featureHistogram, labelCount);
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1295Array.Resize(ref processedData.Features, 600);
Microsoft.ML.TimeSeries (41)
AdaptiveSingularSpectrumSequenceModeler.cs (2)
1196Array.Resize(ref dataArray, count); 1244Array.Resize(ref dataArray, count);
Deseasonality.cs (3)
27Array.Resize(ref _circularComponent, period); 69Array.Resize(ref _circularComponent, period); 70Array.Resize(ref _subSeries, period);
SrCnnEntireAnomalyDetector.cs (26)
493Array.Resize<double[]>(ref results, values.Length); 502Array.Resize(ref _seriesToDetect, values.Length); 555Array.Resize(ref _fftRe, length); 556Array.Resize(ref _fftIm, length); 558Array.Resize(ref _zeroArray, length); 562Array.Resize(ref _magList, length); 563Array.Resize(ref _magLogList, length); 579Array.Resize(ref _spectralList, length); 586Array.Resize(ref _transRe, length); 587Array.Resize(ref _transIm, length); 602Array.Resize(ref _ifftRe, length); 603Array.Resize(ref _ifftIm, length); 607Array.Resize(ref _ifftMagList, length); 656Array.Resize(ref _backAddArray, data.Length + _backAddWindowSize); 683Array.Resize(ref _cumSumList, length); 684Array.Resize(ref _cumSumShift, length); 899Array.Resize(ref _deAnomalyData, data.Length); 956Array.Resize(ref _fftRe, length); 957Array.Resize(ref _fftIm, length); 958Array.Resize(ref _zeroArray, length); 970Array.Resize(ref _ifftRe, length); 971Array.Resize(ref _ifftIm, length); 1004Array.Resize(ref _units, _trends.Length); 1026Array.Resize(ref _val, tLen); 1028Array.Resize(ref _trends, tLen); 1030Array.Resize(ref _curWindow, wLen);
STL\InnerStl.cs (10)
126Array.Resize(ref _seasonalComponent, length); 127Array.Resize(ref _trendComponent, length); 128Array.Resize(ref _residual, length); 130Array.Resize(ref _s, length); 131Array.Resize(ref _t, length); 132Array.Resize(ref _detrendedY, length); 133Array.Resize(ref _c, length + np * 2); 134Array.Resize(ref _deseasonSeries, length); 136Array.Resize(ref _cycleSubSeries, np); 137Array.Resize(ref _smoothedSubseries, np);
Microsoft.ML.Tokenizers (1)
Utils\Vec.cs (1)
56Array.Resize(ref _buffer, _buffer.Length << 1);
Microsoft.ML.Transforms (5)
Expression\LambdaBinder.cs (1)
1450Array.Resize(ref args, head + 1);
Expression\TokenCursor.cs (1)
125Array.Resize(ref _buffer, 2 * _buffer.Length);
GroupTransform.cs (1)
489Array.Resize(ref _buffer, size);
MutualInformationFeatureSelection.cs (2)
690Array.Resize(ref _contingencyTable[i], numFeatures); 691Array.Resize(ref _featureSums, numFeatures);
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (2)
981Array.Resize(packedIndexes, packedIndexes.Length + 1) 1054Array.Resize(packedIndexes, packedIndexes.Length + 1)
Shared (2)
BufferWriterPool\BufferWriter.cs (2)
76Array.Resize(ref _buffer, value); 185Array.Resize(ref _buffer, targetCapacity);
System.Collections (7)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
79Array.Resize(ref arr, newLength);
System\Collections\BitArray.cs (1)
726Array.Resize(ref m_array, newints);
System\Collections\Generic\PriorityQueue.cs (2)
621Array.Resize(ref _nodes, _size); 649Array.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)
742Array.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.Data.Odbc (1)
src\libraries\Common\src\System\Data\ProviderBase\DbReferenceCollection.cs (1)
131Array.Resize<CollectionEntry>(ref _items, _items.Length * 2);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Metrics\TagList.netcore.cs (2)
128Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity); 192Array.Resize(ref _overflowTags, _tagsCount + OverflowAdditionalCapacity);
System.Diagnostics.Process (1)
System\Diagnostics\Process.Unix.cs (1)
624Array.Resize(ref envp, index);
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.Linq.AsyncEnumerable (4)
System\Linq\Chunk.cs (2)
68Array.Resize(ref array, arraySize); 88Array.Resize(ref array, i);
System\Linq\GroupBy.cs (2)
409Array.Resize(ref _elements, checked(_count * 2)); 420Array.Resize(ref _elements, _count);
System.Memory (1)
src\libraries\Common\src\System\Buffers\ArrayBufferWriter.cs (1)
237Array.Resize(ref _buffer, newSize);
System.Net.Http (5)
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)
1490Array.Resize(ref entries, entries.Length << 1);
System\Net\Http\HttpContent.cs (1)
1028Array.Resize(ref _pooledBuffers, bufferCount + 4);
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.Net.Sockets (1)
System\Net\Sockets\SocketAsyncEngine.Unix.cs (1)
135Array.Resize(ref s_registeredContexts, newLength);
System.Private.CoreLib (14)
src\libraries\Common\src\System\Collections\Generic\EnumerableHelpers.cs (1)
79Array.Resize(ref arr, newLength);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
1770Array.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)
546Array.Resize(ref decodedBytes, decodedBytesCount);
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
1966Array.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); 135Array.Resize(ref data._pinnedData, objArray.Length);
src\System\RuntimeType.CoreCLR.cs (5)
88Array.Resize(ref _items, _count); 127Array.Resize(ref _items, newCapacity); 452Array.Resize(ref m_allMembers, memberCount); 566Array.Resize(ref cachedMembers2, newSize); 3898Array.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.Windows.Core (1)
System\Collections\Generic\ArrayBuilder.cs (1)
63Array.Resize(ref _items, newCapacity);
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)
79Array.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 (6)
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (2)
381Array.Resize(ref bag.BagAttributes, newCount); 447Array.Resize(ref bag.BagAttributes, attrLen);
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)
535Array.Resize(ref decryptBuffer, written); 1136Array.Resize(ref decryptBuffer, written);
System.Security.Cryptography.Pkcs (8)
Internal\Cryptography\PkcsHelpers.cs (1)
79Array.Resize(ref a, size);
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
373Array.Resize(ref _signedData.SignerInfos, newIdx + 1); 517Array.Resize(ref _signedData.DigestAlgorithms, curLength + 1); 589Array.Resize(ref _signedData.CertificateSet, existingLength + newCerts.Count); 694Array.Resize(ref _signedData.CertificateSet, existingLength + 1);
System\Security\Cryptography\Pkcs\SignerInfo.cs (3)
209Array.Resize(ref mySigner.UnsignedAttributes, newAttributeIdx + 1); 219Array.Resize(ref modifiedAttr.AttrValues, newIndex + 1); 337Array.Resize(ref mySigner.UnsignedAttributes, newExtensionIdx + 1);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
170Array.Resize(ref bytes, bytes.Length + 1);
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)
171Array.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)
140Array.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)
100/// Implements a version of <see cref="Array.Resize"/> that is guaranteed to not publish an array before values
System.Windows.Forms.Design (2)
System\ComponentModel\Design\ComponentDesigner.cs (1)
211Array.Resize(ref designers, idx);
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
174Array.Resize(ref newLines, newLines.Length - 1);