Implemented interface member:
method
Dispose
System.IDisposable.Dispose()
61 references to Dispose
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\StackExchangeRedisConnectionInstrumentation.cs (1)
105this.stopHandle.Dispose();
csc (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (1)
372asyncResult._manualResetEvent.Dispose();
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InputQueue.cs (1)
1056_waitEvent.Dispose();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (1)
386_waitHandle.Dispose();
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
2256_wait.Dispose();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
220_wait.Dispose();
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
794_wait.Dispose();
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
174mutex?.Dispose();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Async\AsynchronousOperationBlocker.cs (1)
82_waitHandle.Dispose();
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\MetadataAsSourceFileService.cs (1)
133acquiredMutex.Dispose();
Microsoft.CodeAnalysis.Test.Utilities (1)
FX\EventWaiter.cs (1)
101_eventSignal.Dispose();
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
174mutex?.Dispose();
Replay (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();
ScenarioTests.Common.Tests (5)
ScenarioTestTypes.cs (5)
1244LogReceived.Dispose(); 1245ReceiveDataInvoked.Dispose(); 1246ReceiveDataCompleted.Dispose(); 1247ReceiveStreamInvoked.Dispose(); 1248ReceiveStreamCompleted.Dispose();
System.Diagnostics.Process (3)
System\Diagnostics\Process.cs (1)
1383wh?.Dispose();
System\Diagnostics\Process.Unix.cs (1)
190_waitHandle?.Dispose();
System\Diagnostics\ProcessWaitState.Unix.cs (1)
244_exitedEvent.Dispose();
System.Net.HttpListener (3)
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (3)
141waitHandle.Dispose(); 155waitHandle?.Dispose(); 451oldEvent?.Dispose();
System.Net.Requests (3)
src\libraries\Common\src\System\Net\LazyAsyncResult.cs (3)
141waitHandle.Dispose(); 155waitHandle?.Dispose(); 451oldEvent?.Dispose();
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (2)
106mre.Dispose(); 565mre.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (2)
666newWaitEvent.Dispose(); 697internal void Dispose() => _waitEvent?.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (2)
231newEventObj.Dispose(); 637eventObj.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\NamedMutex.Unix.cs (1)
471_processLevelMutex.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\ReaderWriterLockSlim.cs (5)
940newEvent.Dispose(); 1262_writeEvent.Dispose(); 1268_readEvent.Dispose(); 1274_upgradeEvent.Dispose(); 1280_waitUpgradeEvent.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\RegisteredWaitHandle.Portable.cs (1)
83resetEvent.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\SemaphoreSlim.cs (1)
946wh.Dispose();
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (1)
87public virtual void Close() => Dispose();
System.ServiceModel.Federation (1)
System\Runtime\OperationWithTimeoutAsyncResult.cs (1)
384asyncResult._manualResetEvent.Dispose();
System.ServiceModel.Primitives (5)
Internals\System\Runtime\AsyncResult.cs (1)
347asyncResult._manualResetEvent.Dispose();
Internals\System\Runtime\InputQueue.cs (1)
1130_waitEvent.Dispose();
System\ServiceModel\Channels\ServiceChannel.cs (1)
2320_wait.Dispose();
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
219_wait.Dispose();
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
795_wait.Dispose();
System.Threading (2)
System\Threading\ReaderWriterLock.cs (2)
1053currentEvent.Dispose(); 1103writerEvent?.Dispose();
vbc (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();
VBCSCompiler (2)
src\Compilers\Shared\BuildServerConnection.cs (2)
986m?.Dispose(); 1012Mutex.Dispose();