2 writes to _source
PresentationCore (2)
System\Windows\InterOp\HwndMouseInputProvider.cs (2)
27_source = source; 71_source = null;
29 references to _source
PresentationCore (29)
System\Windows\InterOp\HwndMouseInputProvider.cs (29)
42StopTracking(_source.CriticalHandle); 47if(_source.HasCapture) 76return _source.RootVisual == v; 83StopTracking(_source.CriticalHandle); 124Debug.Assert(_source is not null); 128SafeNativeMethods.SetCapture(new HandleRef(this, _source.CriticalHandle)); 130if (capture != _source.CriticalHandle) 158SafeNativeMethods.ScreenToClient(new HandleRef(this, _source.CriticalHandle), ref ptCursor); 169ReportInput(_source.CriticalHandle, 327if(_source is null) 677IntPtr hwndCurrent = _source.CriticalHandle; 731if(lParam != _source.CriticalHandle) // Ignore odd messages that claim we are losing capture to ourselves. 783if(_source.HasCapture) 870if(_source != null && !_source.IsDisposed && _source.CompositionTarget != null) 871dispatcherHashCode = _source.CompositionTarget.Dispatcher.GetHashCode(); 895if (_source is null) 942if (!stillActiveIfOverSelf && hwndToCheck == _source.CriticalHandle) 984ReportInput(_source.CriticalHandle, 1093Assembly presentationFramework = GetPresentationFrameworkFromHwndSource(_source); 1189Debug.Assert(_source is not null); 1197if(hwndSource.Dispatcher == _source.Dispatcher) 1234Debug.Assert(_source is not null); 1235if (_source is null) 1240PresentationSource source = _source; 1393int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this, _source.CriticalHandle), true); 1398SafeNativeMethods.GetClientRect(new HandleRef(this, _source.Handle), ref rcClient); 1448currentPosition = PointUtil.ClientToScreen(currentPosition, _source);