[cs] fix some spaces and newlines in property generation