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