Implemented interface member:
22 references to Dispose
Microsoft.CodeAnalysis.EditorFeatures (3)
Preview\AbstractPreviewFactoryService.cs (2)
713leftWorkspace?.Dispose(); 716rightWorkspace?.Dispose();
Suggestions\SuggestedActionsSource.cs (1)
58=> _state.Dispose();
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (7)
28/// <item>The reference is explicitly released by a call to <see cref="Dispose"/>.</item> 35/// (i.e. by calling <see cref="Dispose"/>), the target object will itself be deterministically released by a 67/// collected without having <see cref="Dispose"/> called.</para> 112/// <para>This call is not valid after <see cref="Dispose"/> is called. If this property or the target 113/// object is used concurrently with a call to <see cref="Dispose"/>, it is possible for the code to be 116/// <see cref="Dispose"/> is called is unspecified; code is expected to not use this property or the object 117/// it returns after any code invokes <see cref="Dispose"/>.</para>
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
152accessor.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();