100 references to AddrOfPinnedObject
mscorlib (2)
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (1)
285datasTemp->DataPointer = pinsTemp->AddrOfPinnedObject();
system\security\principal\sid.cs (1)
957SidArrayPtr[currentSid] = HandleArray[currentSid].AddrOfPinnedObject();
PresentationCore (7)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
448 (byte *)_memoryHandle.AddrOfPinnedObject(),
Core\CSharp\System\Windows\Media\Geometry.cs (1)
766(dashArray == null) ? null : (double*)handle.AddrOfPinnedObject(),
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
181CopyBytes((byte *) destPtr, (int)size, (byte *)handle.AddrOfPinnedObject(), (int)size);
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
466IntPtr buffer = arrayHandle.AddrOfPinnedObject(); 624IntPtr buffer = arrayHandle.AddrOfPinnedObject();
Shared\MS\Internal\CharacterBuffer.cs (2)
241return new IntPtr(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset); 356return new IntPtr(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset);
System (23)
net\System\IriHelper.cs (2)
143char* pDest = (char*)destHandle.AddrOfPinnedObject(); 349pDest = (char*)destHandle.AddrOfPinnedObject();
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
668 pSocketAddresses[i].lpSockAddr = GCHandles[i].AddrOfPinnedObject();
net\System\Net\HttpListenerResponse.cs (4)
808headers.pUnknownHeaders = (UnsafeNclNativeMethods.HttpApi.HTTP_UNKNOWN_HEADER*)gcHandle.AddrOfPinnedObject(); 824unknownHeaders[headers.UnknownHeaderCount].pName = (sbyte*)gcHandle.AddrOfPinnedObject(); 833unknownHeaders[headers.UnknownHeaderCount].pRawValue = (sbyte*)gcHandle.AddrOfPinnedObject(); 847pKnownHeaders[lookup].pRawValue = (sbyte*)gcHandle.AddrOfPinnedObject();
net\System\Net\WebSockets\WebSocketBuffer.cs (1)
141IntPtr internalBufferPtr = m_GCHandle.AddrOfPinnedObject();
security\system\security\cryptography\cryptoapi.cs (3)
3493IntPtr pbData = handle.AddrOfPinnedObject(); 3558IntPtr pbData = handle.AddrOfPinnedObject(); 3640IntPtr ptr = handle.AddrOfPinnedObject();
services\monitoring\system\diagnosticts\EventLog.cs (1)
1302addresses[i] = handles[i].AddrOfPinnedObject();
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
1713stringRoots[strIndex] = stringHandles[strIndex].AddrOfPinnedObject(); 1719sid, (short) strings.Length, rawData.Length, new HandleRef(this, stringsRootHandle.AddrOfPinnedObject()), rawData);
services\monitoring\system\diagnosticts\Process.cs (1)
2050environmentPtr = environmentHandle.AddrOfPinnedObject();
services\monitoring\system\diagnosticts\ProcessManager.cs (7)
362IntPtr bufferPtr = bufferHandle.AddrOfPinnedObject(); 432IntPtr bufferPtr = bufferHandle.AddrOfPinnedObject(); 588enumResult = NativeMethods.EnumProcessModules(processHandle, moduleHandlesArrayHandle.AddrOfPinnedObject(), moduleHandles.Length * IntPtr.Size, ref moduleCount); 640enumResult = NativeMethods.EnumProcessModules(processHandle, moduleHandlesArrayHandle.AddrOfPinnedObject(), moduleHandles.Length * IntPtr.Size, ref moduleCount); 798IntPtr dataBlockPtr = dataHandle.AddrOfPinnedObject(); 1094bufferHandle.AddrOfPinnedObject(), 1111processInfos = GetProcessInfos(bufferHandle.AddrOfPinnedObject(), processIdFilter);
sys\System\IO\compression\DeflaterZLib.cs (1)
149_zlibStream.NextIn = _inputBufferHandle.AddrOfPinnedObject() + startIndex;
System.Data (5)
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
896hCookie.AddrOfPinnedObject());
fx\src\data\System\Data\OleDb\ColumnBinding.cs (3)
633ptr = _pinnedBuffer.AddrOfPinnedObject(); 673ptr = _pinnedBuffer.AddrOfPinnedObject(); 690ptr = _pinnedBuffer.AddrOfPinnedObject();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
982pbBuffer = m_hQos.AddrOfPinnedObject();
System.Drawing (1)
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
314IntPtr typesPtr = typesHandle.AddrOfPinnedObject();
System.IdentityModel.Selectors (2)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
503stringRoots[0] = stringParamHandle.AddrOfPinnedObject(); 510HandleRef data = new HandleRef(handle, stringsRootHandle.AddrOfPinnedObject());
System.IO.Log (4)
System\IO\Log\LogFlushAsyncResult.cs (1)
64this.pinnedResultLsn.AddrOfPinnedObject(),
System\IO\Log\LogReserveAndAppendState.cs (1)
622this.handles[(int)PinIndex.ReturnLsn].AddrOfPinnedObject(),
System\IO\Log\LogWriteRestartAreaState.cs (2)
501this.pinnedResultHandle.AddrOfPinnedObject(), 512this.pinnedResultHandle.AddrOfPinnedObject(),
System.Messaging (10)
System\Messaging\AccessControlList.cs (1)
166int err = SafeNativeMethods.SetEntriesInAclW(ACECount, (IntPtr)mem.AddrOfPinnedObject(), oldAcl, out newAcl);
System\Messaging\Interop\MessagePropertyVariants.cs (5)
322newVectorProperties[usedProperties].caub.pElems = handle.AddrOfPinnedObject(); 336newVectorProperties[usedProperties].ptr = handle.AddrOfPinnedObject(); 354reference.propertyIdentifiers = handleVectorIdentifiers.AddrOfPinnedObject(); 355reference.propertyValues = handleVectorProperties.AddrOfPinnedObject(); 356reference.status = handleVectorStatus.AddrOfPinnedObject();
System\Messaging\Message.cs (1)
1651int status = UnsafeNativeMethods.MQGetMachineProperties(null, handle.AddrOfPinnedObject(), machineProperties.Lock());
System\Messaging\MessageQueue.cs (3)
3470sdHandle.AddrOfPinnedObject(), 3481sdHandle.AddrOfPinnedObject(), 3493bool success = UnsafeNativeMethods.GetSecurityDescriptorDacl(sdHandle.AddrOfPinnedObject(),
System.Net (23)
net\PeerToPeer\Collaboration\ContactManager.cs (2)
1411pe.pwzEndpointName = pepName.AddrOfPinnedObject(); 1415IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\Peer.cs (9)
383pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 387IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject(); 538guidPtr = guidHandle.AddrOfPinnedObject(); 552pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 555IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject(); 701pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 704IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject(); 1169pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 1172IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\PeerApplication.cs (1)
267pcer.pInstance = guidHandle.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\PeerCollaboration.cs (1)
530appRegInfo.application.pwzDescription = descHandle.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\PeerContact.cs (3)
1027guidPtr = guidHandle.AddrOfPinnedObject(); 1038pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 1041IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
389pep.pwzEndpointName = pepName.AddrOfPinnedObject(); 392IntPtr ptrPeerEP = peerEP.AddrOfPinnedObject();
net\PeerToPeer\Collaboration\PeerObject.cs (1)
223pcer.pInstance = guidHandle.AddrOfPinnedObject();
net\PeerToPeer\PeerNameRegistration.cs (4)
340regInfo.payLoad.pbPayload = handle.AddrOfPinnedObject(); //m_PeerNameRecord.Data; 402IntPtr psockAddr = GCHandles[i].AddrOfPinnedObject(); 532regInfo.payLoad.pbPayload = handle.AddrOfPinnedObject(); //m_PeerNameRecord.Data; 585IntPtr psockAddr = GCHandles[i].AddrOfPinnedObject();
System.Security (4)
system\security\cryptography\dataprotection.cs (4)
55dataIn.pbData = pbDataIn.AddrOfPinnedObject(); 60entropy.pbData = pOptionalEntropy.AddrOfPinnedObject(); 130dataIn.pbData = pbDataIn.AddrOfPinnedObject(); 135entropy.pbData = pOptionalEntropy.AddrOfPinnedObject();
System.ServiceModel (10)
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (3)
378props.variants = propHandle.AddrOfPinnedObject(); 379props.ids = nativePropertyIdsHandle.AddrOfPinnedObject(); 381if (UnsafeNativeMethods.MQMgmtGetInfo(this.hostname, "queue=" + this.formatName, propsHandle.AddrOfPinnedObject()) == 0)
System\ServiceModel\Channels\NativeMsmqMessage.cs (5)
86this.nativeProperties.variants = this.variantsHandle.AddrOfPinnedObject(); 87this.nativeProperties.ids = this.idsHandle.AddrOfPinnedObject(); 90return nativePropertiesHandle.AddrOfPinnedObject(); 371this.Variants[this.Index].byteArrayValue.intPtr = bufferHandle.AddrOfPinnedObject(); 454this.Variants[this.Index].intPtr = bufferHandle.AddrOfPinnedObject();
System\ServiceModel\Channels\SelfSignedCertificate.cs (2)
134pfxHandle.AddrOfPinnedObject(), 152pfxHandle.AddrOfPinnedObject(),
System.ServiceModel.Internals (3)
System\Runtime\Diagnostics\EventLogger.cs (3)
148stringRoots[strIndex] = stringHandles[strIndex].AddrOfPinnedObject(); 154if (stringsRootHandle.AddrOfPinnedObject() != IntPtr.Zero) 307HandleRef data = new HandleRef(handle, stringsRootHandle.AddrOfPinnedObject());
WindowsBase (4)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (4)
130zStream.NextIn = gcSourceBuf.AddrOfPinnedObject(); 131zStream.NextOut = gcSinkBuf.AddrOfPinnedObject(); 281zStream.NextIn = gcSourceBuf.AddrOfPinnedObject(); 282zStream.NextOut = gcSinkBuf.AddrOfPinnedObject();
WsatConfig (1)
Configuration\HttpWrapper.cs (1)
200pAddress = pinnedAddress.AddrOfPinnedObject();
WsatUI (1)
Configuration\HttpWrapper.cs (1)
200pAddress = pinnedAddress.AddrOfPinnedObject();