7 instantiations of DisposableObject
Microsoft.CodeAnalysis.Workspaces.UnitTests (7)
WorkspaceServiceTests\ReferenceCountedDisposableTests.cs (7)
27
var target = new
DisposableObject
();
47
var target = new
DisposableObject
();
58
var target = new
DisposableObject
();
77
var target = new
DisposableObject
();
97
var target = new
DisposableObject
();
139
var target = new
DisposableObject
();
159
var target = new
DisposableObject
();
18 references to DisposableObject
Microsoft.CodeAnalysis.Workspaces.UnitTests (18)
WorkspaceServiceTests\ReferenceCountedDisposableTests.cs (18)
27
var
target = new DisposableObject();
29
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
47
var
target = new DisposableObject();
49
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
58
var
target = new DisposableObject();
60
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
77
var
target = new DisposableObject();
79
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
97
var
target = new DisposableObject();
99
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
100
var weakReference = new ReferenceCountedDisposable<
DisposableObject
>.WeakReference(reference);
139
var
target = new DisposableObject();
140
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
147
var weakReference = new ReferenceCountedDisposable<
DisposableObject
>.WeakReference(reference);
159
var
target = new DisposableObject();
160
var reference = new ReferenceCountedDisposable<
DisposableObject
>(target);
164
var weakReference = new ReferenceCountedDisposable<
DisposableObject
>.WeakReference(reference);
172
var secondWeakReference = new ReferenceCountedDisposable<
DisposableObject
>.WeakReference(reference);