I have been looking all over for an answer to this question, but can't seem to find a satisfactory answer. Maybe someone here can enlighten me.
I have a descendent of BindingList<T>
that stores a reference to a SynchronizationContext
object in order to raise its changed events on the UI thread.
Now, it's also possible that this BindingList<T>
was created and used on the UI thread and not a background thread. How do I check this without a property like InvokeRequired
available to me? What are the consequences of calling SynchronizationContext.Send
on the UI thread?