Fixes CodeDom regression introduced by 66d4b82a871667b3317d4e43b855d1fc1db22108