protected BuildVerifier()
{
this.m_UnsupportedAssemblies = new Dictionary<string, HashSet<string>>();
string uri = Path.Combine(Path.Combine(EditorApplication.applicationContentsPath, "Resources"), "BuildVerification.xml");
XPathNavigator navigator = new XPathDocument(uri).CreateNavigator();
navigator.MoveToFirstChild();
XPathNodeIterator iterator = navigator.SelectChildren("assembly", "");
while (iterator.MoveNext())
{
string attribute = iterator.Current.GetAttribute("name", "");
if ((attribute == null) || (attribute.Length < 1))
{
throw new ApplicationException(string.Format("Failed to load {0}, <assembly> name attribute is empty", uri));
}
string key = iterator.Current.GetAttribute("platform", "");
if ((key == null) || (key.Length < 1))
{
key = "*";
}
if (!this.m_UnsupportedAssemblies.ContainsKey(key))
{
this.m_UnsupportedAssemblies.Add(key, new HashSet<string>());
}
this.m_UnsupportedAssemblies[key].Add(attribute);
}
}