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