public void RaiseIfSetWithNegativeIndex() { BaseIndexedObject obj = new BaseIndexedObject(); obj.SetIndexedValue(-3, "foo"); }