Add missing Debug.Assert's