public bool MoveNext() { var b1 = Enumerator1.MoveNext(); var b2 = Enumerator2.MoveNext(); return(b1 && b2); }
public bool Equals(ThemeResourceKey other) { Enumerator1.Reset(_keyParts); Enumerator2.Reset(other._keyParts); while (true) { var c1 = Enumerator1.MoveNext(); var c2 = Enumerator2.MoveNext(); if (c1 != c2) { return(false); } if (c1 == 0) { break; } } return(true); }