1 write to _fieldWidths
Microsoft.Data.Analysis.Tests (1)
src\Microsoft.Data.Analysis\TextFieldParser.cs (1)
258
_fieldWidths
= value;
16 references to _fieldWidths
Microsoft.Data.Analysis.Tests (16)
src\Microsoft.Data.Analysis\TextFieldParser.cs (16)
246
get =>
_fieldWidths
;
878
Debug.Assert(
_fieldWidths
!= null, "No field widths");
888
int length =
_fieldWidths
.Length;
892
Fields[i] = GetFixedWidthField(lineInfo, index,
_fieldWidths
[i]);
893
index +=
_fieldWidths
[i];
945
if (
_fieldWidths
== null)
949
if (
_fieldWidths
.Length == 0)
955
int widthBound =
_fieldWidths
.Length - 1;
960
Debug.Assert(
_fieldWidths
[i] > 0, "Bad field width, this should have been caught on input");
961
_lineLength +=
_fieldWidths
[i];
963
if (
_fieldWidths
[widthBound] > 0)
965
_lineLength +=
_fieldWidths
[widthBound];
1100
Debug.Assert(((_fieldWidthsCopy == null) && (
_fieldWidths
== null)) || ((_fieldWidthsCopy != null) && (
_fieldWidths
!= null)), "FieldWidths and copy are not both Nothing or both not Nothing");
1101
if (
_fieldWidths
== null)
1111
if (
_fieldWidths
[j] != _fieldWidthsCopy[j])