public int Add(PEStream.PEComponent peComponent) { if (peComponent.Size > 0L) { return(this.Add(peComponent)); } return(-1); }
public int Compare(object a, object b) { PEStream.PEComponent component = (PEStream.PEComponent)a; PEStream.PEComponent component2 = (PEStream.PEComponent)b; if (component.Address > component2.Address) { return(1); } if (component.Address < component2.Address) { return(-1); } return(0); }