You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compilation fails when last character is a double quote in raw string literal:
"hello \"there\"" // baseline: hello "there"
"""hello "there"""" // error CS8998: The raw string literal does not start with enough quote characters to allow this many consecutive quote characters as content.
"""hello "there" """ // allowed with (undesired) extra trailing space
The text was updated successfully, but these errors were encountered:
thanks for highlighting it's a design decision. with your approach, it keeps the string length intact (no trailing space). that fixed my unit tests where i started using raw strings.
compilation fails when last character is a double quote in raw string literal:
The text was updated successfully, but these errors were encountered: