5 overrides of Capacity
mscorlib (5)
system\collections\arraylist.cs (5)
806
public override int
Capacity
{
1224
public override int
Capacity
{
1715
public override int
Capacity
{
1972
public override int
Capacity
{
2223
public override int
Capacity
{
21 writes to Capacity
mscorlib (4)
system\collections\arraylist.cs (3)
352
Capacity
= newCapacity;
790
Capacity
= _size;
1233
_list.
Capacity
= value;
system\collections\collectionbase.cs (1)
48
InnerList.
Capacity
= value;
System.Data (1)
fx\src\data\System\Data\DataColumnCollection.cs (1)
131
_list.
Capacity
= capacity + _list.Count;
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (1)
173
this.
Capacity
= this.Count + 1;
System.Web (11)
UI\WebControls\DataGrid.cs (3)
1053
itemsArray.
Capacity
= count;
1086
keysArray.
Capacity
= initialCapacity;
1087
itemsArray.
Capacity
= initialCapacity;
UI\WebControls\DataList.cs (3)
861
itemsArray.
Capacity
= count;
870
keysArray.
Capacity
= collection.Count;
871
itemsArray.
Capacity
= collection.Count;
UI\WebControls\GridView.cs (2)
2015
keyArray.
Capacity
= pageSize;
2016
suffixArray.
Capacity
= pageSize;
UI\WebControls\ListItemCollection.cs (1)
66
listItems.
Capacity
= value;
UI\WebControls\Repeater.cs (2)
621
itemsArray.
Capacity
= count;
643
itemsArray.
Capacity
= collection.Count;
System.Web.Extensions (2)
UI\WebControls\ListView.cs (2)
1518
keyArray.
Capacity
= pagedDataSource.DataSourceCount;
1519
suffixArray.
Capacity
= pagedDataSource.DataSourceCount;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
13667
this.lstRows.
Capacity
= numDisplayedRows;
WindowsBase (1)
Shared\MS\Internal\WeakReferenceList.cs (1)
264
list.
Capacity
= newCapacity;
11 references to Capacity
mscorlib (6)
system\collections\arraylist.cs (5)
115
Contract.Ensures(
Capacity
>= 0);
1227
return _list.
Capacity
;
1716
get { return _list.
Capacity
; }
1973
get { return _list.
Capacity
; }
2225
return _baseList.
Capacity
;
system\collections\collectionbase.cs (1)
45
return InnerList.
Capacity
;
PresentationFramework (1)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1783
staticResourceValuesList = new List<object[]>(defKeyList.
Capacity
);
System.Data (1)
fx\src\data\System\Data\DataColumnCollection.cs (1)
130
if (_list.
Capacity
< capacity + _list.Count) {
System.Web (1)
UI\WebControls\ListItemCollection.cs (1)
63
return listItems.
Capacity
;
WindowsBase (2)
Shared\MS\Internal\WeakReferenceList.cs (2)
105
if (LiveList.Count == LiveList.
Capacity
)
262
if (newCapacity < list.
Capacity
)