Base:
37 overrides of ToString
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (1)
1387
public override string
ToString
()
System\Diagnostics\ProcessModule.cs (1)
59
public override string
ToString
() => $"{base.ToString()} ({ModuleName})";
System.Drawing.Common (1)
System\Drawing\Printing\PrintDocument.cs (1)
178
public override string
ToString
() => $"[PrintDocument {DocumentName}]";
System.Management (1)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (1)
330
public override string
ToString
() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
System.Windows.Forms (32)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
328
public override string
ToString
() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
556
public override string
ToString
() => $"{base.ToString()}, CheckState: {(int)CheckState}";
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
538
public override string
ToString
() => $"{base.ToString()}, Checked: {Checked}";
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3337
public override string
ToString
()
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1430
public override string
ToString
() => $"{base.ToString()}, Value: {Value:G}";
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
650
public override string
ToString
() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
754
public override string
ToString
()
System\Windows\Forms\Controls\Labels\Label.cs (1)
1423
public override string
ToString
() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2206
public override string
ToString
()
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
506
public override string
ToString
()
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5602
public override string
ToString
()
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1939
public override string
ToString
()
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1178
public override string
ToString
()
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
671
public override string
ToString
()
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
968
public override string
ToString
()
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1800
public override string
ToString
()
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1969
public override string
ToString
()
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4481
public override string
ToString
()
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3521
public override string
ToString
()
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
1163
public override string
ToString
() => $"{base.ToString()}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {_value}";
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2396
public override string
ToString
()
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
441
public override string
ToString
()
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
653
public override string
ToString
()
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (1)
217
public override string
ToString
() => $"{base.ToString()}, Color: {Color}";
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
803
public override string
ToString
() => $"{base.ToString()}: Title: {Title}, FileName: {FileName}";
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
452
public override string
ToString
() => $"{base.ToString()}, Font: {Font}";
System\Windows\Forms\Form.cs (1)
6025
public override string
ToString
() => $"{base.ToString()}, Text: {Text}";
System\Windows\Forms\Help\HelpProvider.cs (1)
270
public override string
ToString
() => $"{base.ToString()}, HelpNamespace: {HelpNamespace}";
System\Windows\Forms\Panels\Panel.cs (1)
236
public override string
ToString
()
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
584
public override string
ToString
()
System\Windows\Forms\Timer.cs (1)
178
public override string
ToString
() => $"{base.ToString()}, Interval: {Interval}";
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1921
public override string
ToString
()
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
2432
public override string
ToString
() => $"ComponentTray: {_component}";
37 references to ToString
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (1)
1389
string result = base.
ToString
();
System\Diagnostics\ProcessModule.cs (1)
59
public override string ToString() => $"{base.
ToString
()} ({ModuleName})";
System.Windows.Forms (33)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
556
=> $"{nameof(ControlAccessibleObject)}: Owner = {Owner?.
ToString
() ?? "null"}";
System\Windows\Forms\Controls\Buttons\Button.cs (1)
328
public override string ToString() => $"{base.
ToString
()}, Text: {Text}";
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
556
public override string ToString() => $"{base.
ToString
()}, CheckState: {(int)CheckState}";
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
538
public override string ToString() => $"{base.
ToString
()}, Checked: {Checked}";
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
3339
string s = base.
ToString
();
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1430
public override string ToString() => $"{base.
ToString
()}, Value: {Value:G}";
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
650
public override string ToString() => $"{base.
ToString
()}, Text: {Text}";
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
756
? base.
ToString
()
757
: $"{base.
ToString
()} Images.Count: {Images.Count}, ImageSize: {ImageSize}";
System\Windows\Forms\Controls\Labels\Label.cs (1)
1423
public override string ToString() => $"{base.
ToString
()}, Text: {Text}";
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2208
string s = base.
ToString
();
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5604
string s = base.
ToString
();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1941
string s = base.
ToString
();
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
1180
string s = base.
ToString
();
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
672
=> $"{base.
ToString
()}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {_value}";
System\Windows\Forms\Controls\Splitter\Splitter.cs (1)
970
string s = base.
ToString
();
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1802
string s = base.
ToString
();
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1971
string s = base.
ToString
();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4483
return $"{base.
ToString
()}, Name: {Name}, Items: {Items.Count}";
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3528
return base.
ToString
();
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
1163
public override string ToString() => $"{base.
ToString
()}, Minimum: {Minimum}, Maximum: {Maximum}, Value: {_value}";
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
2398
string s = base.
ToString
();
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
443
string s = base.
ToString
();
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
655
string s = base.
ToString
();
System\Windows\Forms\Dialogs\CommonDialogs\ColorDialog.cs (1)
217
public override string ToString() => $"{base.
ToString
()}, Color: {Color}";
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
803
public override string ToString() => $"{base.
ToString
()}: Title: {Title}, FileName: {FileName}";
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (1)
452
public override string ToString() => $"{base.
ToString
()}, Font: {Font}";
System\Windows\Forms\Form.cs (1)
6025
public override string ToString() => $"{base.
ToString
()}, Text: {Text}";
System\Windows\Forms\Help\HelpProvider.cs (1)
270
public override string ToString() => $"{base.
ToString
()}, HelpNamespace: {HelpNamespace}";
System\Windows\Forms\Panels\Panel.cs (1)
238
return $"{base.
ToString
()}, BorderStyle: {typeof(BorderStyle)}.{_borderStyle}";
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
586
string s = base.
ToString
();
System\Windows\Forms\Timer.cs (1)
178
public override string ToString() => $"{base.
ToString
()}, Interval: {Interval}";
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1923
string s = base.
ToString
();
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TabOrderTests.cs (1)
130
((object)accessor._ctlHover).Should().Be(ControlMock.Object.
ToString
());
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Methods.cs (1)
10286
Assert.Equal("System.Windows.Forms.Control", control.
ToString
());