add reference to System (for Debug.Assert)
move InvalidEnumArgumentException to the project root
 to
move InvalidEnumArgumentException to the project root