2 writes to _axInstance
PresentationFramework (2)
System\Windows\Interop\ActiveXHost.cs (2)
558
_axInstance
= CreateActiveXObject(_clsid);
592
_axInstance
= null;
10 references to _axInstance
PresentationFramework (10)
System\Windows\Interop\ActiveXHost.cs (10)
556
Debug.Assert(
_axInstance
== null, "_axInstance must be null");
559
Debug.Assert(
_axInstance
!= null, "w/o an exception being thrown we must have an object...");
585
if (
_axInstance
!= null)
591
Marshal.FinalReleaseComObject(
_axInstance
);
790
return
_axInstance
;
941
Debug.Assert(
_axInstance
!= null, "The native control is null");
942
_axOleObject = (UnsafeNativeMethods.IOleObject)
_axInstance
;
943
_axOleInPlaceObject = (UnsafeNativeMethods.IOleInPlaceObject)
_axInstance
;
944
_axOleInPlaceActiveObject = (UnsafeNativeMethods.IOleInPlaceActiveObject)
_axInstance
;
948
AttachInterfaces(
_axInstance
);