// Token: 0x06008E0D RID: 36365 RVA: 0x0025B110 File Offset: 0x00259310 public AutoLocker(LockHelper helper, LockHelper.LockFlag flag) { if (helper == null) { throw new ArgumentNullException("helper"); } this._helper = helper; this._flag = flag; this._helper.Lock(this._flag); }
public AutoLocker(LockHelper helper, LockFlag flag) { if (helper == null) { throw new ArgumentNullException("helper"); } Debug.Assert(!helper.IsLocked(flag)); _helper = helper; _flag = flag; // Lock the locker at the object's creation time. _helper.Lock(_flag); }
public AutoLocker(LockHelper helper, LockFlag flag) { if(helper == null) { throw new ArgumentNullException("helper"); } Debug.Assert(!helper.IsLocked(flag)); _helper = helper; _flag = flag; // Lock the locker at the object's creation time. _helper.Lock(_flag); }