10 references to FieldCount
System.Data.Common (10)
System\Data\Common\DataAdapter.cs (5)
37Debug.Assert(readerHandler.FieldCount > 0, "Scenario expects non-empty results but no fields reported by reader"); 329if (0 >= readerHandler.FieldCount) 457if (readerHandler.FieldCount <= 0) 466while (lastFillNextResult && readerHandler.FieldCount <= 0); 525if (0 >= dataReader.FieldCount)
System\Data\Common\DbDataAdapter.cs (1)
1521if (0 < readerHandler.FieldCount)
System\Data\ProviderBase\SchemaMapping.cs (4)
66Debug.Assert(0 < dataReader.FieldCount, "FieldCount"); 512string[] fieldNames = new string[dataReader.FieldCount]; 574int count = _dataReader.FieldCount; 770Debug.Assert(_dataReader.FieldCount <= schemaRows.Length, "unexpected fewer rows in Schema than FieldCount");