12 writes to Text
System.Windows.Forms (1)
System\Windows\Forms\NotifyIcon.cs (1)
393
Text
= string.Empty;
System.Windows.Forms.Tests (11)
System\Windows\Forms\NotifyIconTests.cs (11)
351
Text
= value
356
notifyIcon.
Text
= value;
368
Text
= "OldValue"
371
notifyIcon.
Text
= value;
375
notifyIcon.
Text
= value;
415
Text
= value
421
notifyIcon.
Text
= value;
430
Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.
Text
= new string('a', NotifyIcon.MaxTextSize + 1));
444
notifyIcon.
Text
= value;
448
notifyIcon.
Text
= value;
778
Text
= "Text",
16 references to Text
System.Windows.Forms (2)
System\Windows\Forms\NotifyIcon.cs (2)
12
[DefaultProperty(nameof(
Text
))]
244
throw new ArgumentOutOfRangeException(nameof(
Text
), value, SR.TrayIcon_TextTooLong);
System.Windows.Forms.Tests (14)
System\Windows\Forms\NotifyIconTests.cs (14)
24
Assert.Empty(notifyIcon.
Text
);
41
Assert.Empty(notifyIcon.
Text
);
353
Assert.Equal(expected, notifyIcon.
Text
);
357
Assert.Equal(expected, notifyIcon.
Text
);
372
Assert.Equal(expected, notifyIcon.
Text
);
376
Assert.Equal(expected, notifyIcon.
Text
);
417
Assert.Equal(expected, notifyIcon.
Text
);
422
Assert.Equal(expected, notifyIcon.
Text
);
445
Assert.Equal(expected, notifyIcon.
Text
);
449
Assert.Equal(expected, notifyIcon.
Text
);
736
Assert.Empty(notifyIcon.
Text
);
750
Assert.Empty(notifyIcon.
Text
);
794
Assert.Empty(notifyIcon.
Text
);
807
Assert.Empty(notifyIcon.
Text
);