4 writes to Length
Microsoft.ML.Core (1)
Utilities\Stream.cs (1)
831returnArray.Length = numBits;
System.Data.Common (1)
System\Data\Common\DataStorage.cs (1)
269_dbNullBits.Length = capacity;
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnDecoder.NamedBitList.cs (1)
360ret.Length = validBitCount;
System.Windows.Forms (1)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (1)
42_rows[rowOffset].Length = column + 1;
33 references to Length
Microsoft.CodeAnalysis.UnitTests (3)
Collections\List\IEnumerable.Generic.Tests.cs (3)
241for (int i = 0; i < itemsVisited.Length; ++i) 267for (int i = 0; i < itemsVisited.Length; i++) 275for (int i = 0; i < itemsVisited.Length; i++)
Microsoft.CodeAnalysis.Workspaces (7)
Shared\Utilities\BloomFilter.cs (4)
330hash %= _bitArray.Length; 387if (array1.Length != array2.Length) 392for (var i = 0; i < array1.Length; i++)
Shared\Utilities\BloomFilter_Serialization.cs (3)
28Contract.ThrowIfTrue(bitArray.Length % 8 != 0); 30writer.WriteInt32(bitArray.Length / 8); 36for (var i = 0; i < bitArray.Length; i++)
Microsoft.DotNet.XUnitAssert.Tests (4)
CollectionAssertsTests.cs (4)
1598 var sb = new StringBuilder(bitArray.Length); 1600 for (int idx = 0; idx < bitArray.Length; ++idx) 2265 var sb = new StringBuilder(bitArray.Length); 2267 for (int idx = 0; idx < bitArray.Length; ++idx)
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
117return x == null ? 0 : x.Length;
Microsoft.ML.Data (1)
DataView\ArrayDataViewBuilder.cs (1)
326Ch.Check(column.Index < _active.Length && _active[column.Index], "the requested column is not active");
Microsoft.ML.Ensemble (1)
EnsembleUtils.cs (1)
28Contracts.Assert(features.Length == typeVectorSize);
Microsoft.ML.FastTree (1)
FastTree.cs (1)
1694for (int i = 0; i < rowHasMissing.Length; i++)
Microsoft.ML.Transforms (1)
MissingValueReplacing.cs (1)
783Host.Assert(repIsDefault.Length == src.Length);
System.Collections (11)
System\Collections\BitArray.cs (11)
288int arrayLength = GetInt32ArrayLengthFromBitLength(Length); 328int count = GetInt32ArrayLengthFromBitLength(Length); 329if (Length != value.Length || (uint)count > (uint)thisArray.Length || (uint)count > (uint)valueArray.Length) 401int count = GetInt32ArrayLengthFromBitLength(Length); 402if (Length != value.Length || (uint)count > (uint)thisArray.Length || (uint)count > (uint)valueArray.Length) 474int count = GetInt32ArrayLengthFromBitLength(Length); 475if (Length != value.Length || (uint)count > (uint)thisArray.Length || (uint)count > (uint)valueArray.Length) 543int count = GetInt32ArrayLengthFromBitLength(Length);
System.Data.Common (1)
System\Data\DataTable.cs (1)
869Debug.Assert(bitStates.Length > bitIndex);
System.Windows.Forms (2)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (2)
23if (column >= _rows[rowOffset].Length) 40if (column >= _rows[rowOffset].Length)