253 references to Clear
CodeGenerator (1)
HttpUtilities\CombinationsWithoutRepetition.cs (1)
91Array.Clear(Current, 0, Current.Length);
dotnet-dev-certs (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (3)
1973Array.Clear(_symbolTables.symtable, 1, _symbolTables.symtable.Length - 1); 1974Array.Clear(_symbolTables.qnametable, 0, _symbolTables.qnametable.Length); 2752Array.Clear(_attrHashTbl, 0, tblSize);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (1)
126Array.Clear(_strings, 0, _strings.Length);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriterSession.cs (1)
121Array.Clear(_list, 0, _list.Length);
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
57Array.Clear(export, 0, export.Length);
Microsoft.AspNetCore.Components (2)
src\Components\Shared\src\ArrayBuilder.cs (1)
196Array.Clear(_items, 0, _itemsInUse);
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
406Array.Clear(_arrayStorage, 0, _count);
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
196Array.Clear(_items, 0, _itemsInUse);
Microsoft.AspNetCore.Components.Tests (1)
Rendering\ArrayBuilderSegmentTest.cs (1)
44Array.Clear(originalBuffer, 0, originalBuffer.Length); // Extra proof that we're not using the original storage
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
196Array.Clear(_items, 0, _itemsInUse);
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
PBKDF2\ManagedPbkdf2Provider.cs (1)
89Array.Clear(passwordBytes, 0, passwordBytes.Length);
Microsoft.AspNetCore.DataProtection (19)
AuthenticatedEncryption\ConfigurationModel\SecretExtensions.cs (2)
33Array.Clear(unprotectedSecretRawBytes, 0, unprotectedSecretRawBytes.Length); 59Array.Clear(unprotectedSecret, 0, unprotectedSecret.Length);
Cng\DpapiSecretSerializerHelper.cs (2)
61Array.Clear(plaintextSecret, 0, plaintextSecret.Length); 139Array.Clear(plaintextSecret, 0, plaintextSecret.Length);
Managed\AesGcmAuthenticatedEncryptor.cs (4)
134Array.Clear(decryptedKdk, 0, decryptedKdk.Length); 135Array.Clear(derivedKey, 0, derivedKey.Length); 210Array.Clear(decryptedKdk, 0, decryptedKdk.Length); 211Array.Clear(derivedKey, 0, derivedKey.Length);
Managed\ManagedAuthenticatedEncryptor.cs (8)
261Array.Clear(decryptedKdk, 0, decryptedKdk.Length); 262Array.Clear(decryptionSubkey, 0, decryptionSubkey.Length); 263Array.Clear(validationSubkey, 0, validationSubkey.Length); 264Array.Clear(derivedKeysBuffer, 0, derivedKeysBuffer.Length); 361Array.Clear(decryptedKdk, 0, decryptedKdk.Length); 362Array.Clear(encryptionSubkey, 0, encryptionSubkey.Length); 363Array.Clear(validationSubkey, 0, validationSubkey.Length); 364Array.Clear(derivedKeysBuffer, 0, derivedKeysBuffer.Length);
SP800_108\ManagedSP800_108_CTR_HMACSHA512.cs (1)
49Array.Clear(prfOutput, 0, prfOutput.Length); // contains key material, so delete it
XmlEncryption\XmlEncryptionExtensions.cs (2)
176Array.Clear(underlyingBuffer, 0, underlyingBuffer.Length); 197Array.Clear(plaintextSecret, 0, plaintextSecret.Length);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Microsoft.AspNetCore.Http (1)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
258Array.Clear(_arrayStorage, 0, _count);
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\RouteValueDictionary.cs (1)
406Array.Clear(_arrayStorage, 0, _count);
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Buffers\MemoryPoolViewBufferScope.cs (1)
75Array.Clear(segment, 0, segment.Length);
Buffers\ViewBuffer.cs (2)
322Array.Clear(page.Buffer, 0, page.Count); 355Array.Clear(page.Buffer, 0, page.Count);
Microsoft.AspNetCore.Server.Kestrel.Core (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
258Array.Clear(_arrayStorage, 0, _count);
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
418Array.Clear(_messages, 0, BufferLength);
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\MemoryBufferWriterTests.cs (2)
304Array.Clear(data, 0, data.Length); 351Array.Clear(data, 0, data.Length);
Microsoft.AspNetCore.SignalR.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
418Array.Clear(_messages, 0, BufferLength);
Microsoft.Build (2)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
270Array.Clear(_slots, 0, _lastIndex); 271Array.Clear(_buckets, 0, _buckets.Length);
Microsoft.Build.Framework (1)
SegmentedArray.cs (1)
16/// <seealso cref="Array.Clear(Array, int, int)"/>
Microsoft.CodeAnalysis (7)
Collections\BitVector.cs (1)
385if (_bits != null) Array.Clear(_bits, 0, _bits.Length);
ReferenceManager\CommonReferenceManager.Binding.cs (3)
618Array.Clear(candidateInputAssemblySymbols, 0, candidateInputAssemblySymbols.Length); 711Array.Clear(candidateInputAssemblySymbols, 0, candidateInputAssemblySymbols.Length); 757Array.Clear(candidateInputAssemblySymbols, 0, candidateInputAssemblySymbols.Length);
src\Dependencies\Collections\SegmentedArray.cs (1)
22/// <seealso cref="Array.Clear(Array, int, int)"/>
Syntax\SyntaxNode.Iterators.cs (2)
125Array.Clear(_stack, 0, _stack.Length); 181Array.Clear(_stack, 0, _stack.Length);
Microsoft.CodeAnalysis.CodeStyle (4)
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
385if (_bits != null) Array.Clear(_bits, 0, _bits.Length);
src\Dependencies\Collections\SegmentedArray.cs (1)
22/// <seealso cref="Array.Clear(Array, int, int)"/>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
315Array.Clear(chunk, 0, chunk.Length); 338Array.Clear(chunks[chunkIndex], chunkOffset, chunks[chunkIndex].Length - chunkOffset);
Microsoft.CodeAnalysis.Collections.Package (1)
SegmentedArray.cs (1)
22/// <seealso cref="Array.Clear(Array, int, int)"/>
Microsoft.CodeAnalysis.CSharp (3)
Parser\SyntaxParser.cs (2)
97Array.Clear(blendedTokens, 0, blendedTokens.Length); 460Array.Clear(lexedTokens, 0, _maxWrittenLexedTokenIndex + 1);
Symbols\Source\SourceNamespaceSymbol.cs (1)
303Array.Clear(memberOfArity, 0, memberOfArity.Length);
Microsoft.CodeAnalysis.UnitTests (1)
Text\LargeTextTests.cs (1)
94Array.Clear(buffer, 0, buffer.Length);
Microsoft.CodeAnalysis.Workspaces (8)
Differencing\LongestCommonSubsequence.cs (3)
219Array.Clear(_buffer, _start, dstCopyStart); 221Array.Clear(_buffer, _start + dstCopyStart + copyLength, _length - dstCopyStart - copyLength); 225=> Array.Clear(_buffer, _start, _length);
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
385if (_bits != null) Array.Clear(_bits, 0, _bits.Length);
src\Dependencies\Collections\SegmentedArray.cs (1)
22/// <seealso cref="Array.Clear(Array, int, int)"/>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
315Array.Clear(chunk, 0, chunk.Length); 338Array.Clear(chunks[chunkIndex], chunkOffset, chunks[chunkIndex].Length - chunkOffset);
Storage\SQLite\v2\SQLitePersistentStorage_Helpers.cs (1)
106Array.Clear(bytes, 0, bytes.Length);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Dependencies\Collections\SegmentedArray.cs (1)
22/// <seealso cref="Array.Clear(Array, int, int)"/>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (2)
315Array.Clear(chunk, 0, chunk.Length); 338Array.Clear(chunks[chunkIndex], chunkOffset, chunks[chunkIndex].Length - chunkOffset);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
XxHash128Tests.cs (5)
59Array.Clear(destination, 0, destination.Length); 64Array.Clear(destination, 0, destination.Length); 72Array.Clear(destination, 0, destination.Length); 76Array.Clear(destination, 0, destination.Length); 131Array.Clear(destination, 0, destination.Length);
Microsoft.Extensions.Telemetry (2)
Latency\Internal\CheckpointTracker.cs (1)
49Array.Clear(_checkpointAdded, 0, _checkpointAdded.Length);
Latency\Internal\MeasureTracker.cs (1)
48Array.Clear(_measurePosition, 0, _measurePosition.Length);
Microsoft.Extensions.Telemetry.Abstractions (3)
Logging\LoggerMessageState.cs (3)
107Array.Clear(_tags, 0, TagsCount); 108Array.Clear(_classifiedTags, 0, ClassifiedTagsCount); 109Array.Clear(_redactedTags, 0, ClassifiedTagsCount);
Microsoft.JSInterop (1)
src\Components\Shared\src\ArrayBuilder.cs (1)
196Array.Clear(_items, 0, _itemsInUse);
Microsoft.ML.CpuMath (1)
AlignedArray.cs (1)
171Array.Clear(Items, _base, _size);
Microsoft.ML.Data (9)
Data\BufferBuilder.cs (1)
122Array.Clear(_values, 0, _length);
DataLoadSave\Text\TextLoaderParser.cs (3)
383Array.Clear(_values, _count, _size - _count); 387Array.Clear(_values, _count, _values.Length - _count); 652Array.Clear(Spans, 0, Count);
DataView\Transposer.cs (4)
526Array.Clear(_rbuffIndices, 0, _rbuffIndices.Length); 547Array.Clear(_counts, 0, vecLen); 633Array.Clear(_rbuffIndices, 0, irbuff); 1237Array.Clear(_srcIndicesLims, 0, _srcIndicesLims.Length);
Deprecated\Vector\VectorUtils.cs (1)
538Array.Clear(dst, 0, dst.Length);
Microsoft.ML.FastTree (13)
Dataset\Dataset.cs (1)
763Array.Clear(labelCounts, 0, relevancyLevel);
Dataset\FeatureHistogram.cs (3)
116Array.Clear(SumTargetsByBin, 0, SumTargetsByBin.Length); 121Array.Clear(SumWeightsByBin, 0, SumWeightsByBin.Length); 124Array.Clear(CountByBin, 0, CountByBin.Length);
FastTree.cs (2)
1229Array.Clear(binnedValues, 0, values.Length); 2703Array.Clear(_perFeaturePosition, 0, _featureIndices.Length);
FastTreeRanking.cs (2)
749Array.Clear(Gradient, begin, numDocuments); 750Array.Clear(Weights, begin, numDocuments);
Training\DcgCalculator.cs (1)
127Array.Clear(labelCounts, 0, LabelMap.Length);
Training\DocumentPartitioning.cs (1)
151Array.Clear(_leafCount, 0, _leafCount.Length);
Training\OptimizationAlgorithms\GradientDescent.cs (1)
45Array.Clear(_droppedScores, 0, _droppedScores.Length);
Training\ScoreTracker.cs (1)
64Array.Clear(Scores, 0, Scores.Length);
Utils\MappedObjectPool.cs (1)
84Array.Clear(_lastAccessTime, 0, _lastAccessTime.Length);
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
1086Array.Clear(ClusterSizes, 0, K);
Microsoft.ML.PCA (2)
PcaTrainer.cs (1)
306Array.Clear(y[i], 0, y[i].Length);
PcaTransformer.cs (1)
401Array.Clear(y[iinfo][i], 0, y[iinfo][i].Length);
Microsoft.ML.StandardTrainers (3)
LdSvm\LdSvmTrainer.cs (1)
208Array.Clear(gradTheta, 0, numLeaf - 1);
Optimizer\Optimizer.cs (2)
289Array.Clear(_sList, 0, _sList.Length); 290Array.Clear(_yList, 0, _yList.Length);
Microsoft.ML.Transforms (5)
MutualInformationFeatureSelection.cs (3)
694Array.Clear(_contingencyTable[i], 0, numFeatures); 695Array.Clear(_labelSums, 0, _numLabels); 696Array.Clear(_featureSums, 0, numFeatures);
PermutationFeatureImportance.cs (2)
238Array.Clear(featureValuesBuffer, 0, featureValuesBuffer.Length); 240Array.Clear(nextValues, 0, nextValues.Length);
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypesHelper.cs (1)
71Array.Clear(_typeTable, 0, _typeTable.Length);
PresentationCore (2)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
392Array.Clear(glyphBits, 0, glyphBitsLength);
MS\Internal\Shaping\OpenTypeLayout.cs (1)
1216Array.Clear(_lookupUsageFlags, 0, requiredLookupUsageArraySize);
PresentationFramework (6)
MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
761Array.Clear(nulls, 0, nulls.Length);
System\Windows\Controls\Grid.cs (3)
387Array.Clear(_definitionIndices, 0, _definitionIndices.Length); 395Array.Clear(_roundingErrors, 0, _roundingErrors.Length); 2869Array.Clear(extData.TempDefinitions, 0, Math.Max(DefinitionsU.Length, DefinitionsV.Length));
System\Windows\Data\MultiBindingExpression.cs (2)
601Array.Clear(_tempTypes, 0, _tempTypes.Length); 1260Array.Clear(_tempValues, 0, _tempValues.Length);
ReachFramework (3)
PrintConfig\PTProvider.cs (1)
731Array.Clear(data, 0, data.Length);
Serialization\Manager\ReachSerializationUtils.cs (2)
244Array.Clear(List, 0, Count); 262Array.Clear(List, Count - 1, 1);
System.Collections (6)
System\Collections\Generic\OrderedDictionary.cs (2)
540Array.Clear(_buckets, 0, _buckets.Length); 541Array.Clear(_entries, 0, _count);
System\Collections\Generic\PriorityQueue.cs (1)
575Array.Clear(_nodes, 0, _size);
System\Collections\Generic\SortedList.cs (2)
396Array.Clear(keys, 0, _size); 400Array.Clear(values, 0, _size);
System\Collections\Generic\Stack.cs (1)
75Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenHashTable.cs (1)
226Array.Clear(seenBuckets, 0, Math.Min(numBuckets, seenBuckets.Length));
System\Collections\Immutable\ImmutableArray_1.Builder.cs (2)
109Array.Clear(_elements, value, _count - value); 596Array.Clear(_elements, index, length); // Clear the elements so that the gc can reclaim the references.
System\Collections\Immutable\ImmutableExtensions.cs (2)
65/// avoids a call into the runtime's implementation of <see cref="Array.Clear(Array, int, int)"/>, helping performance, 67/// <see cref="Stack{T}.Clear"/> and <see cref="Array.Clear(Array, int, int)"/> typically don't.
System.Collections.NonGeneric (6)
System\Collections\Queue.cs (3)
110Array.Clear(_array, _head, _size); 113Array.Clear(_array, _head, _array.Length - _head); 114Array.Clear(_array, 0, _tail);
System\Collections\SortedList.cs (2)
286Array.Clear(keys, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references. 287Array.Clear(values, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
System\Collections\Stack.cs (1)
80Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
System.Formats.Asn1 (3)
src\libraries\Common\src\System\Security\Cryptography\CryptoPool.cs (1)
33Array.Clear(array, 0, clearSize);
System\Formats\Asn1\AsnDecoder.Oid.cs (1)
180Array.Clear(tmpBytes, 0, tmpBytes.Length);
System\Formats\Asn1\AsnWriter.cs (1)
94Array.Clear(_buffer, 0, _offset);
System.Formats.Cbor (1)
System\Formats\Cbor\Writer\CborWriter.cs (1)
108Array.Clear(_buffer, 0, _offset);
System.Formats.Tar (2)
System\Formats\Tar\TarHeader.Write.cs (1)
819Array.Clear(buffer, 0, paddingAfterData);
System\Formats\Tar\TarWriter.cs (1)
361Array.Clear(twoEmptyRecords, 0, TwoRecordSize);
System.Linq (1)
System\Linq\SegmentedArrayBuilder.cs (1)
79Array.Clear(currentSegment, 0, _countInCurrentSegment);
System.Linq.Expressions (1)
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
207Array.Clear(_items, 0, _size);
System.Net.Http (1)
System\Net\Http\Headers\HttpHeaders.cs (1)
1542Array.Clear(entries, 0, _count);
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (1)
216Array.Clear(_items, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
293Array.Clear(_entries, 0, count);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
209Array.Clear(_entries, 0, count);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (3)
329Array.Clear(_items, 0, size); // Clear the elements so that the gc can reclaim the references. 990Array.Clear(_items, freeIndex, _size - freeIndex); // Clear the elements so that the gc can reclaim the references. 1046Array.Clear(_items, _size, count);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (3)
76Array.Clear(_array, _head, _size); 80Array.Clear(_array, _head, _array.Length - _head); 81Array.Clear(_array, 0, _tail);
src\libraries\System.Private.CoreLib\src\System\IO\MemoryStream.cs (4)
562Array.Clear(_buffer, _length, newLength - _length); 602Array.Clear(_buffer, _length, i - _length); 653Array.Clear(_buffer, _length, i - _length); 735Array.Clear(_buffer, _length, _position - _length);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CollectionsMarshal.cs (1)
132Array.Clear(list._items, count, list._size - count);
System.Private.Xml (2)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
1962Array.Clear(_symbolTables.symtable, 1, _symbolTables.symtable.Length - 1); 2736Array.Clear(_attrHashTbl, 0, tblSize);
System.Security.Cryptography (7)
System\Security\Cryptography\DSA.cs (1)
909Array.Clear(array, 0, data.Length);
System\Security\Cryptography\ECDsa.cs (2)
1032Array.Clear(array, 0, data.Length); 1229Array.Clear(array, 0, data.Length);
System\Security\Cryptography\HashAlgorithm.cs (1)
257Array.Clear(array, 0, source.Length);
System\Security\Cryptography\RandomNumberGenerator.cs (2)
67Array.Clear(array, 0, data.Length); 93Array.Clear(array, 0, data.Length);
System\Security\Cryptography\RSA.cs (1)
326Array.Clear(array, 0, data.Length);
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
77Array.Clear(cek, 0, cek.Length);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
48Array.Clear(cek, 0, cek.Length);
System.Threading.Tasks.Dataflow (2)
Blocks\BatchBlock.cs (2)
800Array.Clear(postponedTemp, 0, postponedTemp.Length); // clear out the temp array so as not to hold onto messages too long 914Array.Clear(postponedTemp, 0, postponedTemp.Length); // clear out the temp array so as not to hold onto messages too long
System.Windows.Forms (1)
System\Windows\Forms\StringSource.cs (1)
68Array.Clear(_strings, 0, _size);
Templates.Blazor.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Templates.Blazor.WebAssembly.Auth.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Templates.Blazor.WebAssembly.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Templates.Mvc.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
Templates.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
555Array.Clear(keyBytes, 0, keyBytes.Length); 556Array.Clear(pem, 0, pem.Length); 562Array.Clear(keyBytes, 0, keyBytes.Length); 563Array.Clear(pem, 0, pem.Length); 613Array.Clear(bytes, 0, bytes.Length); 641Array.Clear(pemEnvelope, 0, pemEnvelope.Length);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
157Array.Clear(export, 0, export.Length);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
61Array.Clear(export, 0, export.Length);
WinFormsControlsTest (1)
FormOwnerTestForm.cs (1)
62Array.Clear(_array, 0, _array.Length);