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)
353
Text
= value
358
notifyIcon.
Text
= value;
370
Text
= "OldValue"
373
notifyIcon.
Text
= value;
377
notifyIcon.
Text
= value;
417
Text
= value
423
notifyIcon.
Text
= value;
432
Assert.Throws<ArgumentOutOfRangeException>("Text", () => notifyIcon.
Text
= new string('a', NotifyIcon.MaxTextSize + 1));
446
notifyIcon.
Text
= value;
450
notifyIcon.
Text
= value;
780
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)
26
Assert.Empty(notifyIcon.
Text
);
43
Assert.Empty(notifyIcon.
Text
);
355
Assert.Equal(expected, notifyIcon.
Text
);
359
Assert.Equal(expected, notifyIcon.
Text
);
374
Assert.Equal(expected, notifyIcon.
Text
);
378
Assert.Equal(expected, notifyIcon.
Text
);
419
Assert.Equal(expected, notifyIcon.
Text
);
424
Assert.Equal(expected, notifyIcon.
Text
);
447
Assert.Equal(expected, notifyIcon.
Text
);
451
Assert.Equal(expected, notifyIcon.
Text
);
738
Assert.Empty(notifyIcon.
Text
);
752
Assert.Empty(notifyIcon.
Text
);
796
Assert.Empty(notifyIcon.
Text
);
809
Assert.Empty(notifyIcon.
Text
);