114 references to Clear
mscorlib (59)
system\array.cs (1)
722Array.Clear(this, this.GetLowerBound(0), this.Length);
system\collections\arraylist.cs (1)
270Array.Clear(_items, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
system\collections\bitarray.cs (1)
346Array.Clear(m_array, last + 1, newints - last - 1);
system\collections\generic\dictionary.cs (1)
219Array.Clear(entries, 0, count);
system\collections\generic\list.cs (3)
306Array.Clear(_items, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references. 867Array.Clear(_items, freeIndex, _size - freeIndex); 911Array.Clear(_items, _size, count);
system\collections\queue.cs (3)
121Array.Clear(_array, _head, _size); 123Array.Clear(_array, _head, _array.Length - _head); 124Array.Clear(_array, 0, _tail);
system\collections\sortedlist.cs (2)
282Array.Clear(keys, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references. 283Array.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)
93Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
system\io\memorystream.cs (3)
544Array.Clear(_buffer, _length, newLength - _length); 584Array.Clear(_buffer, _length, i - _length); 647Array.Clear(_buffer, _length, _position - _length);
system\security\cryptography\base64transforms.cs (1)
264Array.Clear(_inputBuffer, 0, _inputBuffer.Length);
system\security\cryptography\cryptoapitransform.cs (3)
135Array.Clear(_rgbKey,0,_rgbKey.Length); 139Array.Clear(IVValue,0,IVValue.Length); 143Array.Clear(_depadBuffer, 0, _depadBuffer.Length);
system\security\cryptography\cryptostream.cs (8)
145Array.Clear(_InputBuffer, 0, _InputBuffer.Length); 147Array.Clear(_OutputBuffer, 0, _OutputBuffer.Length); 251Array.Clear(tempInputBuffer, 0, tempInputBuffer.Length); 252Array.Clear(tempOutputBuffer, 0, tempOutputBuffer.Length); 427Array.Clear(tempInputBuffer, 0, tempInputBuffer.Length); 428Array.Clear(tempOutputBuffer, 0, tempOutputBuffer.Length); 719Array.Clear(_InputBuffer, 0, _InputBuffer.Length); 721Array.Clear(_OutputBuffer, 0, _OutputBuffer.Length);
system\security\cryptography\hashalgorithm.cs (1)
212Array.Clear(HashValue, 0, HashValue.Length);
system\security\cryptography\hmac.cs (2)
170Array.Clear(m_inner, 0, m_inner.Length); 172Array.Clear(m_outer, 0, m_outer.Length);
system\security\cryptography\keyedhashalgorithm.cs (1)
25Array.Clear(KeyValue, 0, KeyValue.Length);
system\security\cryptography\mactripledes.cs (1)
164Array.Clear(_Buffer, 0, _Buffer.Length);
system\security\cryptography\passwordderivebytes.cs (4)
195Array.Clear(_baseValue, 0, _baseValue.Length); 198Array.Clear(_extra, 0, _extra.Length); 201Array.Clear(_password, 0, _password.Length); 204Array.Clear(_salt, 0, _salt.Length);
system\security\cryptography\rfc2898derivebytes.cs (3)
207Array.Clear(m_buffer, 0, m_buffer.Length); 210Array.Clear(m_salt, 0, m_salt.Length); 217Array.Clear(m_buffer, 0, m_buffer.Length);
system\security\cryptography\rijndaelmanagedtransform.cs (6)
177Array.Clear(m_IV, 0, m_IV.Length); 181Array.Clear(m_lastBlockBuffer, 0, m_lastBlockBuffer.Length); 185Array.Clear(m_encryptKeyExpansion, 0, m_encryptKeyExpansion.Length); 189Array.Clear(m_decryptKeyExpansion, 0, m_decryptKeyExpansion.Length); 193Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length); 197Array.Clear(m_shiftRegister, 0, m_shiftRegister.Length);
system\security\cryptography\ripemd160managed.cs (2)
59Array.Clear(_blockDWords, 0, _blockDWords.Length); 60Array.Clear(_buffer, 0, _buffer.Length);
system\security\cryptography\sha1managed.cs (2)
69Array.Clear(_buffer, 0, _buffer.Length); 70Array.Clear(_expandedBuffer, 0, _expandedBuffer.Length);
system\security\cryptography\sha256managed.cs (2)
71Array.Clear(_buffer, 0, _buffer.Length); 72Array.Clear(_W, 0, _W.Length);
system\security\cryptography\sha384managed.cs (2)
68Array.Clear(_buffer, 0, _buffer.Length); 69Array.Clear(_W, 0, _W.Length);
system\security\cryptography\sha512managed.cs (2)
60Array.Clear(_buffer, 0, _buffer.Length); 61Array.Clear(_W, 0, _W.Length);
system\security\cryptography\symmetricalgorithm.cs (2)
63Array.Clear(KeyValue, 0, KeyValue.Length); 67Array.Clear(IVValue, 0, IVValue.Length);
system\security\cryptography\utils.cs (1)
686Array.Clear(counter, 0, counter.Length);
PresentationCore (2)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
462Array.Clear(glyphBits, 0, glyphBitsLength);
Core\CSharp\MS\Internal\Shaping\OpenTypeLayout.cs (1)
1301Array.Clear(_lookupUsageFlags, 0, requiredLookupUsageArraySize);
PresentationFramework (6)
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
869Array.Clear(nulls, 0, nulls.Length);
src\Framework\System\Windows\Controls\Grid.cs (3)
458Array.Clear(_definitionIndices, 0, _definitionIndices.Length); 466Array.Clear(_roundingErrors, 0, _roundingErrors.Length); 2936Array.Clear(extData.TempDefinitions, 0, Math.Max(DefinitionsU.Length, DefinitionsV.Length));
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
612Array.Clear(_tempTypes, 0, _tempTypes.Length); 1267Array.Clear(_tempValues, 0, _tempValues.Length);
System (6)
compmod\system\collections\generic\queue.cs (3)
113Array.Clear(_array, _head, _size); 115Array.Clear(_array, _head, _array.Length - _head); 116Array.Clear(_array, 0, _tail);
compmod\system\collections\generic\sortedlist.cs (2)
376Array.Clear(keys, 0, _size); 377Array.Clear(values, 0, _size);
compmod\system\collections\generic\stack.cs (1)
113Array.Clear(_array, 0, _size); // Don't need to doc this but we clear the elements so that the gc can reclaim the references.
System.Activities.Presentation (1)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
812Array.Clear(viewStateDataSourceLocation, 0, viewStateDataSourceLocation.Length);
System.Core (8)
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
206Array.Clear(_items, 0, _size);
System\Collections\Generic\HashSet.cs (2)
245Array.Clear(m_slots, 0, m_lastIndex); 246Array.Clear(m_buckets, 0, m_buckets.Length);
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (3)
99Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length); 133Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length); 465Array.Clear(m_depadBuffer, 0, m_depadBuffer.Length);
System\Security\Cryptography\NCryptNative.cs (1)
588Array.Clear(clear, 0, clear.Length);
System\Security\Cryptography\X509Certificates\X509Native.cs (1)
476Array.Clear(_data, 0, _data.Length);
System.Data (4)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (1)
812Array.Clear(viewStateDataSourceLocation, 0, viewStateDataSourceLocation.Length);
fx\src\data\System\Data\Sql\SqlMetaData.cs (3)
908Array.Clear(rgbNewValue, rgbValue.Length, rgbNewValue.Length - rgbValue.Length); 1000Array.Clear(rgbTemp, oldLength, rgbTemp.Length - oldLength); 1335Array.Clear(rgbNewValue, value.Length, (int) rgbNewValue.Length - value.Length);
System.IdentityModel (6)
System\IdentityModel\CryptoHelper.cs (3)
146Array.Clear( key, 0, key.Length ); 153Array.Clear( result, 0, result.Length ); 156Array.Clear( b, 0, b.Length );
System\IdentityModel\RijndaelCryptoServiceProvider.cs (3)
296Array.Clear(tempBuffer, tempOffset, inputCount); 353Array.Clear(tempBuffer, tempOffset, dwCount); 369Array.Clear(buffer, 0, buffer.Length);
System.IdentityModel.Selectors (3)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (3)
164Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length); 219Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length); 232Array.Clear(m_cachedBlock, 0, m_cachedBlock.Length);
System.Numerics (3)
System\Numerics\BigIntegerBuilder.cs (3)
279Array.Clear(_rgu, 0, cu); 307Array.Clear(_rgu, _iuLast + 1, cu - _iuLast - 1); 1011Array.Clear(_rgu, 0, cuShift);
System.Runtime.Serialization (2)
System\Xml\XmlBinaryReaderSession.cs (1)
124Array.Clear(strings, 0, strings.Length);
System\Xml\XmlBinaryWriterSession.cs (1)
119Array.Clear(list, 0, list.Length);
System.Security (1)
system\security\cryptography\pkcs\pkcsmisc.cs (1)
401Array.Clear(parameters, sizeof(uint), (int)(parameters.Length - blob.cbData - sizeof(uint)));
System.ServiceModel (4)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
83Array.Clear(buffer, 0, buffer.Length);
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
180Array.Clear(this.resultData, 0, this.resultData.Length);
System\ServiceModel\Dispatcher\QueryProcessor.cs (1)
777Array.Clear(vars, 0, vars.Length);
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
1165Array.Clear(this.nodes, 1, this.nextFreeIndex - 1);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListBox.cs (1)
2570Array.Clear(entries, 0, count);
winforms\Managed\System\WinForms\StringSource.cs (2)
45Array.Clear(strings,0, size); 96Array.Clear(strings,0, size);
System.Xml (3)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
1726Array.Clear(this.symbolTables.symtable, 1, this.symbolTables.symtable.Length - 1); 1727Array.Clear(this.symbolTables.qnametable, 0, this.symbolTables.qnametable.Length); 2400Array.Clear(this.attrHashTbl, 0, tblSize);
WindowsBase (3)
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (1)
224Array.Clear(buffer,offset,bytesToRead);
Shared\MS\Utility\ItemList.cs (2)
173Array.Clear(List, 0, Count); 187Array.Clear(List, Count - 1, 1);