This project is read-only.
2

Resolved

NormalizeWhitespace breaks preprocessor directives

description

Given this fragment
var node = SyntaxFactory.ParseSyntaxTree(
@"
#warning test1
#error test2
").GetRoot();
node.ToFullString() returns the original code, while node.NormalizeWhitespace().ToFullString() returns:
#warningtest1
#errortest2

file attachments

comments

angocke wrote Dec 4, 2014 at 9:06 PM

Fixed in changeset 599c077d59f3ebb012e98efadf9b0cd2a6d9e3f2