179 references to Free
mscorlib (7)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
531m_weakTargetObj.Free();
system\diagnostics\eventing\eventprovider.cs (1)
1069rgGCHandle[i].Free();
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (1)
730pPins[i].Free();
system\io\filestream.cs (1)
574pinHandle.Free();
system\io\pinnedbuffermemorystream.cs (1)
61_pinningHandle.Free();
system\runtime\remoting\remotingservices.cs (1)
1815delegateCallToken.Free();
system\security\principal\sid.cs (1)
1069HandleArray[i].Free();
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
477_memoryHandle.Free();
Core\CSharp\System\Windows\Media\EventProxy.cs (1)
50((System.Runtime.InteropServices.GCHandle)(pEPD.m_handle)).Free();
Core\CSharp\System\Windows\Media\Geometry.cs (1)
793handle.Free();
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
193handle.Free();
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
478arrayHandle.Free(); 642arrayHandle.Free();
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
93((System.Runtime.InteropServices.GCHandle)(pSD.m_handle)).Free();
Shared\MS\Internal\CharacterBuffer.cs (2)
254gcHandle.Free(); 369gcHandle.Free();
PresentationFramework (2)
src\Framework\System\Windows\Documents\WinEventHandler.cs (1)
99_gchThis.Free();
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
111gcHandle.Free();
System (48)
net\System\IriHelper.cs (2)
342destHandle.Free(); 369destHandle.Free();
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
707 GCHandles[i].Free();
net\System\Net\_SafeNetHandles.cs (6)
1625pinnedInBytes[index].Free(); 1629pinnedOutBytes.Free(); 1943pinnedInBytes[index].Free(); 1948pinnedOutBytes.Free(); 2178pinnedInBytes[index].Free(); 2306pinnedInBytes[index].Free();
net\System\Net\_SSPIWrapper.cs (1)
491pinnedBuffers[i].Free();
net\System\Net\_TimerThread.cs (1)
352((GCHandle) m_ThisHandle).Free();
net\System\Net\HttpListener.cs (6)
244m_PinnedHandle.Free(); 264m_PinnedHandle.Free(); 275m_PinnedHandle.Free(); 2395headersArrayHandle.Free(); 2399wwwAuthenticateHandle.Free(); 2407challengeHandles[i].Free();
net\System\Net\HttpListenerResponse.cs (1)
866gcHandle.Free();
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (1)
641gcHandles[i].Free();
net\System\Net\Sockets\Socket.cs (10)
1368objectsToPin[i].Free(); 1903objectsToPin[i].Free(); 7021objectsToPin[i].Free(); 9197m_ControlBufferGCHandle.Free(); 9202m_ControlBufferGCHandle.Free(); 9459m_SocketAddressGCHandle.Free(); 9490m_SocketAddressGCHandle.Free(); 9493m_WSAMessageBufferGCHandle.Free(); 9496m_WSARecvMsgWSABufferArrayGCHandle.Free(); 9499m_ControlBufferGCHandle.Free();
net\System\Net\WebSockets\WebSocketBuffer.cs (2)
312m_PinnedSendBufferHandle.Free(); 651m_GCHandle.Free();
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1048m_DataChunksGCHandle.Free();
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
531m_weakTargetObj.Free();
security\system\security\cryptography\cryptoapi.cs (3)
3525handle.Free(); 3590handle.Free(); 3654handle.Free();
services\monitoring\system\diagnosticts\EventLog.cs (2)
1327if (handles[i].IsAllocated) handles[i].Free(); 1329stringsRoot.Free();
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
1729stringHandles[i].Free(); 1731stringsRootHandle.Free();
services\monitoring\system\diagnosticts\Process.cs (1)
2146environmentHandle.Free();
services\monitoring\system\diagnosticts\ProcessManager.cs (6)
408if (bufferHandle.IsAllocated) bufferHandle.Free(); 454if (bufferHandle.IsAllocated) bufferHandle.Free(); 649moduleHandlesArrayHandle.Free(); 873if (dataHandle.IsAllocated) dataHandle.Free(); 1100if (bufferHandle.IsAllocated) bufferHandle.Free(); 1117if (bufferHandle.IsAllocated) bufferHandle.Free();
sys\System\IO\compression\DeflaterZLib.cs (1)
220_inputBufferHandle.Free();
System.Core (5)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (2)
410pinHandle.Free(); 534pinHandle.Free();
System\IO\Pipes\Pipe.cs (2)
100pinHandle.Free(); 524pinHandle.Free();
System\Security\Cryptography\X509Certificates\X509Native.cs (1)
477_gcHandle.Free();
System.Data (3)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
192_pinnedBuffer.Free();
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
830_gcHandle.Free();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
950m_hQos.Free();
System.Drawing (1)
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
329typesHandle.Free();
System.IdentityModel (6)
System\IdentityModel\SspiSafeHandles.cs (4)
317pinnedInBytes[index].Free(); 323pinnedOutBytes.Free(); 591pinnedInBytes[index].Free(); 597pinnedOutBytes.Free();
System\IdentityModel\SspiWrapper.cs (1)
798pinnedBuffers[i].Free();
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
117this.rsaHandle.Free();
System.IdentityModel.Selectors (2)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
539stringsRootHandle.Free(); 544stringParamHandle.Free();
System.IO.Log (6)
System\IO\Log\AppendHelper.cs (1)
70handles[i].Free();
System\IO\Log\LogFlushAsyncResult.cs (2)
74this.pinnedResultLsn.Free(); 102this.pinnedResultLsn.Free();
System\IO\Log\LogReserveAndAppendState.cs (1)
516this.handles[i].Free();
System\IO\Log\LogStore.cs (1)
159pinHandle.Free();
System\IO\Log\LogWriteRestartAreaState.cs (1)
425this.pinnedResultHandle.Free();
System.Messaging (8)
System\Messaging\AccessControlList.cs (1)
172mem.Free();
System\Messaging\Interop\MessagePropertyVariants.cs (4)
415((GCHandle)handles[vectorIdentifiers[i] - basePropertyId]).Free(); 429handleVectorIdentifiers.Free(); 430handleVectorProperties.Free(); 431handleVectorStatus.Free();
System\Messaging\Message.cs (1)
1653handle.Free();
System\Messaging\MessageQueue.cs (2)
3476sdHandle.Free(); 3539sdHandle.Free();
System.Net (23)
net\PeerToPeer\Collaboration\ContactManager.cs (2)
1453pepName.Free(); 1454peerEP.Free();
net\PeerToPeer\Collaboration\Peer.cs (9)
408if (pepName.IsAllocated) pepName.Free(); 409if (peerEP.IsAllocated) peerEP.Free(); 615if (guidHandle.IsAllocated) guidHandle.Free(); 616if (pepName.IsAllocated) pepName.Free(); 617if (peerEP.IsAllocated) peerEP.Free(); 756if (pepName.IsAllocated) pepName.Free(); 757if (peerEP.IsAllocated) peerEP.Free(); 1206if (pepName.IsAllocated) pepName.Free(); 1207if (peerEP.IsAllocated) peerEP.Free();
net\PeerToPeer\Collaboration\PeerApplication.cs (1)
288guidHandle.Free();
net\PeerToPeer\Collaboration\PeerCollaboration.cs (1)
536if (descHandle.IsAllocated) descHandle.Free();
net\PeerToPeer\Collaboration\PeerContact.cs (3)
1104if (guidHandle.IsAllocated) guidHandle.Free(); 1105if (pepName.IsAllocated) pepName.Free(); 1106if (peerEP.IsAllocated) peerEP.Free();
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
398if (pepName.IsAllocated) pepName.Free(); 399if (peerEP.IsAllocated) peerEP.Free();
net\PeerToPeer\Collaboration\PeerObject.cs (1)
237guidHandle.Free();
net\PeerToPeer\PeerNameRegistration.cs (4)
424GCHandles[i].Free(); 433handle.Free(); 533handle.Free(); 605GCHandles[i].Free();
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
121_handle.Free();
System.Runtime.Remoting (1)
channels\ipc\ipcport.cs (1)
101pinningHandle.Free();
System.Security (5)
system\security\cryptography\dataprotection.cs (4)
102pbDataIn.Free(); 104pOptionalEntropy.Free(); 165pbDataIn.Free(); 167pOptionalEntropy.Free();
system\security\cryptography\pkcs\pkcsmisc.cs (1)
514m_gcHandle.Free();
System.ServiceModel (7)
System\ServiceModel\Channels\NativeMsmqMessage.cs (5)
121this.nativePropertiesHandle.Free(); 123this.idsHandle.Free(); 125this.variantsHandle.Free(); 344bufferHandle.Free(); 473bufferHandle.Free();
System\ServiceModel\Channels\SelfSignedCertificate.cs (2)
145pfxHandle.Free(); 164pfxHandle.Free();
System.ServiceModel.Internals (2)
System\Runtime\Diagnostics\EventLogger.cs (2)
156stringsRootHandle.Free(); 164gcHandle.Free();
System.Web (19)
FileChangesMonitor.cs (2)
448_rootCallback.Free(); 515_rootCallback.Free();
Hosting\ISAPIWorkerRequest.cs (9)
510_pinnedArrayData.Free(); 547_pinnedCharBufferHandle.Free(); 579_pinnedCharBufferHandle.Free(); 2420_rootedThis.Free(); 2456_rootedThis.Free(); 2578_rootedThis.Free(); 2637_rootedThis.Free(); 2736_rootedThis.Free(); 2767_rootedThis.Free();
RootedObjects.cs (1)
114_handle.Free();
Util\AspCompat.cs (2)
357_rootedThis.Free(); 453_rootedThis.Free();
Util\GCUtil.cs (2)
30gcHandle.Free(); 64_handle.Free();
Util\PinnedArraySegment.cs (1)
58_gcHandle.Free();
Util\WorkItem.cs (2)
87_rootedThis.Free(); 93_rootedThis.Free();
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1327gcHandle.Free();
winforms\Managed\System\WinForms\Control.cs (1)
14594rootRef.Free();
winforms\Managed\System\WinForms\NativeWindow.cs (4)
406prevWindow.Free(); 1103b.window.Free(); 1225hashBuckets[bn].window.Free(); 1242hashBuckets[bn].window.Free();
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
1021rootRef.Free();
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
7206mouseHookRoot.Free();
winforms\Managed\System\WinForms\Timer.cs (1)
185timerRoot.Free();
System.Workflow.Runtime (1)
DebugEngine\ProgramPublisher.cs (1)
120this.gchWdeProgramNode.Free(); // Rrelease pin on the this.wdeProgramNodeSingleton
UIAutomationClient (3)
MS\Internal\Automation\EventListenerClientSide.cs (1)
66_gch.Free();
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
1594gch.Free();
MS\Internal\Automation\WinEventWrap.cs (1)
81_gchThis.Free();
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Misc.cs (1)
366gch.Free();
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
78_gchThis.Free();
MS\Internal\AutomationProxies\WinEventTracker.cs (1)
198hp._procHookHandle.Free ();
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (5)
171gcSourceBuf.Free(); 174gcSinkBuf.Free(); 319gcSourceBuf.Free(); 322gcSinkBuf.Free(); 368gcHandle.Free();
Shared\MS\Win32\HwndSubclass.cs (1)
636_gcHandle.Free();
WsatConfig (1)
Configuration\HttpWrapper.cs (1)
213pinnedAddress.Free();
WsatUI (1)
Configuration\HttpWrapper.cs (1)
213pinnedAddress.Free();