1 write to SortComparison
System.Data.Common (1)
System\Data\LinqDataView.cs (1)
240base.SortComparison = null;
16 references to SortComparison
System.Data.Common (16)
System\Data\DataView.cs (4)
1585if (null != SortComparison) 1588newIndex = new Index(_table, SortComparison, ((DataViewRowState)_recordStates), GetFilter()); 1764!ReferenceEquals(SortComparison, view.SortComparison) ||
System\Data\LinqDataView.cs (12)
112Debug.Assert(!(!string.IsNullOrEmpty(base.Sort) && base.SortComparison != null), 119else if (base.SortComparison == null) // neither string or expr set 148if (base.SortComparison == null && string.IsNullOrEmpty(base.Sort)) 153else if (base.SortComparison != null && key.Length != sortExpressionBuilder!.Count) 158if (base.SortComparison == null) 188if (base.SortComparison == null && string.IsNullOrEmpty(base.Sort)) 193else if (base.SortComparison != null && key.Length != sortExpressionBuilder!.Count) 198if (base.SortComparison == null)// using string to sort 221if ((base.SortComparison != null || base.RowPredicate != null) && newRowStates != DataViewRowState.CurrentRows) 251return (base.SortComparison == null) ? base.GetSortProperty() : null; 263if (base.SortComparison == null) 281return !(base.SortComparison == null && base.Sort.Length == 0);