Implemented interface member:
method
Dispose
System.IDisposable.Dispose()
41 references to Dispose
mscorlib (17)
system\io\filestream.cs (4)
2646readTask._registration.Dispose(); 2698writeTask._registration.Dispose(); 2767readTask._registration.Dispose(); 2803writeTask._registration.Dispose();
system\threading\CancellationTokenSource.cs (1)
584linkingRegistrations[i].Dispose();
system\threading\SemaphoreSlim.cs (1)
429cancellationTokenRegistration.Dispose();
system\threading\Tasks\Parallel.cs (9)
1270ctr.Dispose(); 1282ctr.Dispose(); 1294ctr.Dispose(); 1583ctr.Dispose(); 1595ctr.Dispose(); 1607ctr.Dispose(); 3477ctr.Dispose(); 3489ctr.Dispose(); 3502ctr.Dispose();
system\threading\Tasks\Task.cs (2)
301try { m_cancellationRegistration.Value.Dispose(); } 5949Registration.Dispose();
System (9)
net\System\Net\WebSockets\ClientWebSocket.cs (1)
200connectCancellation.Dispose();
net\System\Net\WebSockets\WebSocketConnectionStream.cs (4)
152cancellationTokenRegistration.Dispose(); 234cancellationTokenRegistration.Dispose(); 280cancellationTokenRegistration.Dispose(); 352cancellationTokenRegistration.Dispose();
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (4)
195cancellationTokenRegistration.Dispose(); 403cancellationTokenRegistration.Dispose(); 474cancellationTokenRegistration.Dispose(); 657cancellationTokenRegistration.Dispose();
System.Core (2)
System\IO\Pipes\IOCancellationHelper.cs (1)
59this._cancellationRegistration.Dispose();
System\Linq\ParallelEnumerable.cs (1)
381dummyRegistration.Dispose();
System.Data (10)
fx\src\data\System\Data\Common\DBCommand.cs (3)
222registration.Dispose(); 258registration.Dispose(); 282registration.Dispose();
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (3)
2591regReconnectCancel.Dispose(); 2601onFailure: (e) => { regReconnectCancel.Dispose(); }, 2602onCancellation: () => { regReconnectCancel.Dispose(); },
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
2426registration.Dispose(); 2490registration.Dispose(); 2594registration.Dispose();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1468_registration.Dispose();
WindowsBase (3)
Base\System\Windows\Threading\Dispatcher.cs (3)
1089operation.Aborted += (s,e) => cancellationRegistration.Dispose(); 1090operation.Completed += (s,e) => cancellationRegistration.Dispose(); 1543ctTimeoutRegistration.Dispose();