in teamcity-symbol-common/src/main/java/jetbrains/buildServer/symbols/PdbSignatureIndexUtil.java [42:55]
static void write(@NotNull final OutputStream outputStream, @NotNull final Set<PdbSignatureIndexEntry> indexData) throws IOException {
final Element root = new Element(FILE_SIGNS);
for (final PdbSignatureIndexEntry indexEntry : indexData){
final Element entry = new Element(FILE_SIGN_ENTRY);
entry.setAttribute(SIGN, indexEntry.getGuid());
entry.setAttribute(FILE_NAME, indexEntry.getFileName());
String artifactPath = indexEntry.getArtifactPath();
if(artifactPath != null){
entry.setAttribute(FILE_PATH, artifactPath);
}
root.addContent(entry);
}
XmlUtil.saveDocument(new Document(root), outputStream);
}