3 references to ReferenceCountedDisposable
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
45/// <para>Only use the <see cref="ReferenceCountedDisposable{T}(T)"/> constructor one time per target object.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposableCache.cs (1)
44disposable = new ReferenceCountedDisposable<Entry>(new Entry(this, key, valueCreator(key, arg)));
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
84streamAccessor = new ReferenceCountedDisposable<MemoryMappedViewAccessor>(rawAccessor);