CSharpProjectContent is immutable.

All of its modify methods instead return a modified clone, thus calling them in void context has no effect.