152 references to KeepAlive
mscorlib (33)
system\gc.cs (1)
322
KeepAlive
(wo);
system\reflection\emit\dynamicmethod.cs (1)
754
GC.
KeepAlive
(this);
system\rttype.cs (3)
1996
GC.
KeepAlive
(methodHandle);
2129
GC.
KeepAlive
(methodInstantiation);
2178
GC.
KeepAlive
(field);
system\runtime\compilerservices\runtimehelpers.cs (1)
118
GC.
KeepAlive
(instantiation);
system\runtime\remoting\context.cs (1)
657
GC.
KeepAlive
(this);
system\runtimehandles.cs (21)
696
GC.
KeepAlive
(inst);
861
GC.
KeepAlive
(typeContext);
862
GC.
KeepAlive
(methodContext);
1143
GC.
KeepAlive
(m_value);
1182
GC.
KeepAlive
(method);
1214
GC.
KeepAlive
(method);
1229
GC.
KeepAlive
(method);
1247
GC.
KeepAlive
(method);
1295
GC.
KeepAlive
(method);
1374
GC.
KeepAlive
(method);
1391
GC.
KeepAlive
(method);
1404
GC.
KeepAlive
(method);
1427
GC.
KeepAlive
(method);
1707
GC.
KeepAlive
(field);
1938
GC.
KeepAlive
(typeInstantiationContext);
1939
GC.
KeepAlive
(methodInstantiationContext);
1975
GC.
KeepAlive
(typeInstantiationContext);
1976
GC.
KeepAlive
(methodInstantiationContext);
2028
GC.
KeepAlive
(typeInstantiationContext);
2029
GC.
KeepAlive
(methodInstantiationContext);
2202
GC.
KeepAlive
(fieldHandle);
system\security\principal\windowsidentity.cs (1)
129
GC.
KeepAlive
(safeTokenHandle);
system\threading\Tasks\Task.cs (2)
5128
GC.
KeepAlive
(tasks);
5505
GC.
KeepAlive
(tasks);
system\threading\waithandle.cs (2)
368
GC.
KeepAlive
(internalWaitHandles);
472
GC.
KeepAlive
(internalWaitHandles);
PresentationCore (11)
Core\CSharp\MS\Internal\TextFormatting\FullTextBreakpoint.cs (2)
133
GC.
KeepAlive
(context);
240
GC.
KeepAlive
(this);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (3)
174
GC.
KeepAlive
(this);
350
GC.
KeepAlive
(context);
679
GC.
KeepAlive
(context);
Core\CSharp\MS\Internal\TextFormatting\TextPenaltyModule.cs (2)
96
GC.
KeepAlive
(this);
123
GC.
KeepAlive
(this);
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
171
GC.
KeepAlive
(contextInfo);
Core\CSharp\System\Windows\Media\TextFormatting\TextLineBreak.cs (1)
130
GC.
KeepAlive
(this);
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (2)
115
GC.
KeepAlive
(context);
185
GC.
KeepAlive
(this);
PresentationFramework (7)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
683
GC.
KeepAlive
(target); // keep target alive during changes (bug 956831)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
504
GC.
KeepAlive
(target); // keep target alive during process xml change (bug 1494812)
src\Framework\System\Windows\Controls\ListBox.cs (1)
864
GC.
KeepAlive
(anchorInfo);
src\Framework\System\Windows\Data\BindingExpression.cs (4)
568
GC.
KeepAlive
(target); // keep target alive during activation (bug 956831)
850
GC.
KeepAlive
(target); // keep target alive during activation (bug 956831)
1037
GC.
KeepAlive
(target); // keep target alive during activation (bug 956831)
1511
GC.
KeepAlive
(target); // keep target alive during transfer (bug 956831)
System (2)
net\System\Net\NetworkInformation\ping.cs (1)
738
GC.
KeepAlive
(replyBuffer);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
41
GC.
KeepAlive
(callback);
System.AddIn (1)
System\Addin\Pipeline\ContractAdapter.cs (1)
103
System.GC.
KeepAlive
(contract);
System.Core (3)
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (2)
56
GC.
KeepAlive
(certContext);
135
GC.
KeepAlive
(safeCertContext);
System\Security\Cryptography\X509Certificates\X509Native.cs (1)
219
GC.
KeepAlive
(certificate);
System.Data (6)
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
780
GC.
KeepAlive
(this);
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
384
GC.
KeepAlive
(this);
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (2)
236
GC.
KeepAlive
(this);
273
GC.
KeepAlive
(this);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
945
GC.
KeepAlive
(this);
980
GC.
KeepAlive
(this);
System.Drawing (18)
commonui\System\Drawing\Advanced\EncoderParameter.cs (18)
83
GC.
KeepAlive
(this);
109
GC.
KeepAlive
(this);
131
GC.
KeepAlive
(this);
150
GC.
KeepAlive
(this);
169
GC.
KeepAlive
(this);
191
GC.
KeepAlive
(this);
213
GC.
KeepAlive
(this);
239
GC.
KeepAlive
(this);
253
GC.
KeepAlive
(this);
276
GC.
KeepAlive
(this);
299
GC.
KeepAlive
(this);
320
GC.
KeepAlive
(this);
346
GC.
KeepAlive
(this);
375
GC.
KeepAlive
(this);
404
GC.
KeepAlive
(this);
439
GC.
KeepAlive
(this);
485
GC.
KeepAlive
(this);
529
GC.
KeepAlive
(this);
System.IO.Log (1)
System\IO\Log\SmuggledIUnknown.cs (1)
47
GC.
KeepAlive
(this);
System.Management (36)
Instrumentation\EventSource.cs (3)
159
GC.
KeepAlive
(this);
303
GC.
KeepAlive
(this);
360
GC.
KeepAlive
(this);
InteropClasses\WMIInterop.cs (33)
132
GC.
KeepAlive
(this);
147
GC.
KeepAlive
( this ) ;
169
GC.
KeepAlive
( this ) ;
177
GC.
KeepAlive
( this ) ;
185
GC.
KeepAlive
( this ) ;
193
GC.
KeepAlive
( this ) ;
202
GC.
KeepAlive
( this ) ;
212
GC.
KeepAlive
( this ) ;
220
GC.
KeepAlive
( this ) ;
234
GC.
KeepAlive
( this ) ;
248
GC.
KeepAlive
( this ) ;
256
GC.
KeepAlive
( this ) ;
270
GC.
KeepAlive
( this ) ;
284
GC.
KeepAlive
( this ) ;
292
GC.
KeepAlive
( this ) ;
300
GC.
KeepAlive
( this ) ;
308
GC.
KeepAlive
( this ) ;
329
GC.
KeepAlive
( this ) ;
337
GC.
KeepAlive
( this ) ;
345
GC.
KeepAlive
( this ) ;
353
GC.
KeepAlive
( this ) ;
375
GC.
KeepAlive
( this ) ;
383
GC.
KeepAlive
( this ) ;
396
GC.
KeepAlive
( this ) ;
404
GC.
KeepAlive
( this ) ;
497
GC.
KeepAlive
(this);
513
GC.
KeepAlive
( this ) ;
522
GC.
KeepAlive
( this ) ;
530
GC.
KeepAlive
( this ) ;
538
GC.
KeepAlive
( this ) ;
546
GC.
KeepAlive
( this ) ;
554
GC.
KeepAlive
( this ) ;
562
GC.
KeepAlive
( this ) ;
System.Security (9)
system\security\cryptography\pkcs\envelopedpkcs7.cs (7)
295
GC.
KeepAlive
(ctrlDecryptPara);
340
GC.
KeepAlive
(keyAgreeDecryptPara);
341
GC.
KeepAlive
(pOriginatorCert);
348
GC.
KeepAlive
(cmsgDecryptParam);
483
GC.
KeepAlive
(encryptParam);
484
GC.
KeepAlive
(recipients);
485
GC.
KeepAlive
(certContexts);
system\security\cryptography\pkcs\signedpkcs7.cs (1)
367
GC.
KeepAlive
(signer);
system\security\cryptography\x509\x509utils.cs (1)
138
GC.
KeepAlive
(certificate);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedImpersonationContext.cs (1)
96
GC.
KeepAlive
(tokenHandle);
System.Web (4)
Hosting\HostingEnvironment.cs (1)
1543
GC.
KeepAlive
(registeredWaitHandle);
Util\AppVerifier.cs (3)
648
GC.
KeepAlive
(errorCode);
649
GC.
KeepAlive
(fullMessage);
650
GC.
KeepAlive
(ex);
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Application.cs (1)
783
GC.
KeepAlive
(callback);
winforms\Managed\System\WinForms\CommonDialog.cs (1)
328
GC.
KeepAlive
(ownerProc);
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
80
GC.
KeepAlive
(events);
winforms\Managed\System\WinForms\Form.cs (1)
5556
GC.
KeepAlive
(callback);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
7114
GC.
KeepAlive
(this);
7141
GC.
KeepAlive
(this);
7171
GC.
KeepAlive
(this);
7201
GC.
KeepAlive
(this);
UIAutomationClient (7)
MS\Internal\Automation\UiaCoreAPI.cs (7)
377
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
389
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
401
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
443
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
460
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
461
GC.
KeepAlive
(findCondition);
613
GC.
KeepAlive
(request._condition); // keep condition (and associated unmanaged memory) alive during call
WindowsBase (1)
Shared\MS\Win32\HwndWrapper.cs (1)
182
GC.
KeepAlive
(initialWndProc);
WsatConfig (2)
Configuration\WsatServiceCertificate.cs (2)
89
GC.
KeepAlive
(sockAddr);
150
GC.
KeepAlive
(sockAddr);
WsatUI (2)
Configuration\WsatServiceCertificate.cs (2)
89
GC.
KeepAlive
(sockAddr);
150
GC.
KeepAlive
(sockAddr);