public override IEnumerable <Gizmo> GetGizmos() { foreach (Gizmo c in base.GetGizmos()) { yield return(c); } yield return(InstallationDesignatorDatabase.DesignatorFor(this.def)); }
public bool MoveNext() { uint num = (uint)this.$PC; this.$PC = -1; bool flag = false; switch (num) { case 0u: enumerator = base.< GetGizmos > __BaseCallProxy0().GetEnumerator(); num = 4294967293u; break; case 1u: break; case 2u: this.$PC = -1; return(false); default: return(false); } try { switch (num) { } if (enumerator.MoveNext()) { c = enumerator.Current; this.$current = c; if (!this.$disposing) { this.$PC = 1; } flag = true; return(true); } } finally { if (!flag) { if (enumerator != null) { enumerator.Dispose(); } } } this.$current = InstallationDesignatorDatabase.DesignatorFor(this.def); if (!this.$disposing) { this.$PC = 2; } return(true); }
public override IEnumerable <Gizmo> GetGizmos() { foreach (Gizmo c in this.< GetGizmos > __BaseCallProxy0()) { yield return(c); } yield return(InstallationDesignatorDatabase.DesignatorFor(this.def)); yield break; }
public override IEnumerable <Gizmo> GetGizmos() { using (IEnumerator <Gizmo> enumerator = base.GetGizmos().GetEnumerator()) { if (enumerator.MoveNext()) { Gizmo c = enumerator.Current; yield return(c); /*Error: Unable to find new state assignment for yield return*/; } } yield return((Gizmo)InstallationDesignatorDatabase.DesignatorFor(base.def)); /*Error: Unable to find new state assignment for yield return*/; IL_00e7: /*Error near IL_00e8: Unexpected return in MoveNext()*/; }