public override bool CheckFileCollisions(string buildTargetName)
{
bool flag = false;
Dictionary<string, List<PluginInfo>> dictionary = new Dictionary<string, List<PluginInfo>>();
foreach (PluginImporter importer in PluginImporter.GetImporters(BuildTarget.Android))
{
List<PluginInfo> list;
PluginInfo item = new PluginInfo(buildTargetName, importer);
if (dictionary.TryGetValue(item.assetName, out list))
{
foreach (PluginInfo info2 in list)
{
if (item.ConflictsWith(info2))
{
Debug.LogError(string.Format("Found plugins with same names and architectures, {0} ({1}) and {2} ({3}). Assign different architectures or delete the duplicate.", new object[] { item.assetPath, item.cpuType, info2.assetPath, info2.cpuType }));
flag = true;
}
}
}
else
{
dictionary[item.assetName] = list = new List<PluginInfo>();
}
list.Add(item);
}
return flag;
}