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)
31Debug.Assert(_controlToSendTo.IsHandleCreated, "Marshaling control should have created its handle in its ctor."); 39_controlToSendTo is null || _controlToSendTo.IsHandleCreated, 65if (_controlToSendTo is { } control) 86_controlToSendTo?.Invoke(d, [state]); 90=> _controlToSendTo?.BeginInvoke(d, [state]); 93=> new WindowsFormsSynchronizationContext(_controlToSendTo, DestinationThread);