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