7 references to BoxedReferenceCount
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ReferenceCountedDisposable.cs (7)
74
/// counted reference to the same target object. Accesses to <see cref="
BoxedReferenceCount
._referenceCount"/>
81
private readonly
BoxedReferenceCount
_boxedReferenceCount;
98
private ReferenceCountedDisposable(T instance,
BoxedReferenceCount
referenceCount)
140
private static ReferenceCountedDisposable<T>? TryAddReferenceImpl(T? target,
BoxedReferenceCount
referenceCount)
229
private readonly
BoxedReferenceCount
? _boxedReferenceCount;
240
var
referenceCount = reference._boxedReferenceCount;
280
var
referenceCount = _boxedReferenceCount;