9 writes to Caption
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (1)
1313
cp.
Caption
= _text;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
91
Caption
= ToolTip,
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
93
Caption
= string.Empty,
System\Windows\Forms\NativeWindow.cs (1)
436
cp.
Caption
= cp.Caption[..short.MaxValue];
System\Windows\Forms\Timer.cs (1)
220
Caption
= GetType().Name,
System\Windows\Forms\ToolTip\ToolTip.cs (1)
228
cp.
Caption
= null;
System.Windows.Forms.Tests (3)
System\Windows\Forms\CreateParamsTests.cs (2)
26
Caption
= value
136
Caption
= "caption",
System\Windows\Forms\NativeWindowTests.cs (1)
147
Caption
= caption
123 references to Caption
System.Windows.Forms (6)
System\Windows\Forms\CreateParams.cs (1)
72
return $"CreateParams {{'{ClassName}', '{
Caption
}', 0x{Style:x}, 0x{ExStyle:x}, {{{X}, {Y}, {Width}, {Height}}}}}";
System\Windows\Forms\NativeWindow.cs (5)
434
if (cp.
Caption
is not null && cp.
Caption
.Length > short.MaxValue)
436
cp.Caption = cp.
Caption
[..short.MaxValue];
442
cp.
Caption
,
468
$"Handle created of type '{cp.ClassName}' with caption '{cp.
Caption
}' from NativeWindow of type '{GetType().FullName}'");
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
137
Assert.Null(createParams.
Caption
);
System.Windows.Forms.Tests (116)
System\Windows\Forms\AxHostTests.cs (2)
233
Assert.Null(createParams.
Caption
);
273
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ButtonBaseTests.cs (3)
130
Assert.Null(createParams.
Caption
);
163
Assert.Null(createParams.
Caption
);
233
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ButtonTests.cs (4)
128
Assert.Null(createParams.
Caption
);
152
Assert.Null(createParams.
Caption
);
185
Assert.Null(createParams.
Caption
);
255
Assert.Null(createParams.
Caption
);
System\Windows\Forms\CheckBoxTests.cs (1)
131
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ComboBoxTests.cs (1)
140
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ContainerControlTests.cs (1)
131
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ControlTests.cs (9)
503
Assert.Null(createParams.
Caption
);
527
Assert.Null(createParams.
Caption
);
553
Assert.Null(createParams.
Caption
);
578
Assert.Null(createParams.
Caption
);
604
Assert.Null(createParams.
Caption
);
626
Assert.Null(createParams.
Caption
);
653
Assert.Null(createParams.
Caption
);
679
Assert.Null(createParams.
Caption
);
705
Assert.Null(createParams.
Caption
);
System\Windows\Forms\CreateParamsTests.cs (1)
28
Assert.Equal(value, createParams.
Caption
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
138
Assert.Null(createParams.
Caption
);
System\Windows\Forms\DateTimePickerTests.cs (1)
131
Assert.Null(createParams.
Caption
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
174
Assert.Equal("Properties", createParams.
Caption
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
134
Assert.Null(createParams.
Caption
);
System\Windows\Forms\DomainUpDownTests.cs (1)
160
createParams.
Caption
.Should().BeNull();
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
126
Assert.Null(createParams.
Caption
);
System\Windows\Forms\FormTests.cs (1)
175
Assert.Null(createParams.
Caption
);
System\Windows\Forms\GroupBoxTests.cs (2)
111
Assert.Null(createParams.
Caption
);
139
Assert.Null(createParams.
Caption
);
System\Windows\Forms\HScrollBarTests.cs (1)
125
Assert.Null(createParams.
Caption
);
System\Windows\Forms\LabelTests.cs (1)
122
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ListBoxTests.cs (8)
143
Assert.Null(createParams.
Caption
);
169
Assert.Null(createParams.
Caption
);
195
Assert.Null(createParams.
Caption
);
221
Assert.Null(createParams.
Caption
);
248
Assert.Null(createParams.
Caption
);
277
Assert.Null(createParams.
Caption
);
305
Assert.Null(createParams.
Caption
);
332
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ListControlTests.cs (1)
119
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ListViewTests.cs (1)
161
Assert.Null(createParams.
Caption
);
System\Windows\Forms\MonthCalendarTests.cs (1)
150
Assert.Null(createParams.
Caption
);
System\Windows\Forms\NativeWindowTests.cs (3)
110
Assert.Null(cp.
Caption
);
119
Assert.Null(cp.
Caption
);
153
Assert.Equal(expectedCaption, cp.
Caption
);
System\Windows\Forms\PanelTests.cs (2)
124
Assert.Null(createParams.
Caption
);
150
Assert.Null(createParams.
Caption
);
System\Windows\Forms\PictureBoxTests.cs (1)
125
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ProgressBarTests.cs (3)
111
Assert.Null(createParams.
Caption
);
150
Assert.Null(createParams.
Caption
);
179
Assert.Null(createParams.
Caption
);
System\Windows\Forms\PropertyGridTests.cs (1)
179
Assert.Null(createParams.
Caption
);
System\Windows\Forms\RadioButtonTests.cs (2)
128
Assert.Null(createParams.
Caption
);
152
Assert.Null(createParams.
Caption
);
System\Windows\Forms\RichTextBoxTests.cs (2)
145
Assert.Null(createParams.
Caption
);
225
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ScrollableControlTests.cs (3)
124
Assert.Null(createParams.
Caption
);
151
Assert.Null(createParams.
Caption
);
178
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ScrollBarTests.cs (1)
113
Assert.Null(createParams.
Caption
);
System\Windows\Forms\SplitterTests.cs (2)
111
Assert.Null(createParams.
Caption
);
138
Assert.Null(createParams.
Caption
);
System\Windows\Forms\StatusStripTests.cs (1)
160
Assert.Null(createParams.
Caption
);
System\Windows\Forms\TabControlTests.cs (9)
122
Assert.Null(createParams.
Caption
);
147
Assert.Null(createParams.
Caption
);
171
Assert.Null(createParams.
Caption
);
208
Assert.Null(createParams.
Caption
);
234
Assert.Null(createParams.
Caption
);
258
Assert.Null(createParams.
Caption
);
293
Assert.Null(createParams.
Caption
);
318
Assert.Null(createParams.
Caption
);
347
Assert.Null(createParams.
Caption
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
135
Assert.Null(createParams.
Caption
);
System\Windows\Forms\TabPageTests.cs (1)
240
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
167
Assert.Null(createParams.
Caption
);
198
Assert.Null(createParams.
Caption
);
232
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
128
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ToolStripTests.cs (1)
340
Assert.Null(createParams.
Caption
);
System\Windows\Forms\ToolTipTests.cs (1)
84
Assert.Null(createParams.
Caption
);
System\Windows\Forms\TreeViewTests.cs (19)
138
Assert.Null(createParams.
Caption
);
166
Assert.Null(createParams.
Caption
);
196
Assert.Null(createParams.
Caption
);
222
Assert.Null(createParams.
Caption
);
248
Assert.Null(createParams.
Caption
);
274
Assert.Null(createParams.
Caption
);
300
Assert.Null(createParams.
Caption
);
326
Assert.Null(createParams.
Caption
);
352
Assert.Null(createParams.
Caption
);
378
Assert.Null(createParams.
Caption
);
404
Assert.Null(createParams.
Caption
);
430
Assert.Null(createParams.
Caption
);
463
Assert.Null(createParams.
Caption
);
496
Assert.Null(createParams.
Caption
);
542
Assert.Null(createParams.
Caption
);
588
Assert.Null(createParams.
Caption
);
616
Assert.Null(createParams.
Caption
);
649
Assert.Null(createParams.
Caption
);
682
Assert.Null(createParams.
Caption
);
System\Windows\Forms\UpDownBaseTests.cs (2)
143
Assert.Null(createParams.
Caption
);
185
Assert.Null(createParams.
Caption
);
System\Windows\Forms\UserControlTests.cs (2)
131
Assert.Null(createParams.
Caption
);
157
Assert.Null(createParams.
Caption
);
System\Windows\Forms\VScrollBarTests.cs (1)
124
Assert.Null(createParams.
Caption
);
System\Windows\Forms\WebBrowserTests.cs (1)
107
Assert.Null(createParams.
Caption
);
TextBoxBaseTests.cs (4)
23
Assert.Null(createParams.
Caption
);
49
Assert.Null(createParams.
Caption
);
75
Assert.Null(createParams.
Caption
);
130
Assert.Null(createParams.
Caption
);
TextBoxTests.cs (1)
131
Assert.Null(createParams.
Caption
);
TrackBarTests.cs (4)
118
Assert.Null(createParams.
Caption
);
146
Assert.Null(createParams.
Caption
);
172
Assert.Null(createParams.
Caption
);
203
Assert.Null(createParams.
Caption
);