1 implementation of IReferenceCountedDisposable
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (1)
56internal sealed class ReferenceCountedDisposable<T> : IReferenceCountedDisposable<T>, IDisposable
7 references to IReferenceCountedDisposable
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReferenceCountedDisposable.cs (1)
42IReferenceCountedDisposable<T>? TryAddReference();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (2)
133IReferenceCountedDisposable<T>? IReferenceCountedDisposable<T>.TryAddReference()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposableCache.cs (1)
22public IReferenceCountedDisposable<ICacheEntry<TKey, TValue>> GetOrCreate<TArg>(TKey key, Func<TKey, TArg, TValue> valueCreator, TArg arg)
Workspace\ProjectSystem\IRuleSetManager.cs (1)
12IReferenceCountedDisposable<ICacheEntry<string, IRuleSetFile>> GetOrCreateRuleSet(string ruleSetFileFullPath);
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
45private IReferenceCountedDisposable<ICacheEntry<string, IRuleSetFile>>? _ruleSetFile = null;
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\RuleSets\VisualStudioRuleSetManager.cs (1)
35var cacheEntry = _ruleSetFileMap.GetOrCreate(ruleSetFileFullPath, static (ruleSetFileFullPath, self) => new RuleSetFile(ruleSetFileFullPath, self), this);