diff --git a/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs b/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs index 8e80bfa976863..73b518e1b966e 100644 --- a/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs +++ b/src/Compilers/CSharp/Portable/Syntax/SyntaxNormalizer.cs @@ -312,7 +312,7 @@ private bool NeedsSeparator(SyntaxToken token, SyntaxToken next) return false; } - if (IsXmlTextToken(token.Kind()) || IsXmlTextToken(token.Kind())) + if (IsXmlTextToken(token.Kind()) || IsXmlTextToken(next.Kind())) { return false; }