3 writes to itemsCollection
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListBox.cs (3)
665
itemsCollection
= CreateItemCollection();
1817
itemsCollection
= null;
1981
itemsCollection
= null;
34 references to itemsCollection
System.Windows.Forms (34)
winforms\Managed\System\WinForms\ListBox.cs (34)
664
if (
itemsCollection
== null) {
667
return
itemsCollection
;
744
if (
itemsCollection
!= null) {
745
int cnt =
itemsCollection
.Count;
755
int cnt = (
itemsCollection
== null ||
itemsCollection
.Count == 0) ? 1 :
itemsCollection
.Count;
876
if (
itemsCollection
!= null && SelectedItems.Count > 0) {
884
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;
977
if (
itemsCollection
!= null) {
979
int index =
itemsCollection
.IndexOf(value);
1069
if (sorted &&
itemsCollection
!= null &&
itemsCollection
.Count >= 1) {
1372
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;
1420
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;
1454
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;
1477
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;
1541
if (
itemsCollection
!= null && SelectedItems.GetSelected(index)) {
1785
if (
itemsCollection
!= null) {
1787
int count =
itemsCollection
.Count;
1790
NativeAdd(
itemsCollection
[i]);
1977
ObjectCollection savedItems =
itemsCollection
;
2129
int itemCount = (
itemsCollection
== null) ? 0:
itemsCollection
.Count;
2158
if (sorted &&
itemsCollection
!= null) {
2159
itemsCollection
.InnerArray.Sort();
2165
int count =
itemsCollection
.Count;
2167
NativeAdd(
itemsCollection
[i]);
2184
if (
itemsCollection
!= null) {