Skip to content

Instantly share code, notes, and snippets.

@atzimler
Created March 1, 2019 00:02
Show Gist options
  • Save atzimler/85e3d26467452805a6954ee474ac3b8d to your computer and use it in GitHub Desktop.
Save atzimler/85e3d26467452805a6954ee474ac3b8d to your computer and use it in GitHub Desktop.
CheckReentrancy .NET Reference Code Reference
if ((CollectionChanged != null) && (CollectionChanged.GetInvocationList().Length > 1))
throw new InvalidOperationException(SR.GetString(SR.ObservableCollectionReentrancyNotAllowed));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment