132 references to IsAllocated
mscorlib (4)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
522
if (!m_weakTargetObj.
IsAllocated
)
system\runtime\remoting\proxyattribute.cs (1)
85
if (objRef != null && objRef.GetServerIdentity().
IsAllocated
)
system\runtime\remoting\serveridentity.cs (1)
89
if (!_srvIdentityHandle.
IsAllocated
)
system\security\principal\sid.cs (1)
1067
if ( HandleArray[i].
IsAllocated
)
PresentationCore (3)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
476
Debug.Assert(_memoryHandle.
IsAllocated
);
Core\CSharp\System\Windows\Media\Geometry.cs (1)
791
if (handle.
IsAllocated
)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
191
if (handle.
IsAllocated
)
PresentationFramework (2)
src\Framework\System\Windows\Documents\WinEventHandler.cs (2)
97
if (_gchThis.
IsAllocated
)
113
if (_gchThis.
IsAllocated
)
System (50)
net\System\IriHelper.cs (2)
340
if (destHandle.
IsAllocated
)
368
if (destHandle.
IsAllocated
)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
706
if(GCHandles[i].
IsAllocated
)
net\System\Net\_SafeNetHandles.cs (6)
1624
if (pinnedInBytes[index].
IsAllocated
)
1628
if (pinnedOutBytes.
IsAllocated
)
1942
if (pinnedInBytes[index].
IsAllocated
)
1947
if (pinnedOutBytes.
IsAllocated
)
2177
if (pinnedInBytes[index].
IsAllocated
) {
2304
if (pinnedInBytes[index].
IsAllocated
)
net\System\Net\_SSPIWrapper.cs (1)
490
if (pinnedBuffers[i].
IsAllocated
) {
net\System\Net\HttpListener.cs (6)
238
if (m_PinnedHandle.
IsAllocated
)
262
if (m_PinnedHandle.
IsAllocated
)
270
if (m_PinnedHandle.
IsAllocated
)
2393
if (headersArrayHandle.
IsAllocated
)
2397
if (wwwAuthenticateHandle.
IsAllocated
)
2405
if (challengeHandles[i].
IsAllocated
)
net\System\Net\HttpListenerResponse.cs (1)
865
if (gcHandle.
IsAllocated
) {
net\System\Net\Sockets\_BaseOverlappedAsyncResult.cs (1)
639
if (gcHandles[i].
IsAllocated
)
net\System\Net\Sockets\Socket.cs (11)
1367
if (objectsToPin[i].
IsAllocated
)
1902
if (objectsToPin[i].
IsAllocated
)
7020
if (objectsToPin[i].
IsAllocated
)
9196
if(m_ControlBufferGCHandle.
IsAllocated
) {
9201
if(m_ControlBufferGCHandle.
IsAllocated
) {
9206
if(!m_ControlBufferGCHandle.
IsAllocated
) {
9458
if(m_SocketAddressGCHandle.
IsAllocated
) {
9489
if(m_SocketAddressGCHandle.
IsAllocated
) {
9492
if(m_WSAMessageBufferGCHandle.
IsAllocated
) {
9495
if(m_WSARecvMsgWSABufferArrayGCHandle.
IsAllocated
) {
9498
if(m_ControlBufferGCHandle.
IsAllocated
) {
net\System\Net\WebSockets\WebSocketBuffer.cs (2)
310
if (m_PinnedSendBufferHandle.
IsAllocated
)
649
if (m_GCHandle.
IsAllocated
)
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1046
if (m_DataChunksGCHandle.
IsAllocated
)
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (1)
522
if (!m_weakTargetObj.
IsAllocated
)
security\system\security\cryptography\cryptoapi.cs (3)
3524
if (handle.
IsAllocated
)
3589
if (handle.
IsAllocated
)
3653
if (handle.
IsAllocated
)
services\monitoring\system\diagnosticts\EventLog.cs (1)
1327
if (handles[i].
IsAllocated
) handles[i].Free();
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1728
if (stringHandles[i].
IsAllocated
)
services\monitoring\system\diagnosticts\Process.cs (1)
2145
if (environmentHandle.
IsAllocated
) {
services\monitoring\system\diagnosticts\ProcessManager.cs (5)
408
if (bufferHandle.
IsAllocated
) bufferHandle.Free();
454
if (bufferHandle.
IsAllocated
) bufferHandle.Free();
873
if (dataHandle.
IsAllocated
) dataHandle.Free();
1100
if (bufferHandle.
IsAllocated
) bufferHandle.Free();
1117
if (bufferHandle.
IsAllocated
) bufferHandle.Free();
sys\System\IO\compression\DeflaterZLib.cs (6)
116
if (_inputBufferHandle.
IsAllocated
)
139
Contract.Assert(!_inputBufferHandle.
IsAllocated
);
161
Contract.Assert(_inputBufferHandle.
IsAllocated
);
170
if (0 == _zlibStream.AvailIn && _inputBufferHandle.
IsAllocated
)
196
Contract.Assert(!_inputBufferHandle.
IsAllocated
);
213
Contract.Assert(_inputBufferHandle.
IsAllocated
);
System.Data (3)
fx\src\data\System\Data\OleDb\ColumnBinding.cs (1)
191
if (_pinnedBuffer.
IsAllocated
) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
826
if ((0 == remaining || release) && _gcHandle.
IsAllocated
) {
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
949
if ( m_hQos.
IsAllocated
)
System.IdentityModel (6)
System\IdentityModel\SspiSafeHandles.cs (4)
315
if (pinnedInBytes[index].
IsAllocated
)
321
if (pinnedOutBytes.
IsAllocated
)
589
if (pinnedInBytes[index].
IsAllocated
)
595
if (pinnedOutBytes.
IsAllocated
)
System\IdentityModel\SspiWrapper.cs (1)
796
if (pinnedBuffers[i].
IsAllocated
)
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
82
if (this.rsaHandle.
IsAllocated
)
System.IdentityModel.Selectors (2)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (2)
537
if (stringsRootHandle.
IsAllocated
)
542
if (stringParamHandle.
IsAllocated
)
System.IO.Log (5)
System\IO\Log\AppendHelper.cs (1)
69
if (handles[i].
IsAllocated
)
System\IO\Log\LogReserveAndAppendState.cs (1)
515
if (this.handles[i].
IsAllocated
)
System\IO\Log\LogWriteRestartAreaState.cs (3)
403
if (this.pinnedResultHandle.
IsAllocated
)
417
if (!this.pinnedResultHandle.
IsAllocated
)
434
if (this.pinnedResultHandle.
IsAllocated
)
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
3538
if (sdHandle.
IsAllocated
)
System.Net (20)
net\PeerToPeer\Collaboration\Peer.cs (9)
408
if (pepName.
IsAllocated
) pepName.Free();
409
if (peerEP.
IsAllocated
) peerEP.Free();
615
if (guidHandle.
IsAllocated
) guidHandle.Free();
616
if (pepName.
IsAllocated
) pepName.Free();
617
if (peerEP.
IsAllocated
) peerEP.Free();
756
if (pepName.
IsAllocated
) pepName.Free();
757
if (peerEP.
IsAllocated
) peerEP.Free();
1206
if (pepName.
IsAllocated
) pepName.Free();
1207
if (peerEP.
IsAllocated
) peerEP.Free();
net\PeerToPeer\Collaboration\PeerApplication.cs (1)
287
if (guidHandle.
IsAllocated
)
net\PeerToPeer\Collaboration\PeerCollaboration.cs (1)
536
if (descHandle.
IsAllocated
) descHandle.Free();
net\PeerToPeer\Collaboration\PeerContact.cs (3)
1104
if (guidHandle.
IsAllocated
) guidHandle.Free();
1105
if (pepName.
IsAllocated
) pepName.Free();
1106
if (peerEP.
IsAllocated
) peerEP.Free();
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
398
if (pepName.
IsAllocated
) pepName.Free();
399
if (peerEP.
IsAllocated
) peerEP.Free();
net\PeerToPeer\Collaboration\PeerObject.cs (1)
236
if (guidHandle.
IsAllocated
)
net\PeerToPeer\PeerNameRegistration.cs (3)
423
if (GCHandles[i].
IsAllocated
)
431
if (handle.
IsAllocated
)
604
if (GCHandles[i].
IsAllocated
)
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
115
if (_handle.
IsAllocated
) {
System.Security (5)
system\security\cryptography\dataprotection.cs (4)
101
if (pbDataIn.
IsAllocated
)
103
if (pOptionalEntropy.
IsAllocated
)
164
if (pbDataIn.
IsAllocated
)
166
if (pOptionalEntropy.
IsAllocated
)
system\security\cryptography\pkcs\pkcsmisc.cs (1)
513
if (m_gcHandle.
IsAllocated
) {
System.ServiceModel (5)
System\ServiceModel\Channels\NativeMsmqMessage.cs (5)
120
if (this.nativePropertiesHandle.
IsAllocated
)
122
if (this.idsHandle.
IsAllocated
)
124
if (this.variantsHandle.
IsAllocated
)
343
if (bufferHandle.
IsAllocated
)
472
if (bufferHandle.
IsAllocated
)
System.Web (6)
FileChangesMonitor.cs (1)
514
if (_rootCallback.
IsAllocated
) {
RootedObjects.cs (1)
113
if (_handle.
IsAllocated
) {
Util\GCUtil.cs (4)
28
if (gcHandle.
IsAllocated
) {
54
Debug.Assert(_handle.
IsAllocated
);
62
Debug.Assert(_handle.
IsAllocated
);
63
if (_handle.
IsAllocated
) {
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Control.cs (2)
14588
if (!rootRef.
IsAllocated
) {
14593
if (rootRef.
IsAllocated
) {
winforms\Managed\System\WinForms\NativeWindow.cs (5)
400
if (prevWindow.
IsAllocated
) {
1009
if (b.window.
IsAllocated
) {
1092
if (b.window.
IsAllocated
) {
1224
if (hashBuckets[bn].window.
IsAllocated
) {
1241
if (hashBuckets[bn].window.
IsAllocated
) {
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
1015
if (!rootRef.
IsAllocated
) {
1020
if (rootRef.
IsAllocated
) {
winforms\Managed\System\WinForms\Timer.cs (1)
184
if (timerRoot.
IsAllocated
) {
UIAutomationClient (1)
MS\Internal\Automation\WinEventWrap.cs (1)
79
if (_gchThis.
IsAllocated
)
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (1)
76
if (_gchThis.
IsAllocated
)
WindowsBase (5)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (5)
170
if (gcSourceBuf.
IsAllocated
)
173
if (gcSinkBuf.
IsAllocated
)
318
if (gcSourceBuf.
IsAllocated
)
321
if (gcSinkBuf.
IsAllocated
)
367
if (gcHandle.
IsAllocated
)
WsatConfig (1)
Configuration\HttpWrapper.cs (1)
211
if (pinnedAddress.
IsAllocated
)
WsatUI (1)
Configuration\HttpWrapper.cs (1)
211
if (pinnedAddress.
IsAllocated
)