V5.12.1 container.RegisterValidators() - Exception: Collection was modified; enumeration operation may not execute

this looks to be the critical code in ValidationFeature.cs, ValidationExtensions class:

Thx for highlighting the issue, it should be resolved in this commit.

This change is available from v5.13.1+ that’s now available on MyGet.

1 Like