internal void Dispose(CodegenUnit unit) { lock (_unitsLock) { var key = _units.Single(kvp => kvp.Value == unit).Key; _units.Remove(key); } }
internal void Dispose(CodegenUnit unit) { lock (_unitsLock) { var key = _units.Single(kvp => kvp.Value == unit).Key; _units.Remove(key); } }