internal override void ResetValues() { base.ResetValues(); this.m_HasModified = false; this.ResetCompatability(ref this.m_CompatibleWithAnyPlatform, (PluginImporterInspector.GetComptability)(imp => imp.GetCompatibleWithAnyPlatform())); this.ResetCompatability(ref this.m_CompatibleWithEditor, (PluginImporterInspector.GetComptability)(imp => imp.GetCompatibleWithEditor())); // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type PluginImporterInspector.\u003CResetValues\u003Ec__AnonStorey7E valuesCAnonStorey7E = new PluginImporterInspector.\u003CResetValues\u003Ec__AnonStorey7E(); using (List <BuildTarget> .Enumerator enumerator = PluginImporterInspector.GetValidBuildTargets().GetEnumerator()) { while (enumerator.MoveNext()) { // ISSUE: reference to a compiler-generated field valuesCAnonStorey7E.platform = enumerator.Current; // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated method this.ResetCompatability(ref this.m_CompatibleWithPlatform[(int)valuesCAnonStorey7E.platform], new PluginImporterInspector.GetComptability(valuesCAnonStorey7E.\u003C\u003Em__12A)); } } if (!this.IsEditingPlatformSettingsSupported()) { return; } foreach (IPluginImporterExtension additionalExtension in this.additionalExtensions) { additionalExtension.ResetValues(this); } using (List <BuildTarget> .Enumerator enumerator = PluginImporterInspector.GetValidBuildTargets().GetEnumerator()) { while (enumerator.MoveNext()) { IPluginImporterExtension importerExtension = ModuleManager.GetPluginImporterExtension(enumerator.Current); if (importerExtension != null) { importerExtension.ResetValues(this); } } } }
internal override void ResetValues() { base.ResetValues(); this.m_HasModified = false; this.ResetCompatability(ref this.m_CompatibleWithAnyPlatform, (PluginImporterInspector.GetComptability) (imp => imp.GetCompatibleWithAnyPlatform())); this.ResetCompatability(ref this.m_CompatibleWithEditor, (PluginImporterInspector.GetComptability) (imp => imp.GetCompatibleWithEditor())); // ISSUE: object of a compiler-generated type is created // ISSUE: variable of a compiler-generated type PluginImporterInspector.\u003CResetValues\u003Ec__AnonStorey7E valuesCAnonStorey7E = new PluginImporterInspector.\u003CResetValues\u003Ec__AnonStorey7E(); using (List<BuildTarget>.Enumerator enumerator = PluginImporterInspector.GetValidBuildTargets().GetEnumerator()) { while (enumerator.MoveNext()) { // ISSUE: reference to a compiler-generated field valuesCAnonStorey7E.platform = enumerator.Current; // ISSUE: reference to a compiler-generated field // ISSUE: reference to a compiler-generated method this.ResetCompatability(ref this.m_CompatibleWithPlatform[(int) valuesCAnonStorey7E.platform], new PluginImporterInspector.GetComptability(valuesCAnonStorey7E.\u003C\u003Em__12A)); } } if (!this.IsEditingPlatformSettingsSupported()) return; foreach (IPluginImporterExtension additionalExtension in this.additionalExtensions) additionalExtension.ResetValues(this); using (List<BuildTarget>.Enumerator enumerator = PluginImporterInspector.GetValidBuildTargets().GetEnumerator()) { while (enumerator.MoveNext()) { IPluginImporterExtension importerExtension = ModuleManager.GetPluginImporterExtension(enumerator.Current); if (importerExtension != null) importerExtension.ResetValues(this); } } }