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