3 writes to itemsCollection
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ComboBox.cs (3)
777
itemsCollection
= new ObjectCollection(this);
2522
itemsCollection
= null;
3022
itemsCollection
= null;
26 references to itemsCollection
System.Windows.Forms (26)
winforms\Managed\System\WinForms\ComboBox.cs (26)
776
if (
itemsCollection
== null) {
779
return
itemsCollection
;
1011
string[] strings = new string[
itemsCollection
.Count];
1012
for (int i = 0; i <
itemsCollection
.Count; i++) {
1013
strings[i] = GetItemText(
itemsCollection
[i]);
1046
if (
itemsCollection
!= null) {
1047
itemCount =
itemsCollection
.Count;
1093
if (
itemsCollection
!= null) {
1096
x =
itemsCollection
.IndexOf(value);
2076
if (
itemsCollection
== null ||
itemsCollection
.Count == 0) {
2081
if (startIndex < -1 || startIndex >=
itemsCollection
.Count) {
2119
if (
itemsCollection
== null ||
itemsCollection
.Count == 0) {
2124
if (startIndex < -1 || startIndex >=
itemsCollection
.Count) {
2171
if (index < 0 ||
itemsCollection
== null || index >=
itemsCollection
.Count) {
2496
if (
itemsCollection
!= null) {
2497
foreach (object item in
itemsCollection
) {
3020
ObjectCollection savedItems =
itemsCollection
;
3186
if (
itemsCollection
!= null) {
3187
if (
itemsCollection
.Count == 0) {
3360
return s + ", Items.Count: " + ((
itemsCollection
== null) ? (0).ToString(CultureInfo.CurrentCulture) :
itemsCollection
.Count.ToString(CultureInfo.CurrentCulture));
3371
int itemCount = (
itemsCollection
== null) ? 0 :
itemsCollection
.Count;