public static string UnescapeInitialAndClosingDoubleQuotes(string code)
{
if (code.StartsWith(ClosingQuoteReplacement))
code = DoubleQuote + code.Substring(ClosingQuoteReplacement.Length);
if (code.EndsWith(ClosingQuoteReplacement))
code = code.Substring(0, code.Length - ClosingQuoteReplacement.Length) +
DoubleQuote;
return code;
}
}