3 writes to _controlToSendTo
System.Windows.Forms (3)
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (3)
30
_controlToSendTo
= Application.ThreadContext.FromCurrent().MarshallingControl;
36
_controlToSendTo
= marshalingControl;
72
_controlToSendTo
= null;
7 references to _controlToSendTo
System.Windows.Forms (7)
System\Windows\Forms\WindowsFormsSynchronizationContext.cs (7)
31
Debug.Assert(
_controlToSendTo
.IsHandleCreated, "Marshaling control should have created its handle in its ctor.");
39
_controlToSendTo
is null ||
_controlToSendTo
.IsHandleCreated,
65
if (
_controlToSendTo
is { } control)
86
_controlToSendTo
?.Invoke(d, [state]);
90
=>
_controlToSendTo
?.BeginInvoke(d, [state]);
93
=> new WindowsFormsSynchronizationContext(
_controlToSendTo
, DestinationThread);