Scenario: I have made some utilities to generate C# code, however, I just utilize literal string
with string.format, which is not good enough after Roslyn come out. So I tried to generate semantic
code using Roslyn.
My code generator requires to generate code with right indentation, so I need to prefix spaces for
each line of a string. After google the world, there isn’t a out-of-box solution for me to use,
finally I came up with my own solution: