Not sure what the bug is, however the official documentation at https://learn.microsoft.com/en-us/do...et-6.0#remarks indicates that it isn't thread safe.