13 references to SanitizePath
Microsoft.CodeAnalysis.Workspaces (13)
Log\WorkspaceStructureLogger.cs (13)
116projectElement.SetAttributeValue("id", SanitizePath(project.Id.ToString()));
120projectElement.SetAttributeValue("path", SanitizePath(project.FilePath));
121projectElement.SetAttributeValue("outputPath", SanitizePath(project.OutputFilePath));
155var referenceElement = new XElement("projectReference", new XAttribute("id", SanitizePath(projectReference.ProjectId.ToString())));
193new XAttribute("path", SanitizePath(diagnostic.Location.GetLineSpan().Path)),
205new XAttribute("path", SanitizePath(document.FilePath)),
209new XAttribute("generatorAssemblyPath", SanitizePath(identity.Generator.AssemblyPath)));
253new XAttribute("file", SanitizePath(portableExecutableReference.FilePath)),
254new XAttribute("display", SanitizePath(portableExecutableReference.Display)),
259return new XElement("metadataReference", new XAttribute("display", SanitizePath(reference.Display)));
265new XAttribute("path", SanitizePath(reference.FullPath)),
266new XAttribute("display", SanitizePath(reference.Display)));
301var documentElement = new XElement(elementName, new XAttribute("path", SanitizePath(document.FilePath)));