project-system
project-system copied to clipboard
Validate C# DefineConstants input
As can be seen in this bug, you can add arbitrary semicolons in the DefineConstants control and these will be saved. This PR
- Adds tests for KeyValuePairListEncoding
- Allows for different separators
- Since the CPS controls hands the property interceptor a comma-separated list of values, but each individual value may itself contain a semicolon-separated list of constants, the property interceptor is changed to first convert the comma-separated list to a semicolon-separated list, then parse it again and trim semicolons from each value