in Platform/Tools/PowerShell/JetCmdlet/Infra/TeamCity/TeamCityProperties.cs [81:90]
private static IDictionary<string, string> ReadJavaPropertiesXml([NotNull] FileSystemPath pathFile)
{
if(pathFile == null)
throw new ArgumentNullException("pathFile");
var xmlDoc = new XmlDocument();
pathFile.ReadStream(xmlDoc.Load);
return xmlDoc.SelectElements("//entry").ToDictionary(xmlEntry => xmlEntry.GetAttribute("key"), xmlEntry => xmlEntry.InnerText);
}