122 references to DangerousAddRef
mscorlib (9)
system\runtime\interopservices\safebuffer.cs (5)
193
DangerousAddRef
(ref junk);
231
DangerousAddRef
(ref mustCallRelease);
270
DangerousAddRef
(ref mustCallRelease);
305
DangerousAddRef
(ref mustCallRelease);
342
DangerousAddRef
(ref mustCallRelease);
system\security\principal\windowsidentity.cs (1)
1167
identity.m_safeTokenHandle.
DangerousAddRef
(ref mustDecrement);
system\stubhelpers.cs (1)
1779
pHandle.
DangerousAddRef
(ref success);
system\threading\threadpool.cs (2)
979
m_internalWaitObject.SafeWaitHandle.
DangerousAddRef
(ref bReleaseNeeded);
1919
osHandle.
DangerousAddRef
(ref mustReleaseSafeHandle);
PresentationCore (2)
Core\CSharp\System\Windows\Media\ColorTransformHelper.cs (2)
105
sourceProfile.
DangerousAddRef
(ref success);
107
destinationProfile.
DangerousAddRef
(ref success);
System (22)
net\System\Net\_NativeSSPI.cs (7)
104
context.
DangerousAddRef
(ref b);
131
context.
DangerousAddRef
(ref b);
266
context.
DangerousAddRef
(ref b);
295
context.
DangerousAddRef
(ref b);
332
context.
DangerousAddRef
(ref b);
362
context.
DangerousAddRef
(ref b);
438
phContext.
DangerousAddRef
(ref b);
net\System\Net\_SafeNetHandles.cs (12)
540
phContext.
DangerousAddRef
(ref b);
601
phContext.
DangerousAddRef
(ref b);
1346
target.
DangerousAddRef
(ref b);
1666
inCredentials.
DangerousAddRef
(ref b1);
1667
outContext.
DangerousAddRef
(ref b2);
1984
inCredentials.
DangerousAddRef
(ref b1);
1985
outContext.
DangerousAddRef
(ref b2);
2150
refContext.
DangerousAddRef
(ref b);
2271
refContext.
DangerousAddRef
(ref b);
2461
socket.
DangerousAddRef
(ref b);
2776
handle.
DangerousAddRef
(ref b);
2900
phContext.
DangerousAddRef
(ref b);
net\System\Net\ServicePoint.cs (1)
1467
safeHandle.
DangerousAddRef
(ref result);
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
642
zlibLibraryHandle.
DangerousAddRef
(ref addRefSuccess);
699
zlibLibraryHandle.
DangerousAddRef
(ref addRefSuccess);
System.Core (8)
Microsoft\Win32\SafeHandles\CapiSafeHandles.cs (2)
146
parentCsp.
DangerousAddRef
(ref addedRef);
380
DangerousAddRef
(ref acquired);
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (3)
93
parentHandle.
DangerousAddRef
(ref addedRef);
270
Holder.
DangerousAddRef
(ref addedRef);
324
holder.
DangerousAddRef
(ref addRef);
System\Security\Cryptography\CapiNative.cs (1)
988
DangerousAddRef
(ref addedRef);
System\Security\Cryptography\Xml\ManifestSignedXml.cs (2)
172
tokenBuffer.
DangerousAddRef
(ref acquired);
437
issuerKeyBuffer.
DangerousAddRef
(ref acquired);
System.Data (63)
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
637
parameterBuffer.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (1)
146
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (2)
2052
buffer.
DangerousAddRef
(ref mustRelease);
2218
buffer.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\Odbc\OdbcHandle.cs (2)
51
parentHandle.
DangerousAddRef
(ref mustRelease);
97
parentHandle.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\ColumnBinding.cs (5)
577
bindings.
DangerousAddRef
(ref mustRelease);
606
bindings.
DangerousAddRef
(ref mustRelease);
647
bindings.
DangerousAddRef
(ref mustRelease);
909
bindings.
DangerousAddRef
(ref mustRelease);
938
bindings.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\DBPropSet.cs (2)
169
DangerousAddRef
(ref mustRelease);
209
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\OleDbCommand.cs (3)
743
rowbinding.
DangerousAddRef
(ref mustRelease);
902
sptr.
DangerousAddRef
(ref mustReleaseStringHandle);
919
propSet.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (4)
1542
rowHandleBuffer.
DangerousAddRef
(ref mustRelease);
1592
rowBinding.
DangerousAddRef
(ref mustRelease);
1698
sptr[i].
DangerousAddRef
(ref mustRelease[i]);
1707
rowBinding.
DangerousAddRef
(ref mustReleaseBinding);
fx\src\data\System\Data\OleDb\OleDbTransaction.cs (2)
60
DangerousAddRef
(ref mustRelease);
84
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (3)
52
DangerousAddRef
(ref mustRelease);
99
DangerousAddRef
(ref mustRelease);
304
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
69
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\OleDb\RowBinding.cs (7)
132
DangerousAddRef
(ref mustRelease);
173
DangerousAddRef
(ref mustRelease);
199
DangerousAddRef
(ref mustRelease);
234
DangerousAddRef
(ref mustRelease);
267
DangerousAddRef
(ref mustRelease);
315
DangerousAddRef
(ref mustRelease);
547
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (22)
74
DangerousAddRef
(ref mustRelease);
99
DangerousAddRef
(ref mustRelease);
121
DangerousAddRef
(ref mustRelease);
149
DangerousAddRef
(ref mustRelease);
177
DangerousAddRef
(ref mustRelease);
204
DangerousAddRef
(ref mustRelease);
227
DangerousAddRef
(ref mustRelease);
248
DangerousAddRef
(ref mustRelease);
271
DangerousAddRef
(ref mustRelease);
292
DangerousAddRef
(ref mustRelease);
314
DangerousAddRef
(ref mustRelease);
351
DangerousAddRef
(ref mustRelease);
371
DangerousAddRef
(ref mustRelease);
393
DangerousAddRef
(ref mustRelease);
415
DangerousAddRef
(ref mustRelease);
439
DangerousAddRef
(ref mustRelease);
461
DangerousAddRef
(ref mustRelease);
481
DangerousAddRef
(ref mustRelease);
503
DangerousAddRef
(ref mustRelease);
523
DangerousAddRef
(ref mustRelease);
543
DangerousAddRef
(ref mustRelease);
563
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (5)
343
_poolHandle.
DangerousAddRef
(ref mustRelease1);
344
_errorHandle.
DangerousAddRef
(ref mustRelease2);
345
_creationHandle.
DangerousAddRef
(ref mustRelease3);
1249
_waitHandles.
DangerousAddRef
(ref mustRelease);
1548
_waitHandles.
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\ProviderBase\WrappedIUnknown.cs (1)
53
DangerousAddRef
(ref mustRelease);
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
904
DangerousAddRef
( ref mustRelease );
1071
DangerousAddRef
( ref mustRelease );
System.IdentityModel (10)
System\IdentityModel\SafeCryptHandles.cs (1)
80
provHandle.
DangerousAddRef
(ref b);
System\IdentityModel\SspiSafeHandles.cs (9)
359
inCredentials.
DangerousAddRef
(ref b1);
360
outContext.
DangerousAddRef
(ref b2);
631
inCredentials.
DangerousAddRef
(ref b1);
632
outContext.
DangerousAddRef
(ref b2);
724
context.
DangerousAddRef
(ref b);
761
context.
DangerousAddRef
(ref b);
798
context.
DangerousAddRef
(ref b);
841
DangerousAddRef
(ref b);
1279
phContext.
DangerousAddRef
(ref b);
System.IdentityModel.Selectors (2)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
198
nativeToken.
DangerousAddRef
(ref mustRelease);
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (1)
138
nativeHandle.
DangerousAddRef
(ref mustRelease);
System.Security (1)
system\security\cryptography\cryptoapi.cs (1)
3000
parentHandle.
DangerousAddRef
(ref addedRef);
System.Web (1)
Util\TlsTokenBindingHandle.cs (1)
53
DangerousAddRef
(ref refAdded);
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
523
handle.
DangerousAddRef
(ref fRelease);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Misc.cs (1)
1013
handle.
DangerousAddRef
(ref fRelease);
WindowsBase (2)
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
642
zlibLibraryHandle.
DangerousAddRef
(ref addRefSuccess);
699
zlibLibraryHandle.
DangerousAddRef
(ref addRefSuccess);