130 references to Strings
Microsoft.Data.Analysis (130)
DataFrame.BinaryOperations.cs (14)
20
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
59
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
98
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
137
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
176
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
214
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
251
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
288
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
362
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
395
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
428
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
461
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
494
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
527
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
DataFrame.cs (13)
222
strColumn[0] =
Strings
.DataType;
223
strColumn[1] =
Strings
.DescriptionMethodLength;
249
stringColumn.Append(
Strings
.DescriptionMethodLength);
339
throw new ArgumentException(string.Format(
Strings
.ExceedsNumberOfRows, Rows.Count), nameof(numberOfRows));
371
throw new ArgumentException(String.Format(
Strings
.InvalidColumnName, columnName), nameof(columnName));
390
throw new InvalidCastException(String.Format(
Strings
.BadColumnCastDuringGrouping, columnName, column.DataType, typeof(TKey)));
403
throw new ArgumentException(String.Format("{0} {1}",
Strings
.MismatchedRowCount, Columns[i].Name));
484
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(values));
566
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, column.DataType), column.Name);
575
throw new ArgumentException(string.Format(
Strings
.ExceedsNumberOfColumns, Columns.Count), nameof(row));
631
throw new ArgumentException(String.Format(
Strings
.InvalidColumnName, columnName), nameof(columnName));
641
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, column.DataType), column.Name);
733
sb.Append(String.Format(
Strings
.AmountOfRowsShown, rowsToShow, Rows.Count));
DataFrame.IO.cs (5)
63
IEnumerable<string> lines = read.Select(line => col < line.Line.Length ? line.Line[col] : throw new FormatException(string.Format(
Strings
.LessColumnsThatExpected, line.LineNumber + 1)));
369
throw new ArgumentException(string.Format(
Strings
.ExpectedEitherGuessRowsOrDataTypes, nameof(guessRows), nameof(dataTypes)));
438
throw new FormatException(
Strings
.EmptyFile);
576
throw new ArgumentException(
Strings
.NonSeekableStream, nameof(csvStream));
581
throw new ArgumentException(string.Format(
Strings
.ExpectedEitherGuessRowsOrDataTypes, nameof(guessRows), nameof(dataTypes)));
DataFrame.Join.cs (1)
183
throw new ArgumentException(
Strings
.MismatchedArrayLengths, nameof(retainedJoinColumnNames));
DataFrameColumn.cs (2)
275
throw new ArgumentException(String.Format(
Strings
.MismatchedColumnValueType, this.DataType), nameof(other));
449
sb.Append(String.Format(
Strings
.AmountOfRowsShown, rowsToShow, Length));
DataFrameColumnCollection.cs (22)
82
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
87
throw new ArgumentException(string.Format(
Strings
.DuplicateColumnName, column.Name), nameof(column));
108
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
113
throw new ArgumentException(string.Format(
Strings
.DuplicateColumnName, column.Name), nameof(column));
188
throw new ArgumentException(String.Format(
Strings
.InvalidColumnName, columnName), nameof(columnName));
223
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(T)), nameof(T));
240
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(DateTime)));
257
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(string)));
274
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(string)));
291
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Boolean)));
308
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Byte)));
325
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Char)));
342
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Double)));
359
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Decimal)));
376
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Single)));
393
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Int32)));
410
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Int64)));
427
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(SByte)));
444
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(Int16)));
461
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(string)));
478
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(UInt64)));
495
throw new ArgumentException(string.Format(
Strings
.BadColumnCast, column.DataType, typeof(UInt16)));
DataFrameColumns\ArrowStringDataFrameColumn.cs (7)
224
throw new ArgumentOutOfRangeException(
Strings
.IndexIsGreaterThanColumnLength, nameof(rowIndex));
278
protected override void SetValue(long rowIndex, object value) => throw new NotSupportedException(
Strings
.ImmutableColumn);
289
set => throw new NotSupportedException(
Strings
.ImmutableColumn);
357
throw new ArgumentException(
Strings
.SpansMultipleBuffers, nameof(numberOfRows));
400
throw new ArgumentException(String.Format(
Strings
.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
422
throw new ArgumentException(
Strings
.MapIndicesExceedsColumnLength, nameof(boolColumn));
554
throw new ArgumentException(String.Format(
Strings
.MismatchedValueType, typeof(string)), nameof(value));
DataFrameColumns\StringDataFrameColumn.cs (6)
60
throw new ArgumentException(
Strings
.CannotResizeDown, nameof(length));
107
throw new ArgumentOutOfRangeException(
Strings
.IndexIsGreaterThanColumnLength, nameof(rowIndex));
153
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(string)), nameof(value));
307
throw new ArgumentException(String.Format(
Strings
.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
329
throw new ArgumentException(
Strings
.MapIndicesExceedsColumnLength, nameof(boolColumn));
467
throw new ArgumentException(String.Format(
Strings
.MismatchedValueType, typeof(string)), nameof(value));
DataFrameColumns\VBufferDataFrameColumn.cs (5)
62
throw new ArgumentException(
Strings
.CannotResizeDown, nameof(length));
86
throw new ArgumentOutOfRangeException(
Strings
.IndexIsGreaterThanColumnLength, nameof(rowIndex));
132
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(VBuffer<T>)), nameof(value));
215
throw new ArgumentException(
Strings
.MapIndicesExceedsColumnLength, nameof(boolColumn));
287
throw new ArgumentException(String.Format(
Strings
.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
IDataView.Extension.cs (2)
125
throw new NotSupportedException(String.Format(Microsoft.Data.
Strings
.NotSupportedColumnType, type.RawType.Name));
212
throw new NotSupportedException(String.Format(Microsoft.Data.
Strings
.VectorSubTypeNotSupported, itemType.ToString()));
PrimitiveColumnContainer.cs (4)
68
throw new ArgumentNullException(
Strings
.InconsistentNullBitMapAndNullCount, nameof(nullBitMap));
92
throw new ArgumentException(
Strings
.InconsistentNullBitMapAndLength, nameof(nullBitMap));
109
throw new ArgumentException(
Strings
.CannotResizeDown, nameof(length));
354
throw new ArgumentOutOfRangeException(
Strings
.IndexIsGreaterThanColumnLength, nameof(rowIndex));
PrimitiveDataFrameColumn.BinaryOperationAPIs.ExplodedColumns.cs (3)
8769
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
8793
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
8817
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
PrimitiveDataFrameColumn.BinaryOperationImplementations.Exploded.cs (7)
22
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
52
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
82
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
112
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
142
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
172
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
202
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
PrimitiveDataFrameColumn.cs (16)
136
throw new ArgumentException(
Strings
.SpansMultipleBuffers, nameof(numberOfRows));
245
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, DataType), nameof(value));
430
throw new ArgumentException(String.Format(
Strings
.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
463
throw new ArgumentException(
Strings
.MapIndicesExceedsColumnLength, nameof(boolColumn));
479
throw new ArgumentException(String.Format(
Strings
.MismatchedValueType,
Strings
.NumericColumnType), nameof(mapIndices));
720
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(U));
750
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(U));
957
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
987
throw new ArgumentException(string.Format(
Strings
.MismatchedColumnValueType, typeof(T)), nameof(column));
1022
throw new ArgumentException(string.Format(
Strings
.MismatchedColumnValueType, typeof(T)), nameof(column));
1065
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(value));
1100
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(value));
1142
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(value));
1176
throw new ArgumentException(string.Format(
Strings
.MismatchedValueType, typeof(T)), nameof(value));
1284
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
StringDataFrameColumn.BinaryOperations.cs (3)
20
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
80
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(right));
124
throw new ArgumentException(
Strings
.MismatchedColumnLengths, nameof(column));
Strings.Designer.cs (1)
42
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Data.Analysis.Strings", typeof(
Strings
).Assembly);
TextFieldParser.cs (19)
453
throw new ArgumentException(string.Format(
Strings
.PositiveNumberOfCharacters, nameof(numberOfChars)));
573
throw new ArgumentException(
Strings
.StreamDoesntSupportReading);
587
throw new FileNotFoundException(
Strings
.FileNotFound);
668
throw new Exception(
Strings
.ExceededMaxBufferSize);
804
throw new Exception(string.Format(
Strings
.CannotParseWithDelimiters, currentLineNumber));
822
throw new Exception(string.Format(
Strings
.CannotParseWithDelimiters, currentLineNumber));
828
throw new Exception(string.Format(
Strings
.LineExceedsMaxLineSize, currentLineNumber));
837
throw new Exception(string.Format(
Strings
.CannotParseWithDelimiters, currentLineNumber));
939
throw new Exception(string.Format(
Strings
.CannotParseWithFieldWidths, lineNumber));
947
throw new InvalidOperationException(
Strings
.NullFieldWidths);
951
throw new InvalidOperationException(
Strings
.EmptyFieldWidths);
978
throw new ArgumentException(
Strings
.InvalidFieldWidths);
987
throw new Exception(
Strings
.NullDelimiters);
991
throw new Exception(
Strings
.EmptyDelimiters);
1003
throw new Exception(
Strings
.IllegalQuoteDelimiter);
1046
throw new Exception(
Strings
.IllegalQuoteDelimiter);
1063
throw new Exception(
Strings
.EmptyDelimiters);
1067
throw new Exception(
Strings
.DelimiterCannotBeNewlineChar);
1135
throw new Exception(
Strings
.CommentTokenCannotContainWhitespace);