44 references to DataSetUtil
System.Data.Common (44)
System\Data\DataRowComparer.cs (3)
152throw DataSetUtil.InvalidOperation(SR.DataSetLinq_CannotCompareDeletedRow); 178DataSetUtil.CheckArgumentNull(row, nameof(row)); 182throw DataSetUtil.InvalidOperation(SR.DataSetLinq_CannotCompareDeletedRow);
System\Data\DataRowExtensions.cs (10)
25DataSetUtil.CheckArgumentNull(row, nameof(row)); 40DataSetUtil.CheckArgumentNull(row, nameof(row)); 55DataSetUtil.CheckArgumentNull(row, nameof(row)); 71DataSetUtil.CheckArgumentNull(row, nameof(row)); 87DataSetUtil.CheckArgumentNull(row, nameof(row)); 103DataSetUtil.CheckArgumentNull(row, nameof(row)); 115DataSetUtil.CheckArgumentNull(row, nameof(row)); 127DataSetUtil.CheckArgumentNull(row, nameof(row)); 139DataSetUtil.CheckArgumentNull(row, nameof(row)); 178throw DataSetUtil.InvalidCast(SR.Format(SR.DataSetLinq_NonNullableCast, typeof(T)));
System\Data\DataTableExtensions.cs (15)
23DataSetUtil.CheckArgumentNull(source, nameof(source)); 40DataSetUtil.CheckArgumentNull(source, nameof(source)); 50DataSetUtil.CheckArgumentNull(source, nameof(source)); 51DataSetUtil.CheckArgumentNull(table, nameof(table)); 78DataSetUtil.CheckArgumentNull(source, nameof(source)); 79DataSetUtil.CheckArgumentNull(table, nameof(table)); 95throw DataSetUtil.InvalidLoadOption(options.Value); 105return table ?? throw DataSetUtil.InvalidOperation(SR.DataSetLinq_EmptyDataRowSource); 114throw DataSetUtil.InvalidOperation(SR.DataSetLinq_NullDataRow); 153throw DataSetUtil.InvalidOperation(SR.DataSetLinq_CannotLoadDetachedRow); 170throw DataSetUtil.InvalidOperation(SR.DataSetLinq_CannotLoadDeletedRow); 172throw DataSetUtil.InvalidDataRowState(current.RowState); 177if (!DataSetUtil.IsCatchableExceptionType(e)) 229DataSetUtil.CheckArgumentNull<DataTable>(table, nameof(table)); 241DataSetUtil.CheckArgumentNull<EnumerableRowCollection<T>>(source, nameof(source));
System\Data\EnumerableRowCollection.cs (5)
149throw DataSetUtil.NotSupported(SR.ToLDVUnsupported); 167throw DataSetUtil.NotSupported(SR.ToLDVUnsupported); 187throw DataSetUtil.NotSupported(SR.ToLDVUnsupported); 297DataSetUtil.CheckArgumentNull(keySelector, nameof(keySelector)); 298DataSetUtil.CheckArgumentNull(comparer, nameof(comparer));
System\Data\LinqDataView.cs (4)
127throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.Count)); 155throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.Count)); 195throw DataSetUtil.InvalidOperation(SR.Format(SR.LDV_InvalidNumOfKeys, sortExpressionBuilder.Count)); 223throw DataSetUtil.Argument(SR.LDVRowStateError);
System\Data\TypedTableBaseExtensions.cs (7)
20DataSetUtil.CheckArgumentNull(source, nameof(source)); 30DataSetUtil.CheckArgumentNull(source, nameof(source)); 43DataSetUtil.CheckArgumentNull(source, nameof(source)); 53DataSetUtil.CheckArgumentNull(source, nameof(source)); 66DataSetUtil.CheckArgumentNull(source, nameof(source)); 79DataSetUtil.CheckArgumentNull(source, nameof(source)); 91DataSetUtil.CheckArgumentNull(source, nameof(source));