Message "xxx" is not "private readonly", and should not be used for locking. "xxx" is a local variable, and should not be used for locking. Locking on a new instance is a no-op. Strings can be interned, and should not be used for locking.