4 writes to maxLength
System.Data (4)
fx\src\data\System\Data\DataColumn.cs (4)
586
maxLength
= -1;
956
maxLength
= Math.Max(value, -1);
960
maxLength
= oldValue;
1296
maxLength
= simpleType.MaxLength;// this is temp solution, since we dont let simple content to have
10 references to maxLength
System.Data (10)
fx\src\data\System\Data\DataColumn.cs (10)
916
this.simpleType.MaxLength =
maxLength
;
930
else if (-1 <
maxLength
) {
931
this.SimpleType = SimpleType.CreateLimitedStringType(
maxLength
);
941
return
maxLength
;
948
if (
maxLength
!= value) {
955
int oldValue =
maxLength
;
1371
if ((0 <=
maxLength
) && (null != Table) && (0 < Table.Rows.Count)) {
1375
if (
maxLength
< GetStringLength(dr.GetCurrentRecordNo())) {
1385
if (0 <=
maxLength
) {
1387
if (
maxLength
< GetStringLength(dr.GetDefaultRecord())) {