Raw string literal with interpolation adds extra indent in results ouput (LINQPad 9.3.22)

JohnGoldsmith
edited November 24 in General

In LINQPad 9.3.22 it looks like the indent before the closing quotes is applied to the result ouput for interpolated literals.

For example if you run the Samples / What's New in C# / What's New in C# 11 / Raw string literals - interpolation the you get the following ouput:

Note that the Raw string literals - indentation removal (no interpolation) sample renders correctly.

Best Answer

Answers