27 references to new
ILCompiler.Compiler (1)
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (1)
326_usedBytes = new BitArray(type.InstanceFieldSize.AsInt);
ILCompiler.ReadyToRun (2)
Compiler\ReadyToRunCompilationModuleGroupBase.cs (1)
239_bits = new BitArray(((int)compilationIndex) + 1);
parent\parent\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs (1)
326_usedBytes = new BitArray(type.InstanceFieldSize.AsInt);
illink (2)
Microsoft.CodeAnalysis.Workspaces (1)
Shared\Utilities\BloomFilter.cs (1)
41_bitArray = new BitArray(length: ComputeBitArrayLength(expectedCount, falsePositiveProbability));
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\BinaryEmbedding.cs (1)
69BitArray result = new(utf8.Length);
Microsoft.Extensions.AI.Integration.Tests (1)
QuantizationEmbeddingGenerator.cs (1)
50var result = new BitArray(vector.Length);
Microsoft.ML.Data (1)
DataView\ArrayDataViewBuilder.cs (1)
273_active = new BitArray(view.Schema.Count);
Microsoft.ML.Ensemble (1)
Selector\FeatureSelector\RandomFeatureSelector.cs (1)
54var features = new BitArray(len);
Microsoft.ML.FastTree (1)
FastTree.cs (1)
1678BitArray rowHasMissing = new BitArray(temp.Length);
Microsoft.ML.Transforms (3)
MissingValueReplacing.cs (2)
259_repIsDefault[iinfo] = new BitArray(srcType.Size); 370BitArray defaultSlots = new BitArray(values.Length);
SvmLight\SvmLightLoader.cs (1)
356_indexUsed = new BitArray((int)_keyMax);
PresentationCore (1)
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
441BitArray lookupUsage = new BitArray(lookupCount);
PresentationFramework (4)
System\Windows\Documents\FixedDSBuilder.cs (1)
67_visitedArray = new BitArray(fixedNodes.Count);
System\Windows\SystemColors.cs (2)
2464private static BitArray _colorCacheValid = new BitArray((int)CacheSlot.NumSlots); 2466private static BitArray _brushCacheValid = new BitArray((int)CacheSlot.NumSlots);
System\Windows\SystemParameters.cs (1)
5932private static BitArray _cacheValid = new BitArray((int)CacheSlot.NumSlots);
System.Data.Common (3)
System\Data\Common\DataStorage.cs (1)
265_dbNullBits = new BitArray(capacity);
System\Data\DataSet.cs (1)
1307_rowChanges = new BitArray(rowCount);
System\Data\DataTable.cs (1)
746BitArray nullbits = new BitArray(recordCount);
System.Security.Cryptography (1)
System\Security\Cryptography\EccKeyFormatHelper.cs (1)
379BitArray poly = new BitArray(m + 1);
System.Text.Json (3)
System\Text\Json\Serialization\Converters\FSharp\FSharpUnionConverter.cs (1)
293BitArray? populatedFields = trackPopulated ? new BitArray(caseInfo.Fields!.Length) : null;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1545(requiredPropertiesMask ??= new BitArray(properties.Count))[i] = true;
System\Text\Json\Serialization\ReadStackFrame.cs (1)
149AssignedProperties = new BitArray(typeInfo.Properties.Count);
System.Windows.Forms (1)
System\Windows\Forms\Layout\TableLayout.ReservationGrid.cs (1)
36_rows.Add(new BitArray(_numColumns));