Implemented interface member:
22 references to Dispose
Microsoft.CodeAnalysis.EditorFeatures (3)
Preview\AbstractPreviewFactoryService.cs (2)
713
leftWorkspace?.
Dispose
();
716
rightWorkspace?.
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)
152
accessor.
Dispose
();
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
WorkspaceServiceTests\ReferenceCountedDisposableTests.cs (11)
36
reference.
Dispose
();
50
reference.
Dispose
();
66
reference.
Dispose
();
83
reference2.
Dispose
();
86
reference3.
Dispose
();
89
reference.
Dispose
();
105
reference.
Dispose
();
116
reference2.
Dispose
();
119
reference3.
Dispose
();
145
reference.
Dispose
();
170
reference.
Dispose
();