3 writes to _managedObjectWeakReference
Microsoft.VisualStudio.LanguageServices (3)
Interop\WeakComHandle.cs (3)
40
_managedObjectWeakReference
= null;
60
_managedObjectWeakReference
= new WeakReference(managedObject);
79
_managedObjectWeakReference
= new WeakReference(handle.Object);
8 references to _managedObjectWeakReference
Microsoft.VisualStudio.LanguageServices (8)
Interop\WeakComHandle.cs (8)
90
if (
_managedObjectWeakReference
== null)
96
var target =
_managedObjectWeakReference
.Target;
128
if (
_managedObjectWeakReference
== null)
134
managedObject =
_managedObjectWeakReference
.Target as TObject;
148
Debug.Assert(
_managedObjectWeakReference
!= null);
149
if (
_managedObjectWeakReference
.Target is TObject managedObject)
169
if (
_managedObjectWeakReference
== null)
174
return
_managedObjectWeakReference
.IsAlive;