4 writes to _maxLength
System.Data.Common (4)
System\Data\DataColumn.cs (4)
556_maxLength = -1; 934_maxLength = Math.Max(value, -1); 940_maxLength = oldValue; 1287_maxLength = value.MaxLength; // this is temp solution, since we dont let simple content to have
10 references to _maxLength
System.Data.Common (10)
System\Data\DataColumn.cs (10)
890_simpleType.MaxLength = _maxLength; 908else if (-1 < _maxLength) 910SimpleType = SimpleType.CreateLimitedStringType(_maxLength); 917get { return _maxLength; } 923if (_maxLength != value) 933int oldValue = _maxLength; 1375if ((0 <= _maxLength) && (null != Table) && (0 < Table.Rows.Count)) 1382if (_maxLength < GetStringLength(dr.GetCurrentRecordNo())) 1395if (0 <= _maxLength) 1398if (_maxLength < GetStringLength(dr.GetDefaultRecord()))