private void CheckContextClosed() { if(_isOpen == true) { throw new Exception("Context not closed"); } }