12 references to SanitizePath
Microsoft.VisualStudio.LanguageServices (12)
ProjectSystem\Logging\RoslynWorkspaceStructureLogger.cs (12)
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()))); 275reference.Path != null ? new XAttribute("path", SanitizePath(reference.Path)) : null, 316new XAttribute("file", SanitizePath(portableExecutableReference.FilePath ?? "(none)")), 317new XAttribute("display", SanitizePath(portableExecutableReference.Display ?? "(none)")), 322return new XElement("metadataReference", new XAttribute("display", SanitizePath(reference.Display ?? "(none)"))); 365new XAttribute("path", SanitizePath(diagnostic.Location.GetLineSpan().Path ?? "(none)")), 377new XAttribute("path", SanitizePath(document.FilePath ?? "(none)")), 381new XAttribute("generatorAssemblyPath", SanitizePath(identity.Generator.AssemblyPath ?? "(none)"))); 395var documentElement = new XElement(elementName, new XAttribute("path", SanitizePath(document.FilePath ?? "(none)")));