18 references to TestQuotingAndEscaping
Microsoft.CodeAnalysis.UnitTests (18)
MetadataReferences\AssemblyIdentityDisplayNameTests.cs (18)
336TestQuotingAndEscaping(",", "\\,");
337TestQuotingAndEscaping("'", "\\'");
338TestQuotingAndEscaping("\"", "\\\"");
339TestQuotingAndEscaping("/", "/");
340TestQuotingAndEscaping("\\", "\\\\");
341TestQuotingAndEscaping("x\rx", "x\\rx");
342TestQuotingAndEscaping("x\nx", "x\\nx");
343TestQuotingAndEscaping("x\tx", "x\\tx");
344TestQuotingAndEscaping("\rx", "\"\\rx\"");
345TestQuotingAndEscaping("\nx", "\"\\nx\"");
346TestQuotingAndEscaping("\tx", "\"\\tx\"");
347TestQuotingAndEscaping(" ", "\" \"");
348TestQuotingAndEscaping(" x", "\" x\"");
349TestQuotingAndEscaping("x ", "\"x \"");
350TestQuotingAndEscaping("\u0008", "\u0008");
351TestQuotingAndEscaping("\u0085", "\u0085");
352TestQuotingAndEscaping("\u00A0", "\u00A0");
353TestQuotingAndEscaping("\u2000", "\u2000");