public static IDisposable CreateWriterScope <T>(this ISynchronizableLock <T> sync) { return(sync.CreateWriterScope(-1)); }