protected Dictionary<string, List<PluginImporter>> GetCompatiblePlugins(string buildTargetName) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type DefaultPluginImporterExtension.\u003CGetCompatiblePlugins\u003Ec__AnonStorey7D pluginsCAnonStorey7D = new DefaultPluginImporterExtension.\u003CGetCompatiblePlugins\u003Ec__AnonStorey7D(); // ISSUE: reference to a compiler-generated field pluginsCAnonStorey7D.buildTargetName = buildTargetName; // ISSUE: reference to a compiler-generated method PluginImporter[] array = ((IEnumerable<PluginImporter>) PluginImporter.GetAllImporters()).Where<PluginImporter>(new Func<PluginImporter, bool>(pluginsCAnonStorey7D.\u003C\u003Em__125)).ToArray<PluginImporter>(); Dictionary<string, List<PluginImporter>> dictionary = new Dictionary<string, List<PluginImporter>>(); // ISSUE: reference to a compiler-generated field BuildTargetGroup targetGroupByName = BuildPipeline.GetBuildTargetGroupByName(pluginsCAnonStorey7D.buildTargetName); foreach (PluginImporter imp in array) { if (!string.IsNullOrEmpty(imp.assetPath)) { // ISSUE: reference to a compiler-generated field string finalPluginPath = this.CalculateFinalPluginPath(pluginsCAnonStorey7D.buildTargetName, imp); if (!string.IsNullOrEmpty(finalPluginPath) && (!imp.isNativePlugin || targetGroupByName != BuildTargetGroup.WebPlayer)) { List<PluginImporter> pluginImporterList = (List<PluginImporter>) null; if (!dictionary.TryGetValue(finalPluginPath, out pluginImporterList)) { pluginImporterList = new List<PluginImporter>(); dictionary[finalPluginPath] = pluginImporterList; } pluginImporterList.Add(imp); } } } return dictionary; }
protected Dictionary <string, List <PluginImporter> > GetCompatiblePlugins(string buildTargetName) { // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type DefaultPluginImporterExtension.\u003CGetCompatiblePlugins\u003Ec__AnonStorey7D pluginsCAnonStorey7D = new DefaultPluginImporterExtension.\u003CGetCompatiblePlugins\u003Ec__AnonStorey7D(); // ISSUE: reference to a compiler-generated field pluginsCAnonStorey7D.buildTargetName = buildTargetName; // ISSUE: reference to a compiler-generated method PluginImporter[] array = ((IEnumerable <PluginImporter>)PluginImporter.GetAllImporters()).Where <PluginImporter>(new Func <PluginImporter, bool>(pluginsCAnonStorey7D.\u003C\u003Em__125)).ToArray <PluginImporter>(); Dictionary <string, List <PluginImporter> > dictionary = new Dictionary <string, List <PluginImporter> >(); // ISSUE: reference to a compiler-generated field BuildTargetGroup targetGroupByName = BuildPipeline.GetBuildTargetGroupByName(pluginsCAnonStorey7D.buildTargetName); foreach (PluginImporter imp in array) { if (!string.IsNullOrEmpty(imp.assetPath)) { // ISSUE: reference to a compiler-generated field string finalPluginPath = this.CalculateFinalPluginPath(pluginsCAnonStorey7D.buildTargetName, imp); if (!string.IsNullOrEmpty(finalPluginPath) && (!imp.isNativePlugin || targetGroupByName != BuildTargetGroup.WebPlayer)) { List <PluginImporter> pluginImporterList = (List <PluginImporter>)null; if (!dictionary.TryGetValue(finalPluginPath, out pluginImporterList)) { pluginImporterList = new List <PluginImporter>(); dictionary[finalPluginPath] = pluginImporterList; } pluginImporterList.Add(imp); } } } return(dictionary); }