91 references to Copy
PresentationCore (4)
Core\CSharp\System\Windows\DataObject.cs (2)
2310Marshal.Copy(new byte[] { 0 }, 0, (IntPtr)((long)ptr + pinvokeSize), 1); 2370Marshal.Copy(new byte[] { 0 }, 0, (IntPtr)((long)pointerUtf8 + utf8ByteCount), 1);
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
2005Marshal.Copy(managedArray, y * rectRowSize, new IntPtr(rowPtr), rectRowSize);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
440Marshal.Copy(guid, 0, pclsidVal, guid.Length);
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\IconHelper.cs (1)
276Marshal.Copy(colorArray, 0, bits, colorArray.Length);
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (2)
875Marshal.Copy( 939Marshal.Copy(devModeData, 0, hDevMode, devModeData.Length);
System (10)
net\System\Net\_ListenerResponseStream.cs (1)
174Marshal.Copy(buffer, offset, IntPtrHelper.Add(pBufferAsIntPtr, chunkHeader.Length + 2), size);
net\System\Net\HttpListener.cs (1)
2482Marshal.Copy(blob, tokenOffset, token.DangerousGetHandle(), tokenSize);
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (1)
96Marshal.Copy(channelBindingData, 0, customChannelBinding.DangerousGetHandle(), channelBindingData.Length);
security\system\security\cryptography\x509\x509extension.cs (3)
498Marshal.Copy(szObjId, 0, pszObjId, szObjId.Length); 502Marshal.Copy(encodedParameters, 0, pbParameters, encodedParameters.Length); 506Marshal.Copy(encodedKeyValue, 0, pbPublicKey, encodedKeyValue.Length);
security\system\security\cryptography\x509\x509utils.cs (4)
272Marshal.Copy(managed, 0, pb.DangerousGetHandle(), managed.Length); 319Marshal.Copy(arr, 0, pb.DangerousGetHandle(), arr.Length); 330Marshal.Copy(arr, 0, pb.DangerousGetHandle(), arr.Length); 513Marshal.Copy(ansiOid, 0, pOid, ansiOid.Length);
System.Configuration (1)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (1)
240Marshal.Copy(buf, 0, db.pbData, db.cbData);
System.Core (1)
System\Security\Cryptography\CapiNative.cs (1)
1028Marshal.Copy(arr, 0, pb.DangerousGetHandle(), arr.Length);
System.Data (4)
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
396Marshal.Copy(source, startIndex, ptr, length);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
2515Marshal.Copy(rgbMachineName, 0, ADP.IntPtrOffset(pMemMap, offset), rgbMachineName.Length); 2517Marshal.Copy(rgbSDIDLLName, 0, ADP.IntPtrOffset(pMemMap, offset), rgbSDIDLLName.Length); 2522Marshal.Copy(rgbData, 0, ADP.IntPtrOffset(pMemMap, offset), (int)cbData);
System.Drawing (11)
commonui\System\Drawing\Advanced\EncoderParameter.cs (2)
275Marshal.Copy(value, 0, parameterValue, numberOfValues); 298Marshal.Copy(value, 0, parameterValue, numberOfValues);
commonui\System\Drawing\Advanced\GPStream.cs (1)
118Marshal.Copy(buffer, 0, buf, length);
commonui\System\Drawing\Advanced\GraphicsPath.cs (2)
106Marshal.Copy(types, 0, typebuf, count); 159Marshal.Copy(types, 0, typebuf, count);
commonui\System\Drawing\Icon.cs (1)
986Marshal.Copy(iconData, newOffset + j * width, (IntPtr)pixelPtr, lineLength);
commonui\System\Drawing\Printing\PrinterSettings.cs (3)
1015Marshal.Copy(cachedDevmode, 0, pointer, devmodebytes); 1032Marshal.Copy(extrainfo, 0, pointeroffset, extrabytes); 1405Marshal.Copy(bytes, 0, address, bytes.Length);
commonui\System\Drawing\PropertyItemInternal.cs (1)
59Marshal.Copy(propItemValue, 0, propItemInternal.value, length);
commonui\System\Drawing\UnsafeNativeMethods.cs (1)
299Marshal.Copy(buffer, 0, buf, length);
System.IdentityModel (5)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
353Marshal.Copy(ansiOid, 0, pOid, ansiOid.Length);
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (3)
146Marshal.Copy(NativeMethods.LsaSourceName, 0, pSourceName.DangerousGetHandle(), NativeMethods.LsaSourceName.Length); 202Marshal.Copy(NativeMethods.LsaKerberosName, 0, pPackageName.DangerousGetHandle(), NativeMethods.LsaKerberosName.Length); 237Marshal.Copy(certRawData, 0, pInfo->Certificate, certRawData.Length);
System\IdentityModel\SspiSafeHandles.cs (1)
1422Marshal.Copy(bytes, 0, result.DangerousGetHandle(), bytes.Length);
System.IdentityModel.Selectors (12)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (2)
135Marshal.Copy(m_cachedBlock, 0, pInData.DangerousGetHandle(), m_cachedBlock.Length); 192Marshal.Copy(m_cachedBlock, 0, pInData.DangerousGetHandle(), m_cachedBlock.Length);
infocard\client\System\IdentityModel\Selectors\InfoCardRSACryptoProvider.cs (5)
88Marshal.Copy(inData, 0, pInData.DangerousGetHandle(), inData.Length); 120Marshal.Copy(inData, 0, pInData.DangerousGetHandle(), inData.Length); 154Marshal.Copy(hash, 0, pHash.DangerousGetHandle(), hash.Length); 194Marshal.Copy(hash, 0, pHash.DangerousGetHandle(), hash.Length); 198Marshal.Copy(sig, 0, pSig.DangerousGetHandle(), sig.Length);
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricAlgorithm.cs (3)
167Marshal.Copy(iv, 0, pIV.DangerousGetHandle(), iv.Length); 238Marshal.Copy(inputBuffer, inputOffset, pInData.DangerousGetHandle(), inputCount); 285Marshal.Copy(inputBuffer, inputOffset, pInData.DangerousGetHandle(), inputCount);
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (2)
125Marshal.Copy(label, 0, pLabel.DangerousGetHandle(), label.Length); 126Marshal.Copy(nonce, 0, pNonce.DangerousGetHandle(), nonce.Length);
System.Management (1)
InteropClasses\WMIInterop.cs (1)
94Marshal.Copy(rg, 0, hGlobal, rg.Length);
System.Messaging (2)
System\Messaging\ActiveXMessageFormatter.cs (1)
506Marshal.Copy(buffer, 0, buf, length);
System\Messaging\Interop\Restrictions.cs (1)
36Marshal.Copy(value.ToByteArray(), 0, data, 16);
System.Net (4)
net\PeerToPeer\Collaboration\Peer.cs (2)
685Marshal.Copy(invitationData, 0, pi.applicationData.pbData, invitationData.Length); 1108Marshal.Copy(m_inviteData, 0, pi.applicationData.pbData, m_inviteData.Length);
net\PeerToPeer\Collaboration\PeerCollaboration.cs (2)
524Marshal.Copy(application.Data, 0, appRegInfo.application.data.pbData, application.Data.Length); 824Marshal.Copy(peerObject.Data, 0, po.data.pbData, peerObject.Data.Length);
System.Security (9)
system\security\cryptography\pkcs\envelopedpkcs7.cs (4)
711Marshal.Copy(objId, 0, encryptParam.rgszObjId[index].DangerousGetHandle(), objId.Length); 826Marshal.Copy(objId, 0, encryptParam.rgszObjId[index].DangerousGetHandle(), objId.Length); 846Marshal.Copy(objId, 0, encryptParam.rgszKeyWrapObjId[cKeyAgree].DangerousGetHandle(), objId.Length); 875Marshal.Copy(objId, 0, encryptParam.rgszEphemeralObjId[cKeyAgree].DangerousGetHandle(), objId.Length);
system\security\cryptography\pkcs\pkcsutils.cs (3)
668Marshal.Copy(objId, 0, pCryptAttribute->pszObjId, objId.Length); 684Marshal.Copy(encodedData, 0, pbEncodedData, encodedData.Length); 766Marshal.Copy(dummyName.RawData, 0, pbDataIssuer.DangerousGetHandle(), dummyName.RawData.Length);
system\security\cryptography\x509\x509utils.cs (2)
131Marshal.Copy(arr, 0, pb.DangerousGetHandle(), arr.Length); 269Marshal.Copy(ansiOid, 0, pOid, ansiOid.Length);
System.ServiceModel (3)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (1)
168Marshal.Copy(bytes, 0, (IntPtr)data, bytes.Length);
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (1)
370Marshal.Copy(input.ToByteArray(), 0, (IntPtr)result, guidSize);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (1)
106Marshal.Copy(byteStream, 0, pBuff, byteStream.Length);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\Interop\SafeHGlobalHandleCritical.cs (1)
54Marshal.Copy(bytes, 0, result.DangerousGetHandle(), bytes.Length);
System.Web (1)
Util\Misc.cs (1)
97System.Runtime.InteropServices.Marshal.Copy(src, srcOffset, new IntPtr(dest.ToInt64()+destOffset), size);
System.Windows.Forms (14)
winforms\Managed\System\WinForms\AxHost.cs (1)
6697Marshal.Copy(buffer, 0, pointer, length);
winforms\Managed\System\WinForms\Control.cs (2)
7888Marshal.Copy(bytes, 0, m.LParam, bytes.Length); 7889Marshal.Copy(nullBytes, 0, unchecked((IntPtr)((long)m.LParam + (long)bytes.Length)), nullBytes.Length);
winforms\Managed\System\WinForms\DataObject.cs (6)
966Marshal.Copy(bytes, 0, ptr, size); 1044Marshal.Copy(new byte[]{0,0}, 0, currentPtr, 2); 1051Marshal.Copy(new byte[]{0}, 0, currentPtr, 1); 1061Marshal.Copy(new byte[]{0}, 0, currentPtr, 1); 1121Marshal.Copy(new byte[] {0}, 0, (IntPtr)((long)ptr+pinvokeSize), 1); 1153Marshal.Copy(new byte[] { 0 }, 0, (IntPtr)((long)ptr + bytes.Length), 1);
winforms\Managed\System\WinForms\ListView.cs (2)
6071Marshal.Copy(buff, 0, dispInfo.item.pszText, text.Length + 1); 6156Marshal.Copy(byteBuf, 0, infoTip.lpszText, Math.Min(byteBuf.Length, infoTip.cchTextMax));
winforms\Managed\System\WinForms\RichTextBox.cs (1)
1904Marshal.Copy(bytes, 0, buf, transferred);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (2)
6545Marshal.Copy(buffer, 0, result, buffer.Length); 6704Marshal.Copy(buffer, 0, buf, count);
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
203Marshal.Copy(sdBytes, 0, securityDescriptorPtr, rawSecurityDescriptor.BinaryLength);
WindowsBase (2)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (1)
744Marshal.Copy(byteArray, 0, pszVal, nLen);
Shared\MS\Win32\NativeMethodsCLR.cs (1)
6185Marshal.Copy(buffer, 0, result, buffer.Length);
WsatConfig (1)
Configuration\SafeLocalAllocation.cs (1)
45System.Runtime.InteropServices.Marshal.Copy(
WsatUI (1)
Configuration\SafeLocalAllocation.cs (1)
45System.Runtime.InteropServices.Marshal.Copy(