2 writes to _defaultTextStore
PresentationCore (2)
System\Windows\Input\TextServicesContext.cs (2)
94_defaultTextStore = null; 192_defaultTextStore = defaultTextStore;
17 references to _defaultTextStore
PresentationCore (17)
System\Windows\Input\TextServicesContext.cs (17)
76if (_defaultTextStore != null) 79if (_defaultTextStore.DocumentManager != null) 81_defaultTextStore.DocumentManager.Pop(UnsafeNativeMethods.PopFlags.TF_POPF_ALL); 82Marshal.ReleaseComObject(_defaultTextStore.DocumentManager); 83_defaultTextStore.DocumentManager = null; 215doc.CreateContext(_clientId, 0 /* flags */, _defaultTextStore, out context, out editCookie); 222_defaultTextStore.DocumentManager = doc; 223_defaultTextStore.EditCookie = editCookie; 345compmgr = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr; 355source = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfSource; 359source.AdviseSink(ref guid, _defaultTextStore, out transitoryExtensionSinkCookie); 360_defaultTextStore.TransitoryExtensionSinkCookie = transitoryExtensionSinkCookie; 370if (_defaultTextStore.TransitoryExtensionSinkCookie != UnsafeNativeMethods.TF_INVALID_COOKIE) 373source = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfSource; 377source.UnadviseSink(_defaultTextStore.TransitoryExtensionSinkCookie); 379_defaultTextStore.TransitoryExtensionSinkCookie = UnsafeNativeMethods.TF_INVALID_COOKIE; 384compmgr = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr;