There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Thread issue in Newtonsoft.Json.Serialization.DefaultMappingResolver
in "public virtual JsonMemberMappingCollection ResolveMappings(Type type)"
_typeMemberMappingsCache's TryGetValue is not thread safe, and should not be used outside of the lock.
If we only read the collection, then we are fine, but since there is a chance that we are modifying the collection in one thread (inside the lock) as we are reading it in another (outside the lock), data can get corrupted (reads can fail, or return incorrect data).