8 references to CheckDiagnosticStringFileName
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
LexicalAndXml\PreprocessorTests.cs (8)
3199CheckDiagnosticStringFileName("a.cs", "", "a.cs"); 3200CheckDiagnosticStringFileName("b\\a.cs", "", "b\\a.cs"); //path not trimmed 3201CheckDiagnosticStringFileName("c:\\b\\a.cs", "", "c:\\b\\a.cs"); //path not trimmed 3202CheckDiagnosticStringFileName("<file>", "", "<file>"); //invalid path characters - verbatim 3204CheckDiagnosticStringFileName("z.cs", "#line 1 \"a.cs\"\r\n", "a.cs"); 3205CheckDiagnosticStringFileName("z.cs", "#line 1 \"b\\a.cs\"\r\n", "b\\a.cs"); //path not trimmed 3206CheckDiagnosticStringFileName("z.cs", "#line 1 \"c:\\b\\a.cs\"\r\n", "c:\\b\\a.cs"); //path not trimmed 3207CheckDiagnosticStringFileName("z.cs", "#line 1 \"<file>\"\r\n", "<file>"); //invalid path characters - verbatim