public override bool Equals(Object sb) { if ( ! (sb is XMLOutputStream) ) { return false; } return this == (XMLOutputStream)sb; }