3 references to TryAddReference
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
138/// <see cref="WeakReference.TryAddReference"/>.
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposableCache.cs (1)
31disposable = weakReference.TryAddReference();
TemporaryStorage\TemporaryStorageService.MemoryMappedInfo.cs (1)
78var streamAccessor = _weakReadAccessor.TryAddReference();