Implemented interface member:
29 references to Dispose
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
SuggestedActionsSource.cs (1)
66_state.Dispose();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionsSource.cs (1)
66_state.Dispose();
Microsoft.CodeAnalysis.Features (1)
Shared\Utilities\CompilationAvailableEventSource.cs (1)
38=> _cancellationSeries.Dispose();
Microsoft.CodeAnalysis.Workspaces (15)
ReferenceCountedDisposable.cs (7)
26/// <item>The reference is explicitly released by a call to <see cref="Dispose"/>.</item> 33/// (i.e. by calling <see cref="Dispose"/>), the target object will itself be deterministically released by a 65/// collected without having <see cref="Dispose"/> called.</para> 110/// <para>This call is not valid after <see cref="Dispose"/> is called. If this property or the target 111/// object is used concurrently with a call to <see cref="Dispose"/>, it is possible for the code to be 114/// <see cref="Dispose"/> is called is unspecified; code is expected to not use this property or the object 115/// it returns after any code invokes <see cref="Dispose"/>.</para>
Storage\AbstractPersistentStorageService.cs (3)
77_ = Task.Run(storageToDispose.Dispose, CancellationToken.None); 164storage?.Dispose(); 200=> _storage.Dispose();
Storage\SQLite\v2\SQLiteConnectionPoolService.cs (2)
71pool.Dispose(); 113pool.Dispose();
Storage\SQLite\v2\SQLitePersistentStorage.cs (1)
128_connectionPool.Dispose();
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (2)
186_memoryMappedFile.Dispose(); 207_accessor.Dispose();
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
WorkspaceServiceTests\ReferenceCountedDisposableTests.cs (11)
36reference.Dispose(); 50reference.Dispose(); 66reference.Dispose(); 83reference2.Dispose(); 86reference3.Dispose(); 89reference.Dispose(); 105reference.Dispose(); 116reference2.Dispose(); 119reference3.Dispose(); 145reference.Dispose(); 170reference.Dispose();