10 references to SanitizePath
Microsoft.VisualStudio.LanguageServices (10)
ProjectSystem\Logging\RoslynWorkspaceStructureLogger.cs (10)
109projectElement.SetAttributeValue("id", SanitizePath(project.Id.ToString()));
113projectElement.SetAttributeValue("path", SanitizePath(project.FilePath ?? "(none)"));
114projectElement.SetAttributeValue("outputPath", SanitizePath(project.OutputFilePath ?? "(none)"));
141var referenceElement = new XElement("projectReference", new XAttribute("id", SanitizePath(projectReference.ProjectId.ToString())));
180new XAttribute("path", SanitizePath(diagnostic.Location.GetLineSpan().Path ?? "(none)")),
267reference.Path != null ? new XAttribute("path", SanitizePath(reference.Path)) : null,
308new XAttribute("file", SanitizePath(portableExecutableReference.FilePath ?? "(none)")),
309new XAttribute("display", SanitizePath(portableExecutableReference.Display ?? "(none)")),
314return new XElement("metadataReference", new XAttribute("display", SanitizePath(reference.Display ?? "(none)")));
359var documentElement = new XElement(elementName, new XAttribute("path", SanitizePath(document.FilePath ?? "(none)")));