2 writes to _defaultTextStore
PresentationCore (2)
System\Windows\Input\TextServicesContext.cs (2)
100_defaultTextStore = null; 198_defaultTextStore = defaultTextStore;
17 references to _defaultTextStore
PresentationCore (17)
System\Windows\Input\TextServicesContext.cs (17)
82if (_defaultTextStore != null) 85if (_defaultTextStore.DocumentManager != null) 87_defaultTextStore.DocumentManager.Pop(UnsafeNativeMethods.PopFlags.TF_POPF_ALL); 88Marshal.ReleaseComObject(_defaultTextStore.DocumentManager); 89_defaultTextStore.DocumentManager = null; 221doc.CreateContext(_clientId, 0 /* flags */, _defaultTextStore, out context, out editCookie); 228_defaultTextStore.DocumentManager = doc; 229_defaultTextStore.EditCookie = editCookie; 351compmgr = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr; 361source = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfSource; 365source.AdviseSink(ref guid, _defaultTextStore, out transitoryExtensionSinkCookie); 366_defaultTextStore.TransitoryExtensionSinkCookie = transitoryExtensionSinkCookie; 376if (_defaultTextStore.TransitoryExtensionSinkCookie != UnsafeNativeMethods.TF_INVALID_COOKIE) 379source = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfSource; 383source.UnadviseSink(_defaultTextStore.TransitoryExtensionSinkCookie); 385_defaultTextStore.TransitoryExtensionSinkCookie = UnsafeNativeMethods.TF_INVALID_COOKIE; 390compmgr = _defaultTextStore.DocumentManager as UnsafeNativeMethods.ITfCompartmentMgr;