File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ internal object this[int index]
7171 sealed internal class Result
7272 {
7373 private _SqlMetaDataSet _metadata ;
74- private ArrayList _rowset ;
74+ private List < Row > _rowset ;
7575
7676 internal Result ( _SqlMetaDataSet metadata )
7777 {
7878 this . _metadata = metadata ;
79- this . _rowset = new ArrayList ( ) ;
79+ this . _rowset = new List < Row > ( ) ;
8080 }
8181
8282 internal int Count
@@ -113,15 +113,15 @@ internal void AddRow(Row row)
113113 //
114114 sealed internal class BulkCopySimpleResultSet
115115 {
116- private ArrayList _results ; // the list of results
116+ private List < Result > _results ; // the list of results
117117 private Result resultSet ; // the current result
118118 private int [ ] indexmap ; // associates columnids with indexes in the rowarray
119119
120120 // c-tor
121121 //
122122 internal BulkCopySimpleResultSet ( )
123123 {
124- _results = new ArrayList ( ) ;
124+ _results = new List < Result > ( ) ;
125125 }
126126
127127 // indexer
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ internal int ObjectID
153153 internal byte [ ] _bShortBytes = null ; // scratch buffer to serialize Short values (2 bytes).
154154 internal byte [ ] _bDecimalBytes = null ; // scratch buffer to serialize decimal values (17 bytes).
155155
156- //
157156 // DO NOT USE THIS BUFFER FOR OTHER THINGS.
158157 // ProcessHeader can be called ANYTIME while doing network reads.
159158 private byte [ ] _partialHeaderBuffer = new byte [ TdsEnums . HEADER_LEN ] ; // Scratch buffer for ProcessHeader
You can’t perform that action at this time.
0 commit comments