internal void CheckIfMember(IExcelObject o) { if (!object.ReferenceEquals(this, o.Workbook)) { throw new ArgumentException("Specified object is not a member of the workbook"); } }
internal void CheckIfMember(IExcelObject o) { if (!object.ReferenceEquals(this, o.Workbook)) throw new ArgumentException("Specified object is not a member of the workbook"); }