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