public virtual bool Equals(IFsID aID) { if (!(aID is FsID32)) { return(false); } return(this.id == ((FsID32)aID).id); }
public virtual int compare(IFsID aID) { if (!(aID is FsID32)) { return(-1); } int intID = ((FsID32)aID).id; if (this.id > intID) { return(1); } if (this.id < intID) { return(-1); } return(0); }
public virtual int compare(IFsID aID) { if (!(aID is FsID64)) { return(-1); } long longID = ((FsID64)aID).id; if (this.id > longID) { return(1); } if (this.id < longID) { return(-1); } return(0); }
internal FsID(long id) { _fsID = useLongID ? new FsID64(this, id) : new FsID32(this, unchecked ((int)(id & 0xffffffff))); }
internal FsID(int id) { _fsID = useLongID ? new FsID64(this, id) : new FsID32(this, id); }