2 writes to _source
PresentationCore (2)
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (2)
38_source = new SecurityCriticalDataClass<HwndSource>(source); 89_source = null;
38 references to _source
PresentationCore (38)
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (38)
58StopTracking(_source.Value.CriticalHandle); 63Debug.Assert(null != _source && null != _source.Value); 65if(_source.Value.HasCapture ) 100Debug.Assert(null != _source && null != _source.Value); 102return _source.Value.RootVisual == v; 115StopTracking(_source.Value.CriticalHandle); 167Debug.Assert(null != _source && null != _source.Value); 171SafeNativeMethods.SetCapture(new HandleRef(this,_source.Value.CriticalHandle)); 173if (capture != _source.Value.CriticalHandle) 202SafeNativeMethods.ScreenToClient(new HandleRef(this, _source.Value.CriticalHandle), ptCursor); 213ReportInput(_source.Value.CriticalHandle, 387if(null == _source || null == _source.Value) 737IntPtr hwndCurrent = _source.Value.CriticalHandle; 792if(lParam != _source.Value.CriticalHandle) // Ignore odd messages that claim we are losing capture to ourselves. 844if(_source.Value.HasCapture ) 929if( _source != null && !_source.Value.IsDisposed && _source.Value.CompositionTarget != null) 930dispatcherHashCode = _source.Value.CompositionTarget.Dispatcher.GetHashCode(); 961if (null == _source || null == _source.Value ) 1008if (!stillActiveIfOverSelf && hwndToCheck == _source.Value.CriticalHandle) 1051ReportInput(_source.Value.CriticalHandle, 1130Debug.Assert(null != _source && null != _source.Value); 1139if(hwndSource.Dispatcher == _source.Value.Dispatcher) 1184Debug.Assert(null != _source && null != _source.Value); 1185if (_source == null || _source.Value == null) 1190PresentationSource source = _source.Value; 1343int windowStyle = SafeNativeMethods.GetWindowStyle(new HandleRef(this, _source.Value.CriticalHandle), true); 1348SafeNativeMethods.GetClientRect(new HandleRef(this,_source.Value.Handle), ref rcClient); 1404currentPosition = PointUtil.ClientToScreen(currentPosition, _source.Value);