445 references to BlockCopy
mscorlib (7)
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (1)
174Buffer.BlockCopy(value, 0, this.buffer, oldPos, size);
System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs (1)
220Buffer.BlockCopy(this.custom, 0, metadata, pos, this.fixedCount);
system\security\cryptography\base64transforms.cs (2)
61Buffer.BlockCopy(tempBytes, 0, outputBuffer, outputOffset, tempBytes.Length); 183Buffer.BlockCopy(tempBytes, 0, outputBuffer, outputOffset, tempBytes.Length);
system\security\cryptography\hashalgorithm.cs (1)
152Buffer.BlockCopy(inputBuffer, inputOffset, outputBuffer, outputOffset, inputCount);
system\security\cryptography\pkcs1maskgenerationmethod.cs (2)
56Buffer.BlockCopy(_hash, 0, rgbT, ib, _hash.Length); 58Buffer.BlockCopy(_hash, 0, rgbT, ib, rgbT.Length - ib);
PresentationCore (5)
Core\CSharp\MS\Internal\Shaping\UshortList2.cs (5)
221Buffer.BlockCopy( 248Buffer.BlockCopy(_array, 0, newArray, 0, index * sizeof(ushort)); 252Buffer.BlockCopy( 267Buffer.BlockCopy( 280Buffer.BlockCopy(
SMSvcHost (6)
System\ServiceModel\Activation\DupHandleConnectionReader.cs (4)
129Buffer.BlockCopy(dataRead, 0, newDataRead, 0, dataRead.Length); 130Buffer.BlockCopy(connectionBuffer, 0, newDataRead, this.dataRead.Length, size); 161Buffer.BlockCopy(accruedData, 0, this.dataRead, 0, accruedData.Length); 170Buffer.BlockCopy(this.connectionBuffer, 0, dataRead, accruedDataOffset, offset + size);
System\ServiceModel\Activation\ListenerConnectionModeReader.cs (2)
87Buffer.BlockCopy(accruedData, 0, newAccruedData, 0, accruedData.Length); 92Buffer.BlockCopy(buffer, 0, accruedData, dataOffset, offset);
System (68)
net\System\Net\_BufferOffsetSize.cs (1)
25System.Buffer.BlockCopy(
net\System\Net\_ChunkParser.cs (3)
378Buffer.BlockCopy(buffer, currentPos, buffer, 0, count); 399Buffer.BlockCopy(buffer, 0, newBuffer, 0, buffer.Length); 469Buffer.BlockCopy(buffer, bufferCurrentPos, userBuffer, userBufferOffset, bufferedBytesToRead);
net\System\Net\_Connection.cs (3)
1340Buffer.BlockCopy(buffer, bufferOffset, buffer, 0, bufferCount); 3544Buffer.BlockCopy(m_ReadBuffer, 0, newReadBuffer, 0, m_BytesRead); 3555Buffer.BlockCopy(m_ReadBuffer, m_BytesScanned, m_ReadBuffer, 0, unparsedDataSize);
net\System\Net\_ConnectStream.cs (1)
754Buffer.BlockCopy(
net\System\Net\_NTAuthentication.cs (4)
974Buffer.BlockCopy(buffer, offset, output, 4 + sizes.SecurityTrailer, count); 1006Buffer.BlockCopy(output, securityBuffer[1].offset, output, 4 + resultSize, securityBuffer[1].size); 1011Buffer.BlockCopy(output, securityBuffer[2].offset, output, 4 + resultSize, securityBuffer[2].size); 1220Buffer.BlockCopy(buffer, offset, output, sizes.MaxSignature, count);
net\System\Net\_SafeNetHandles.cs (1)
3078Buffer.BlockCopy(oldBlob, 0, blob, 0, (int) size);
net\System\Net\_ScatterGatherBuffers.cs (1)
88Buffer.BlockCopy(
net\System\Net\_SecureChannel.cs (1)
1142Buffer.BlockCopy(buffer, offset, e_writeBuffer, m_HeaderSize, size);
net\System\Net\Cache\_SingleItemRequestCache.cs (5)
85Buffer.BlockCopy(bytes, 0, newBytes, 0, offset); 92Buffer.BlockCopy(bytes, 0, newBytes, 0, offset); 374System.Buffer.BlockCopy(_Bytes, chkOffset, buffer, offset, count); 549System.Buffer.BlockCopy(buffer, offset, chunk, 0, count); 571Buffer.BlockCopy(buffer, 0, allBytes, offset, buffer.Length);
net\System\Net\HttpWebRequest.cs (1)
5096Buffer.BlockCopy(HttpBytes, 0, WriteBuffer, offset, HttpBytes.Length);
net\System\Net\mail\BufferBuilder.cs (2)
31Buffer.BlockCopy(this.buffer, 0, newBuffer, 0, this.offset); 50Buffer.BlockCopy(value, offset, this.buffer, this.offset, count);
net\System\Net\mail\BufferedReadStream.cs (9)
65Buffer.BlockCopy(this.storedBuffer, this.storedOffset, buffer, offset, read); 86Buffer.BlockCopy(this.storedBuffer, this.storedOffset, buffer, offset, read); 145Buffer.BlockCopy(this.storedBuffer, this.storedOffset, this.storedBuffer, count, this.storedLength - this.storedOffset); 152Buffer.BlockCopy(this.storedBuffer, this.storedOffset, newBuffer, count, this.storedLength - this.storedOffset); 158Buffer.BlockCopy(buffer, offset, this.storedBuffer, this.storedOffset, count); 193Buffer.BlockCopy(this.storedBuffer, this.storedOffset, this.storedBuffer, 0, this.storedLength - this.storedOffset); 204Buffer.BlockCopy(this.storedBuffer, this.storedOffset, newBuffer, 0, this.storedLength - this.storedOffset); 212Buffer.BlockCopy(buffer, offset, this.storedBuffer, newBufferPosition, count); 230Buffer.BlockCopy(parent.storedBuffer, parent.storedOffset, buffer, offset, this.read);
net\System\Net\NetworkInformation\PhysicalAddress.cs (1)
90Buffer.BlockCopy(address,0,tmp,0,address.Length);
net\System\Net\SecureProtocols\_NegoStream.cs (2)
222Buffer.BlockCopy(InternalBuffer, InternalOffset, buffer, offset, copyBytes); 368Buffer.BlockCopy(InternalBuffer, InternalOffset, buffer, offset, readBytes);
net\System\Net\SecureProtocols\_SslState.cs (5)
521Buffer.BlockCopy(buffer, offset, _QueuedReadData, _QueuedReadCount, count); 541Buffer.BlockCopy(_QueuedReadData, 0, buffer, offset, toCopy); 549Buffer.BlockCopy(_QueuedReadData, toCopy, _QueuedReadData, 0, _QueuedReadCount); 954Buffer.BlockCopy(buffer, offset, buffer, 0, count); 1446Buffer.BlockCopy(saved, 0, buffer, 0, copyCount);
net\System\Net\SecureProtocols\_SslStream.cs (4)
289Buffer.BlockCopy(saved, 0, _InternalBuffer, 0, curOffset); 662Buffer.BlockCopy(InternalBuffer, InternalOffset, buffer, offset, copyBytes); 830Buffer.BlockCopy(InternalBuffer, data_offset, extraBuffer, 0, readBytes); 853Buffer.BlockCopy(InternalBuffer, InternalOffset, buffer, offset, readBytes);
net\System\Net\Sockets\Socket.cs (1)
2530Buffer.BlockCopy(optionValue, 0, newOptionValue, 0, realOptionLength);
net\System\Net\Sockets\UDPClient.cs (2)
725Buffer.BlockCopy(m_Buffer,0,newBuffer,0,received); 780Buffer.BlockCopy(m_Buffer,0,newBuffer,0,received);
net\System\Net\webclient.cs (1)
1185Buffer.BlockCopy(bufferOffsetSize.Buffer, 0, newbuf, newBufOffset, bufferOffsetSize.Size);
net\System\Net\WebSockets\WebSocketBase.cs (1)
2040Buffer.BlockCopy(payload.Array,
net\System\Net\WebSockets\WebSocketBuffer.cs (2)
331Buffer.BlockCopy(payload.Array, 351Buffer.BlockCopy(m_PayloadBuffer.Array,
net\System\Net\WebUtility.cs (1)
428Buffer.BlockCopy(bytes, offset, subarray, 0, count);
net\System\URI.cs (6)
4718Buffer.BlockCopy(dest, 0, dest1, 0, end<<1); 4876Buffer.BlockCopy(dest, lastSlash<<1, dest, (i+1)<<1, (destLength - lastSlash)<<1); 4904Buffer.BlockCopy(dest, dotCount<<1, dest, (i+1)<<1, (destLength - dotCount)<<1); 4927Buffer.BlockCopy(dest, lastSlash<<1, dest, (i+1)<<1, (destLength - lastSlash)<<1); 4951Buffer.BlockCopy(dest, lastSlash<<1, dest, start<<1, (destLength - lastSlash)<<1); 4960Buffer.BlockCopy(dest, dotCount<<1, dest, start<<1, (destLength - dotCount)<<1);
net\System\UriHelper.cs (1)
238Buffer.BlockCopy(dest, 0, newresult, 0, destPos<<1);
sys\system\io\ports\SerialPort.cs (9)
871Buffer.BlockCopy(inBuffer, readPos, buffer, offset, bytesReadToBuffer); 1186Buffer.BlockCopy(inBuffer, readPos, bytesReceived, 0, CachedBytesToRead); 1201Buffer.BlockCopy(bytesReceived, 0, inBuffer, 0, bytesReceived.Length); // put it all back! 1217Buffer.BlockCopy(bytesReceived, lastFullCharIndex + 1, inBuffer, 0, bytesReceived.Length - (lastFullCharIndex + 1)); 1315Buffer.BlockCopy(inBuffer, readPos, savBuffer, 0, bytesToSave); 1322Buffer.BlockCopy(readBuffer, 0, inBuffer, readLen, readBuffer.Length); 1326Buffer.BlockCopy(savBuffer, 0, inBuffer, readLen, bytesToSave); 1453Buffer.BlockCopy(inBuffer, readPos, inBuffer, 0, CachedBytesToRead); 1481Buffer.BlockCopy(inBuffer, readPos, newBuffer, 0, CachedBytesToRead);
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (1)
202Buffer.BlockCopy(source.Array, 0, destination, 0, source.Count);
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
36Buffer.BlockCopy(correlationKey.BinaryData.Array, 0, concatenatedBlob, Convert.ToInt32(insertLocation), Convert.ToInt32(correlationKey.BinaryData.Count));
System.Core (38)
System\IO\BufferedStream2.cs (1)
152Buffer.BlockCopy(array, offset, _buffer, oldPos, count);
System\Security\Cryptography\BCryptNative.cs (1)
649Buffer.BlockCopy(key, 0, blob, sizeof(BCRYPT_KEY_DATA_BLOB_HEADER), keySize);
System\Security\Cryptography\CapiNative.cs (3)
590Buffer.BlockCopy(keyBlob, keyDataOffset, keyData, 0, keyData.Length); 630Buffer.BlockCopy(parameterValue, 0, realValue, 0, parameterSize); 748Buffer.BlockCopy(key, 0, keyBlob, Marshal.SizeOf(typeof(BLOBHEADER)) + Marshal.SizeOf(typeof(int)), key.Length);
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (14)
132Buffer.BlockCopy(m_depadBuffer, 0, outputBuffer, outputOffset, depadDecryptLength); 143Buffer.BlockCopy(inputBuffer, 155Buffer.BlockCopy(inputBuffer, inputOffset, outputBuffer, outputOffset, inputCount); 234Buffer.BlockCopy(block, offset, depadded, 0, depadded.Length); 294Buffer.BlockCopy(block, 0, result, 0, count); 306Buffer.BlockCopy(block, 0, result, 0, count); 317Buffer.BlockCopy(block, offset, result, 0, result.Length); 326Buffer.BlockCopy(block, offset, result, 0, count); 343Buffer.BlockCopy(block, offset, result, 0, count); 373Buffer.BlockCopy(iv, 0, realIV, 0, realIV.Length); 502Buffer.BlockCopy(inputBuffer, inputOffset, outputBuffer, outputOffset, inputCount); 554Buffer.BlockCopy(inputBuffer, inputOffset, ciphertext, 0, inputCount); 558Buffer.BlockCopy(m_depadBuffer, 0, ciphertext, 0, m_depadBuffer.Length); 559Buffer.BlockCopy(inputBuffer, inputOffset, ciphertext, m_depadBuffer.Length, inputCount);
System\Security\Cryptography\NCryptNative.cs (5)
963Buffer.BlockCopy(BitConverter.GetBytes((int)algorithmMagic), 0, blob, 0, sizeof(int)); 964Buffer.BlockCopy(BitConverter.GetBytes(xBytes.Length), 0, blob, sizeof(int), sizeof(int)); 965Buffer.BlockCopy(xBytes, 0, blob, 2 * sizeof(int), xBytes.Length); 966Buffer.BlockCopy(yBytes, 0, blob, 2 * sizeof(int) + xBytes.Length, yBytes.Length); 1322Buffer.BlockCopy(key, 0, fullKey, 0, Math.Min(key.Length, fullKey.Length));
System\Security\Cryptography\Rfc4050KeyFormatter.cs (2)
330Buffer.BlockCopy(providedX, 0, xBytes, xSize - providedX.Length, providedX.Length); 331Buffer.BlockCopy(providedY, 0, yBytes, ySize - providedY.Length, providedY.Length);
System\Security\Cryptography\RsaCng.cs (12)
259Buffer.BlockCopy(rsaBlob, offset, rsaParams.Exponent, 0, rsaParams.Exponent.Length); 264Buffer.BlockCopy(rsaBlob, offset, rsaParams.Modulus, 0, rsaParams.Modulus.Length); 271Buffer.BlockCopy(rsaBlob, offset, rsaParams.P, 0, rsaParams.P.Length); 276Buffer.BlockCopy(rsaBlob, offset, rsaParams.Q, 0, rsaParams.Q.Length); 281Buffer.BlockCopy(rsaBlob, offset, rsaParams.DP, 0, rsaParams.DP.Length); 286Buffer.BlockCopy(rsaBlob, offset, rsaParams.DQ, 0, rsaParams.DQ.Length); 291Buffer.BlockCopy(rsaBlob, offset, rsaParams.InverseQ, 0, rsaParams.InverseQ.Length); 296Buffer.BlockCopy(rsaBlob, offset, rsaParams.D, 0, rsaParams.D.Length); 372Buffer.BlockCopy(parameters.Exponent, 0, rsaBlob, offset, parameters.Exponent.Length); 376Buffer.BlockCopy(parameters.Modulus, 0, rsaBlob, offset, parameters.Modulus.Length); 382Buffer.BlockCopy(parameters.P, 0, rsaBlob, offset, parameters.P.Length); 386Buffer.BlockCopy(parameters.Q, 0, rsaBlob, offset, parameters.Q.Length);
System.Data (77)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (3)
392Buffer.BlockCopy((byte[])_object, ndataIndex, buffer, bufferOffset, length); 434Buffer.BlockCopy((byte[])_object, 0, data, 0, (int)BytesLength); 442Buffer.BlockCopy(buffer, bufferOffset, (byte[])_object, ndataIndex, length);
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
806Buffer.BlockCopy(value, srcIndex, buffer, bufferIndex, byteCount);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (2)
670Buffer.BlockCopy(tmp, 14, buffer, 2, 2); // copy sign and scale 672Buffer.BlockCopy(tmp, 0, buffer, 4, 12);
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (5)
178Buffer.BlockCopy(iv, 0, outBuffer, ivStartIndex, iv.Length); 217Buffer.BlockCopy(buffTmp, 0, outBuffer, cipherIndex, buffTmp.Length); 232Buffer.BlockCopy(hash, 0, outBuffer, hmacStartIndex, authenticationTagLen); 292Buffer.BlockCopy(cipherText, startIndex, iv, 0, iv.Length); 402Buffer.BlockCopy (computedHash, 0, authenticationTag, 0, authenticationTag.Length);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (8)
143Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, cipherText, 0, cipherText.Length); 148Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, signature, 0, signature.Length); 242Buffer.BlockCopy(version, 0, encryptedColumnEncryptionKey, currentIndex, version.Length); 246Buffer.BlockCopy(keyPathLength, 0, encryptedColumnEncryptionKey, currentIndex, keyPathLength.Length); 250Buffer.BlockCopy(cipherTextLength, 0, encryptedColumnEncryptionKey, currentIndex, cipherTextLength.Length); 254Buffer.BlockCopy(masterKeyPathBytes, 0, encryptedColumnEncryptionKey, currentIndex, masterKeyPathBytes.Length); 258Buffer.BlockCopy(cipherText, 0, encryptedColumnEncryptionKey, currentIndex, cipherText.Length); 262Buffer.BlockCopy(signedHash, 0, encryptedColumnEncryptionKey, currentIndex, signedHash.Length);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCngProvider.cs (8)
123Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, cipherText, 0, cipherText.Length); 128Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, signature, 0, signature.Length); 222Buffer.BlockCopy(version, 0, encryptedColumnEncryptionKey, currentIndex, version.Length); 226Buffer.BlockCopy(keyPathLength, 0, encryptedColumnEncryptionKey, currentIndex, keyPathLength.Length); 230Buffer.BlockCopy(cipherTextLength, 0, encryptedColumnEncryptionKey, currentIndex, cipherTextLength.Length); 234Buffer.BlockCopy(masterKeyPathBytes, 0, encryptedColumnEncryptionKey, currentIndex, masterKeyPathBytes.Length); 238Buffer.BlockCopy(cipherText, 0, encryptedColumnEncryptionKey, currentIndex, cipherText.Length); 242Buffer.BlockCopy(signedHash, 0, encryptedColumnEncryptionKey, currentIndex, signedHash.Length);
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCspProvider.cs (8)
129Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, cipherText, 0, cipherText.Length); 134Buffer.BlockCopy(encryptedColumnEncryptionKey, currentIndex, signature, 0, signature.Length); 228Buffer.BlockCopy(version, 0, encryptedColumnEncryptionKey, currentIndex, version.Length); 232Buffer.BlockCopy(keyPathLength, 0, encryptedColumnEncryptionKey, currentIndex, keyPathLength.Length); 236Buffer.BlockCopy(cipherTextLength, 0, encryptedColumnEncryptionKey, currentIndex, cipherTextLength.Length); 240Buffer.BlockCopy(masterKeyPathBytes, 0, encryptedColumnEncryptionKey, currentIndex, masterKeyPathBytes.Length); 244Buffer.BlockCopy(cipherText, 0, encryptedColumnEncryptionKey, currentIndex, cipherText.Length); 248Buffer.BlockCopy(signedHash, 0, encryptedColumnEncryptionKey, currentIndex, signedHash.Length);
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (2)
165Buffer.BlockCopy(byteValues, offset, copy, 0, copy.Length); 179Buffer.BlockCopy(charValues, offset, copy, 0, copy.Length*2);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2519Buffer.BlockCopy(data, i, stateData, 0, len); i += len;
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
40Buffer.BlockCopy (computedHash, 0, hash, 0, hash.Length);
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
530Buffer.BlockCopy(bytes, byteIndex, chars, charIndex * 2, bytesUsed);
fx\src\data\System\Data\SqlClient\TdsParser.cs (30)
827Buffer.BlockCopy(connectionIdBytes, 0, payload, payloadLength, GUID_SIZE); 834Buffer.BlockCopy(connectionIdBytes, 0, payload, payloadLength, GUID_SIZE); 5187Buffer.BlockCopy(unencryptedBytes, 0, bytes, 0, unencryptedBytes.Length); 6215Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6219Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6293Buffer.BlockCopy(bytesPart, 0, bytes, current, length - 3); 6297Buffer.BlockCopy(bytesPart, 0, bytes, current, 3); 6319Buffer.BlockCopy(bytesPart, 0, bytes, current, length - 2); 6419Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6422Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6425Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6428Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6481Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6484Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6487Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 6490Buffer.BlockCopy(bytesPart, 0, bytes, current, 4); 10771Buffer.BlockCopy((byte[])value, offset, b, 0, actualLength); 10811Buffer.BlockCopy((byte[])value, 0, b, 0, actualLength); 10827Buffer.BlockCopy((byte[])value, 0, b, 0, actualLength); 10856Buffer.BlockCopy(bPart, 0, b, current, 2); 10860Buffer.BlockCopy(bPart, 0, b, current, 2); 10872Buffer.BlockCopy(bPart, 0, b, current, 4); 10876Buffer.BlockCopy(bPart, 0, b, current, 4); 10940Buffer.BlockCopy(((SqlBinary)value).Value, offset, b, 0, actualLength); 10944Buffer.BlockCopy(((SqlBytes)value).Value, offset, b, 0, actualLength); 11027Buffer.BlockCopy(bPart, 0, b, current, 2); 11031Buffer.BlockCopy(bPart, 0, b, current, 2); 11044Buffer.BlockCopy(bPart, 0, b, current, 4); 11048Buffer.BlockCopy(bPart, 0, b, current, 4); 11200Buffer.BlockCopy(buff, 0, newbuf, 0, offst*2);
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
1019Buffer.BlockCopy(_cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion, 0, serializedWireFormat, consumedBytes, _cipherMetadata.EncryptionKeyInfo.Value.cekMdVersion.Length);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (6)
988Buffer.BlockCopy(_inBuff, _inBytesUsed, _partialHeaderBuffer, _partialHeaderBytesRead, copy); 1148Buffer.BlockCopy(temp, _inBytesUsed, _inBuff, 0, remainingData); 1235Buffer.BlockCopy(_inBuff, _inBytesUsed, buff, offset + totalRead, bytesToRead); 1799Buffer.BlockCopy(buff, 0, newbuf, 0, offst); 2753Buffer.BlockCopy(b, offset, _outBuff, _outBytesUsed, remainder); 2778Buffer.BlockCopy(b, offset, _outBuff, _outBytesUsed, len);
System.Data.Entity (2)
System\Data\Common\Internal\Materialization\RecordState.cs (2)
156Buffer.BlockCopy(byteValue, sourceOffset, buffer, bufferOffset, byteCount); 189Buffer.BlockCopy(charValue, sourceOffset * System.Text.UnicodeEncoding.CharSize,
System.Data.Services (6)
parent\Client\System\Data\Services\Client\BatchStream.cs (4)
854Buffer.BlockCopy(buffer, 0, tmp, 0, oldSize); 857Buffer.BlockCopy(this.byteBuffer, this.bytePosition, tmp, oldSize, count); 1225Buffer.BlockCopy(data, this.bytePosition, data, 0, this.byteLength); 1277Buffer.BlockCopy(this.byteBuffer, this.bytePosition, buffer, offset, size);
System\Data\Services\Serializers\Deserializer.cs (2)
1066Buffer.BlockCopy(byteData[i], 0, data, i * 4000, 4000); 1070Buffer.BlockCopy(byteData[byteData.Count - 1], 0, data, (byteData.Count - 1) * 4000, result);
System.Data.Services.Client (4)
System\Data\Services\Client\BatchStream.cs (4)
854Buffer.BlockCopy(buffer, 0, tmp, 0, oldSize); 857Buffer.BlockCopy(this.byteBuffer, this.bytePosition, tmp, oldSize, count); 1225Buffer.BlockCopy(data, this.bytePosition, data, 0, this.byteLength); 1277Buffer.BlockCopy(this.byteBuffer, this.bytePosition, buffer, offset, size);
System.IdentityModel (21)
System\IdentityModel\CipherDataElement.cs (2)
22Buffer.BlockCopy( _iv, 0, buffer, 0, _iv.Length ); 23Buffer.BlockCopy( _cipherText, 0, buffer, _iv.Length, _cipherText.Length );
System\IdentityModel\EncryptedDataElement.cs (1)
80Buffer.BlockCopy( cipherText, offset, iv, 0, iv.Length );
System\IdentityModel\RijndaelCryptoServiceProvider.cs (10)
88Buffer.BlockCopy(rgbKey, 0, pbData, PLAINTEXTKEYBLOBHEADER.SizeOf, rgbKey.Length); 202Buffer.BlockCopy(inputBuffer, inputOffset + inputToProcess, this.depadBuffer, 0, this.blockSize); 211Buffer.BlockCopy(inputBuffer, inputOffset + inputToProcess, this.depadBuffer, 0, this.blockSize); 280Buffer.BlockCopy(inputBuffer, inputOffset, tempBuffer, tempOffset, inputCount); 303Buffer.BlockCopy(tempBuffer, tempOffset, outputBuffer, outputOffset, dwCount); 314Buffer.BlockCopy(inputBuffer, inputOffset, outputBuffer, outputOffset, inputCount); 346Buffer.BlockCopy(padBytes, 0, tempBuffer, tempOffset + dwCount, padSize); 351Buffer.BlockCopy(tempBuffer, tempOffset, ret, 0, dwCount); 352Buffer.BlockCopy(padBytes, 0, ret, dwCount, padSize); 367Buffer.BlockCopy(buffer, 0, tempBuffer, 0, len);
System\IdentityModel\SecurityUtils.cs (3)
91Buffer.BlockCopy(buffer, offset, copy, 0, len); 495Buffer.BlockCopy(buffers[i], 0, buffer, offset, buffers[i].Length); 498Buffer.BlockCopy(buffers[bufferCount - 1], 0, buffer, offset, totalRead - offset);
System\IdentityModel\Tokens\DEREncoding.cs (2)
141System.Buffer.BlockCopy(mech, 0, buffer, offset, mech.Length); 145System.Buffer.BlockCopy(type, 0, buffer, offset, type.Length);
System\IdentityModel\Tokens\SymmetricKey.cs (2)
36Buffer.BlockCopy(symmetricKey, 0, this.symmetricKey, 0, symmetricKey.Length); 92Buffer.BlockCopy(this.symmetricKey, 0, local, 0, this.symmetricKey.Length);
System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (1)
75Buffer.BlockCopy(key, 0, this.key, 0, key.Length);
System.Runtime.Remoting (3)
channels\core\chunkedmemorystream.cs (2)
238Buffer.BlockCopy(chunkBuffer, _readOffset, buffer, offset, readCount); 317Buffer.BlockCopy(buffer, offset, chunkBuffer, _writeOffset, copyCount);
channels\core\streamhelper.cs (1)
73Buffer.BlockCopy(source, srcOffset, dest, destOffset, count);
System.Runtime.Serialization (34)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
236Buffer.BlockCopy(bytes, byteOffset, buffer, offset, count);
System\Xml\EncodingStreamWrapper.cs (1)
645Buffer.BlockCopy(bytes, byteOffset, buffer, offset, count);
System\Xml\ValueHandle.cs (1)
459Buffer.BlockCopy(buffer, 0, newBuffer, 0, actualLength);
System\Xml\XmlBaseWriter.cs (3)
1362Buffer.BlockCopy(buffer, offset, trailBytes, trailByteCount, count); 1452Buffer.BlockCopy(buffer, this.offset, writer.trailBytes, writer.trailByteCount, this.count); 2539Buffer.BlockCopy(this.buffer, this.offset, this.writer.trailBytes, this.writer.trailByteCount, this.count);
System\Xml\XmlBinaryWriter.cs (1)
862Buffer.BlockCopy(guid.ToByteArray(), 0, buffer, offset + 1, 16);
System\Xml\XmlBufferReader.cs (7)
223System.Buffer.BlockCopy(this.buffer, 0, newBuffer, 0, offsetMax); 258System.Buffer.BlockCopy(this.buffer, 0, newBuffer, 0, this.offsetMax); 262System.Buffer.BlockCopy(this.buffer, this.offset, this.buffer, this.offset + count, this.offsetMax - this.offset); 264System.Buffer.BlockCopy(buffer, offset, this.buffer, this.offset, count); 279System.Buffer.BlockCopy(buffer, offset, buffer, windowOffset, offsetMax - offset); 1167System.Buffer.BlockCopy(buffer, offset, guid, 0, guid.Length); 1173System.Buffer.BlockCopy(this.buffer, srcOffset, buffer, dstOffset, count);
System\Xml\XmlC14NWriter.cs (3)
367Buffer.BlockCopy(xmlnsBuffer, 0, newBuffer, 0, xmlnsOffset); 426Buffer.BlockCopy(prefixBuffer, prefixOffset, xmlnsBuffer, xmlnsOffset, prefixLength); 430Buffer.BlockCopy(nsBuffer, nsOffset, xmlnsBuffer, xmlnsOffset, nsLength);
System\Xml\XmlConverter.cs (2)
909Buffer.BlockCopy(chars, offset + MaxInt32Chars - count, chars, offset, count); 943Buffer.BlockCopy(chars, offset + MaxInt64Chars - count, chars, offset, count);
System\Xml\XmlDictionaryReader.cs (2)
570Buffer.BlockCopy(buffers[i], 0, buffer, offset, buffers[i].Length); 573Buffer.BlockCopy(buffers[bufferCount - 1], 0, buffer, offset, totalRead - offset);
System\Xml\XmlMtomReader.cs (7)
1175Buffer.BlockCopy(this.valueBuffer, this.valueOffset, buffer, offset, count); 1220Buffer.BlockCopy(this.valueBuffer, this.valueOffset, buffer, offset, count); 1350Buffer.BlockCopy(this.valueBuffer, this.valueOffset, this.valueBuffer, 0, this.valueCount); 2909Buffer.BlockCopy(this.storedBuffer, this.storedOffset, buffer, offset, read); 2958Buffer.BlockCopy(this.storedBuffer, this.storedOffset, this.storedBuffer, count, this.storedLength - this.storedOffset); 2965Buffer.BlockCopy(this.storedBuffer, this.storedOffset, newBuffer, count, this.storedLength - this.storedOffset); 2971Buffer.BlockCopy(buffer, offset, this.storedBuffer, this.storedOffset, count);
System\Xml\XmlMtomWriter.cs (3)
1174Buffer.BlockCopy(buffer, 0, newBuffer, 0, offset); 1205Buffer.BlockCopy(value, index, buffer, offset, count); 1288Buffer.BlockCopy(buffer, offset, this.chunk, 0, count);
System\Xml\XmlStreamNodeWriter.cs (3)
354Buffer.BlockCopy(byteBuffer, byteOffset, buffer, offset, byteCount); 442Buffer.BlockCopy(this.byteBuffer, this.byteOffset, buffer, offset, this.byteCount); 538Buffer.BlockCopy(chars, charOffset, buffer, offset, charCount);
System.Security (26)
system\security\cryptography\xml\encryptedxml.cs (3)
329Buffer.BlockCopy(cipherValue, 0, IV, 0, IV.Length); 679Buffer.BlockCopy(IV, 0, output, 0, IV.Length); 680Buffer.BlockCopy(cipher, 0, output, IV.Length, cipher.Length);
system\security\cryptography\xml\signedxml.cs (1)
438Buffer.BlockCopy(hashValue, 0, m_signature.SignatureValue, 0, signatureLength / 8);
system\security\cryptography\xml\symmetrickeywrap.cs (22)
51Buffer.BlockCopy(rgbWrappedKeyData, 0, rgbWKCKS, 0, rgbWrappedKeyData.Length); 52Buffer.BlockCopy(rgbCKS, 0, rgbWKCKS, rgbWrappedKeyData.Length, 8); 55Buffer.BlockCopy(rgbIV, 0, temp2, 0, rgbIV.Length); 56Buffer.BlockCopy(temp1, 0, temp2, rgbIV.Length, temp1.Length); 80Buffer.BlockCopy(temp2, 0, rgbIV, 0, 8); 82Buffer.BlockCopy(temp2, 8, temp1, 0, temp1.Length); 89Buffer.BlockCopy(rgbWKCKS, 0, rgbWrappedKeyData, 0, rgbWrappedKeyData.Length); 117Buffer.BlockCopy(s_rgbAES_KW_IV, 0, temp, 0, s_rgbAES_KW_IV.Length); 118Buffer.BlockCopy(rgbWrappedKeyData, 0, temp, s_rgbAES_KW_IV.Length, rgbWrappedKeyData.Length); 125Buffer.BlockCopy(rgbWrappedKeyData, 0, rgbOutput, 8, rgbWrappedKeyData.Length); 128Buffer.BlockCopy(s_rgbAES_KW_IV, 0, rgbA, 0, 8); 132Buffer.BlockCopy(rgbA, 0, rgbBlock, 0, 8); 133Buffer.BlockCopy(rgbOutput, 8 * i, rgbBlock, 8, 8); 139Buffer.BlockCopy(rgbB, 8, rgbOutput, 8 * i, 8); 143Buffer.BlockCopy(rgbA, 0, rgbOutput, 0, 8); 172Buffer.BlockCopy(temp, 8, rgbOutput, 0, 8); 178Buffer.BlockCopy(rgbEncryptedWrappedKeyData, 8, rgbOutput, 0, rgbOutput.Length); 181Buffer.BlockCopy(rgbEncryptedWrappedKeyData, 0, rgbA, 0, 8); 189Buffer.BlockCopy(rgbA, 0, rgbBlock, 0, 8); 190Buffer.BlockCopy(rgbOutput, 8 * (i - 1), rgbBlock, 8, 8); 192Buffer.BlockCopy(rgbB, 8, rgbOutput, 8 * (i - 1), 8); 193Buffer.BlockCopy(rgbB, 0, rgbA, 0, 8);
System.ServiceModel (68)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (3)
507Buffer.BlockCopy(buffer, messageData.Offset, newBuffer, messageData.Offset, messageData.Count); 512Buffer.BlockCopy(buffer, messageData.Offset, buffer, messageData.Offset + dictionarySize, messageData.Count); 1555Buffer.BlockCopy(bodyFragment, 0, buffer, offset, bodyFragment.Length);
System\ServiceModel\Channels\BufferedConnection.cs (2)
166Buffer.BlockCopy(buffer, offset, writeBuffer, pendingWriteSize, size); 222Buffer.BlockCopy(buffer, offset, writeBuffer, pendingWriteSize, copySize);
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
807Buffer.BlockCopy(buffer, offset, this.bytes, this.position, count);
System\ServiceModel\Channels\Connection.cs (5)
194Buffer.BlockCopy(tempBuffer, this.preReadOffset, this.preReadData, 0, this.preReadCount); 195Buffer.BlockCopy(initialData, initialOffset, this.preReadData, this.preReadCount, initialSize); 214Buffer.BlockCopy(this.preReadData, this.preReadOffset, buffer, offset, bytesToCopy); 230Buffer.BlockCopy(this.preReadData, this.preReadOffset, AsyncReadBuffer, offset, bytesToCopy); 512Buffer.BlockCopy(connection.AsyncReadBuffer, 0, buffer, offset, bytesRead);
System\ServiceModel\Channels\FramingChannels.cs (2)
217Buffer.BlockCopy(ClientDuplexEncoder.ModeBytes, 0, startBytes, 0, ClientDuplexEncoder.ModeBytes.Length); 221Buffer.BlockCopy(ClientDuplexEncoder.PreambleEndBytes, 0, startBytes, preambleEndOffset, ClientDuplexEncoder.PreambleEndBytes.Length);
System\ServiceModel\Channels\FramingDecoders.cs (1)
155Buffer.BlockCopy(buffer, offset, encodedBytes, encodedSize - bytesNeeded, bytesConsumed);
System\ServiceModel\Channels\FramingEncoders.cs (6)
213Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length); 214Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length); 347Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length); 348Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length); 383Buffer.BlockCopy(via.EncodedBytes, 0, buffer, offset, via.EncodedBytes.Length); 384Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentType.EncodedBytes.Length);
System\ServiceModel\Channels\MessageEncoder.cs (1)
77Buffer.BlockCopy(buffer, 0, temp, 0, offset);
System\ServiceModel\Channels\MsmqDecodeHelper.cs (2)
124Buffer.BlockCopy(incoming, offset, envelopeBuffer, 0, size); 337Buffer.BlockCopy(buffer, offset, envelopeBuffer, 0, size);
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
250Buffer.BlockCopy(messageId.Buffer, 4, buffer, 0, 16);
System\ServiceModel\Channels\MsmqOutputChannel.cs (3)
30Buffer.BlockCopy(modeBytes, 0, this.preamble, 0, modeBytes.Length); 145Buffer.BlockCopy(preamble, 0, messageData.Array, messageData.Offset - preamble.Length, preamble.Length); 162Buffer.BlockCopy(buffer, offset, msmqMessage.Body.Buffer, 0, size);
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (3)
60Buffer.BlockCopy(buffer.Array, buffer.Offset, sessionGramBuffer, sessionGramOffset, buffer.Count); 234Buffer.BlockCopy(ClientSimplexEncoder.ModeBytes, 0, startBytes, 0, ClientSimplexEncoder.ModeBytes.Length); 236Buffer.BlockCopy(ClientSimplexEncoder.PreambleEndBytes, 0, startBytes, startSize - ClientSimplexEncoder.PreambleEndBytes.Length, ClientSimplexEncoder.PreambleEndBytes.Length);
System\ServiceModel\Channels\NativeMsmqMessage.cs (2)
320System.Buffer.BlockCopy(buffer, 0, this.Buffer, 0, buffer.Length); 383System.Buffer.BlockCopy(this.buffer, 0, buffer, 0, length);
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
1020System.Buffer.BlockCopy(buffer, offset, EnvelopeBuffer, EnvelopeOffset, bytesRead); 1570System.Buffer.BlockCopy(buffer, offset, EnvelopeBuffer, EnvelopeOffset, bytesRead);
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
1194Buffer.BlockCopy(connection.AsyncReadBuffer, offset, buffer, offset, size); 1228Buffer.BlockCopy(buffer, offset, initialData, 0, size); 1434Buffer.BlockCopy(buffer, offset, this.chunkBuffer, 0, size); 1490Buffer.BlockCopy(this.chunkBuffer, this.chunkBufferOffset, buffer, offset, bytesToCopy); 1643Buffer.BlockCopy(envelopeStartBytes, 0, messageData.Array, messageData.Offset - envelopeStartBytes.Length, 1791Buffer.BlockCopy(envelopeStartBytes, 0, messageData.Array, messageData.Offset - envelopeStartBytes.Length,
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
67Buffer.BlockCopy(ClientSingletonEncoder.ModeBytes, 0, startBytes, 0, ClientSingletonEncoder.ModeBytes.Length); 71Buffer.BlockCopy(ClientSingletonEncoder.PreambleEndBytes, 0, startBytes, preambleEndOffset, ClientSingletonEncoder.PreambleEndBytes.Length);
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (3)
685Buffer.BlockCopy(internalBuffer, 0, newBuffer, 0, receivedByteCount); 711Buffer.BlockCopy(internalBuffer, 0, buffer, 0, receivedByteCount); 1448Buffer.BlockCopy(this.initialReadBuffer.Array, this.initialReadBuffer.Offset, buffer, offset, bytesToCopy);
System\ServiceModel\Security\CryptoHelper.cs (3)
152Buffer.BlockCopy(cipherText, offset, iv, 0, iv.Length); 235Buffer.BlockCopy(iv, 0, output, 0, iv.Length); 236Buffer.BlockCopy(cipherText, 0, output, iv.Length, cipherText.Length);
System\ServiceModel\Security\DataProtectionSecurityStateEncoder.cs (2)
35Buffer.BlockCopy(entropy, 0, this.entropy, 0, entropy.Length); 53Buffer.BlockCopy(this.entropy, 0, result, 0, this.entropy.Length);
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
570Buffer.BlockCopy(authenticator, 0, this.authenticator, 0, authenticator.Length); 584Buffer.BlockCopy(this.authenticator, 0, result, 0, this.authenticator.Length);
System\ServiceModel\Security\SecurityUtils.cs (3)
709Buffer.BlockCopy(buffers[i], 0, buffer, offset, buffers[i].Length); 712Buffer.BlockCopy(buffers[bufferCount - 1], 0, buffer, offset, totalRead - offset); 2135Buffer.BlockCopy(buffer, 0, copy, 0, buffer.Length);
System\ServiceModel\Security\SecurityVerifiedMessage.cs (3)
553Buffer.BlockCopy(wrapper, 0, splicedBuffer, offset, count); 556Buffer.BlockCopy(middle, 0, splicedBuffer, offset, count); 559Buffer.BlockCopy(wrapper, openCharIndex, splicedBuffer, offset, count);
System\ServiceModel\Security\TlsSspiNegotiation.cs (4)
336Buffer.BlockCopy(encryptedContent, 0, dataBuffer, 0, encryptedContent.Length); 343Buffer.BlockCopy(dataBuffer, dataStartOffset, outputBuffer, 0, decryptedLen); 358Buffer.BlockCopy(input, 0, buffer, StreamSizes.header, input.Length); 370Buffer.BlockCopy(buffer, 0, outputBuffer, 0, encryptedSize);
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (2)
229Buffer.BlockCopy(this.key, 0, retval, 0, this.key.Length); 272Buffer.BlockCopy(key, 0, this.key, 0, key.Length);
System\ServiceModel\Security\WindowsSspiNegotiation.cs (4)
292Buffer.BlockCopy(input, 0, dataBuffer, 0, input.Length); 314Buffer.BlockCopy(tokenBuffer, 0, encryptedData, 0, tokenLen); 315Buffer.BlockCopy(dataBuffer, 0, encryptedData, tokenLen, dataBuffer.Length); 316Buffer.BlockCopy(paddingBuffer, 0, encryptedData, tokenLen + dataBuffer.Length, paddingLen);
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\XmlBufferedByteStreamReader.cs (2)
55Buffer.BlockCopy(this.bufferedMessageData.Buffer.Array, this.offset, buffer, index, bytesToCopy); 65Buffer.BlockCopy(this.bufferedMessageData.Buffer.Array, this.bufferedMessageData.Buffer.Offset, buffer, 0, bytesToCopy);
System.ServiceModel.Internals (4)
System\Runtime\BufferedOutputStream.cs (4)
232Buffer.BlockCopy(chunk, 0, buffer, offset, chunk.Length); 235Buffer.BlockCopy(this.currentChunk, 0, buffer, offset, this.currentChunkSize); 286Buffer.BlockCopy(buffer, offset, this.currentChunk, this.currentChunkSize, remainingSizeInChunk); 297Buffer.BlockCopy(buffer, offset, this.currentChunk, this.currentChunkSize, size);
System.Web (63)
Configuration\IdentitySection.cs (1)
239Buffer.BlockCopy(bIn1, 0, bIn, 0, bIn1.Length);
Configuration\MachineKeySection.cs (21)
352Buffer.BlockCopy( bKeysRandom, 0, _ValidationKey, 0, _AutoGenValidationKeySize); 356Buffer.BlockCopy(HttpRuntime.s_autogenKeys, 0, _ValidationKey, 0, _AutoGenValidationKeySize); 405Buffer.BlockCopy( bKeysRandom, _AutoGenValidationKeySize, _DecryptionKey, 0, _AutoGenDecryptionKeySize); 409Buffer.BlockCopy(HttpRuntime.s_autogenKeys, _AutoGenValidationKeySize, _DecryptionKey, 0, _AutoGenDecryptionKeySize); 520Buffer.BlockCopy(buf, start, bTemp, 0, length); 603Buffer.BlockCopy(paddedData, ivLength, bData, 0, bDataLength); 622Buffer.BlockCopy(bData, 0, bData2, 0, bData2.Length); 634Buffer.BlockCopy(bData, 0, bData2, 0, bData.Length); 635Buffer.BlockCopy(hmac, 0, bData2, bData.Length, hmac.Length); 671Buffer.BlockCopy(hash, 0, iv, bytesWritten, bytesToCopy); 801Buffer.BlockCopy(bHash, 0, buf, start + length, bHash.Length); 807Buffer.BlockCopy(buf, start, returnBuffer, 0, length); 808Buffer.BlockCopy(bHash, 0, returnBuffer, length, bHash.Length); 939Buffer.BlockCopy(dKey, 0, bTemp, 0, 8); 1217Buffer.BlockCopy(buf, start, bAll, 0, length); 1219Buffer.BlockCopy(modifier, 0, bAll, length, modifier.Length); 1221Buffer.BlockCopy(validationKey, 0, bAll, length, validationKey.Length); 1240Buffer.BlockCopy(buf, start, bAll, 0, length); 1242Buffer.BlockCopy(modifier, 0, bAll, length, modifier.Length); 1257Buffer.BlockCopy(bufHashed, 0, buf2, 0, buf2.Length); 1303Buffer.BlockCopy(dKey, 0, buf, 0, buf.Length);
Hosting\ISAPIWorkerRequest.cs (3)
2939Buffer.BlockCopy(offsetBytes, 0, buffer, 4, offsetBytes.Length); 2941Buffer.BlockCopy(lengthBytes, 0, buffer, 4 + offsetBytes.Length, lengthBytes.Length); 2943Buffer.BlockCopy(nameBytes, 0, buffer, 4 + offsetBytes.Length + lengthBytes.Length, nameBytes.Length);
HttpBufferlessInputStream.cs (1)
278Buffer.BlockCopy(preloadedContent, (int) _position, buffer, offset, bytesRead);
HttpRuntime.cs (2)
1368Buffer.BlockCopy(bKeysStored, 0, s_autogenKeys, 0, s_autogenKeys.Length); 1370Buffer.BlockCopy(bKeysRandom, 0, s_autogenKeys, 0, s_autogenKeys.Length);
HttpWriter.cs (2)
109Buffer.BlockCopy(_data, 0, clonedData, 0, clonedSize); 121Buffer.BlockCopy(data, offset, _data, _size-_free, n);
Profile\ProfileModule.cs (1)
182Buffer.BlockCopy(buf, startPos, buf2, 0, length);
Security\ADMembershipProvider.cs (2)
3406Buffer.BlockCopy(bSalt, 0, bAll, 0, bSalt.Length); 3407Buffer.BlockCopy(bIn, 0, bAll, bSalt.Length, bIn.Length);
Security\AnonymousIdentificationModule.cs (3)
348Buffer.BlockCopy(bufDate, 0, buffer, 0, 8); 349Buffer.BlockCopy(bufIdLen, 0, buffer, 8, 4); 350Buffer.BlockCopy(bufId, 0, buffer, 12, bufId.Length);
Security\CookieProtection.cs (4)
41Buffer.BlockCopy (bMac, 0, buf, count, bMac.Length); 47Buffer.BlockCopy (bTemp, 0, buf, 0, count); 48Buffer.BlockCopy (bMac, 0, buf, count, bMac.Length); 62Buffer.BlockCopy (bTemp, 0, buf, 0, count);
Security\Cryptography\CryptographicKey.cs (1)
41Buffer.BlockCopy(_keyMaterial, offsetBytes, newKey, 0, countBytes);
Security\Cryptography\CryptoUtil.cs (1)
119Buffer.BlockCopy(hashed, 0, output, bytesCopied, bytesToCopy);
Security\Cryptography\NetFXCryptoService.cs (1)
162Buffer.BlockCopy(protectedData, 0, iv, 0, iv.Length);
Security\Cryptography\SP800_108.cs (3)
80Buffer.BlockCopy(label, 0, buffer, 4, labelLength); // the 4 accounts for the [i]_2 length 83Buffer.BlockCopy(context, 0, buffer, 5 + labelLength, contextLength); // the '5 +' accounts for the [i]_2 length, the label, and the 0x00 byte 101Buffer.BlockCopy(K_i, 0, output, numBytesWritten, numBytesToCopy);
Security\FormsAuthentication.cs (4)
271Buffer.BlockCopy(bBlob, 0, bAll, 0, bBlob.Length); 272Buffer.BlockCopy(bMac, 0, bAll, bBlob.Length, bMac.Length); 839Buffer.BlockCopy(bRandom, 0, bData, 0, 8); 860Buffer.BlockCopy(bData, 0, ciphertext, 0, iRet);
Security\MachineKey.cs (3)
43Buffer.BlockCopy(data, 0, bAll, 0, data.Length); 44Buffer.BlockCopy(bHash, 0, bAll, data.Length, bHash.Length); 97Buffer.BlockCopy(originalData, 0, data, 0, data.Length);
Security\SQLMembershipProvider.cs (6)
1918Buffer.BlockCopy(bSalt, 0, bKey, 0, bKey.Length); 1924Buffer.BlockCopy(bSalt, 0, bKey, iter, len); 1933Buffer.BlockCopy(bSalt, 0, bAll, 0, bSalt.Length); 1934Buffer.BlockCopy(bIn, 0, bAll, bSalt.Length, bIn.Length); 1939Buffer.BlockCopy(bSalt, 0, bAll, 0, bSalt.Length); 1940Buffer.BlockCopy(bIn, 0, bAll, bSalt.Length, bIn.Length);
UI\EventValidationStore.cs (1)
121Buffer.BlockCopy(fullHash, 0, truncatedHash, 0, HASH_SIZE_IN_BYTES);
Util\HttpEncoder.cs (1)
643Buffer.BlockCopy(bytes, offset, subarray, 0, count);
WorkerRequest.cs (2)
707Buffer.BlockCopy(bytes, 0, buffer, offset, l); 746Buffer.BlockCopy(temp, 0, buffer, offset, l);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
120Buffer.BlockCopy(HEADER_MAGIC, 0, output, 0, HEADER_MAGIC.Length);
System.Xml (8)
System\Xml\ByteStack.cs (1)
36Buffer.BlockCopy(stack, 0, newstack, 0, top);
System\Xml\Core\IncrementalReadDecoders.cs (1)
73Buffer.BlockCopy( chars, startPos * 2, buffer, curIndex * 2, copyCount * 2 );
System\Xml\Core\XmlTextReaderImpl.cs (2)
8675Buffer.BlockCopy( src, srcOffset * sizeof(char), dst, dstOffset * sizeof(char), count * sizeof(char) ); 8683Buffer.BlockCopy(src, srcOffset, dst, dstOffset, count);
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
138Buffer.BlockCopy( bom, 0, bufBytes, 1, bom.Length );
System\Xml\Serialization\XmlSerializationReader.cs (1)
506Buffer.BlockCopy(block, 0, result, offset, currentSize);
System\Xml\XmlEncoding.cs (2)
74Buffer.BlockCopy( bytes, byteIndex, chars, charIndex * CharSize, byteCount ); 127Buffer.BlockCopy( bytes, byteIndex, chars, charIndex * CharSize, (int)(byteCount & ~0x1) );