8 writes to X
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (2)
1315
cp.
X
= _x;
4500
cp.
X
-= parentClient.X;
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
96
X
= 0,
System\Windows\Forms\Form.cs (3)
3643
cp.
X
= PInvoke.CW_USEDEFAULT;
3652
cp.
X
= Math.Max(clientRect.X, clientRect.X + (clientRect.Width - cp.Width) / 2);
3677
cp.
X
= Math.Max(screenRect.X, screenRect.X + (screenRect.Width - cp.Width) / 2);
System.Windows.Forms.Tests (2)
System\Windows\Forms\CreateParamsTests.cs (2)
70
X
= value
139
X
= 12,
119 references to X
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
4498
if (cp.
X
!= PInvoke.CW_USEDEFAULT)
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 (1)
444
cp.
X
,
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
146
Assert.Equal(0, createParams.
X
);
System.Windows.Forms.Tests (115)
System\Windows\Forms\AxHostTests.cs (2)
242
Assert.Equal(0, createParams.
X
);
282
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ButtonBaseTests.cs (3)
139
Assert.Equal(0, createParams.
X
);
172
Assert.Equal(0, createParams.
X
);
242
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ButtonTests.cs (4)
137
Assert.Equal(0, createParams.
X
);
161
Assert.Equal(0, createParams.
X
);
194
Assert.Equal(0, createParams.
X
);
264
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\CheckBoxTests.cs (1)
140
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ComboBoxTests.cs (1)
149
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ContainerControlTests.cs (1)
140
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ControlTests.cs (9)
512
Assert.Equal(0, createParams.
X
);
536
Assert.Equal(0, createParams.
X
);
562
Assert.Equal(0, createParams.
X
);
587
Assert.Equal(0, createParams.
X
);
613
Assert.Equal(0, createParams.
X
);
635
Assert.Equal(0, createParams.
X
);
662
Assert.Equal(0, createParams.
X
);
688
Assert.Equal(0, createParams.
X
);
714
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\CreateParamsTests.cs (1)
72
Assert.Equal(value, createParams.
X
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
147
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\DateTimePickerTests.cs (1)
140
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
183
Assert.Equal(int.MinValue, createParams.
X
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
143
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\DomainUpDownTests.cs (1)
180
createParams.
X
.Should().Be(0);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
135
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\FormTests.cs (1)
184
Assert.Equal(int.MinValue, createParams.
X
);
System\Windows\Forms\GroupBoxTests.cs (2)
120
Assert.Equal(0, createParams.
X
);
148
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\HScrollBarTests.cs (1)
134
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\LabelTests.cs (1)
131
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ListBoxTests.cs (8)
152
Assert.Equal(0, createParams.
X
);
178
Assert.Equal(0, createParams.
X
);
204
Assert.Equal(0, createParams.
X
);
230
Assert.Equal(0, createParams.
X
);
257
Assert.Equal(0, createParams.
X
);
286
Assert.Equal(0, createParams.
X
);
314
Assert.Equal(0, createParams.
X
);
341
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ListControlTests.cs (1)
128
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ListViewTests.cs (1)
170
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\MonthCalendarTests.cs (1)
159
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\PanelTests.cs (2)
133
Assert.Equal(0, createParams.
X
);
159
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\PictureBoxTests.cs (1)
134
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ProgressBarTests.cs (3)
120
Assert.Equal(0, createParams.
X
);
159
Assert.Equal(0, createParams.
X
);
188
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\PropertyGridTests.cs (1)
188
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\RadioButtonTests.cs (2)
137
Assert.Equal(0, createParams.
X
);
161
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\RichTextBoxTests.cs (3)
154
Assert.Equal(0, createParams.
X
);
180
Assert.Equal(0, createParams.
X
);
234
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ScrollableControlTests.cs (3)
133
Assert.Equal(0, createParams.
X
);
160
Assert.Equal(0, createParams.
X
);
187
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ScrollBarTests.cs (1)
122
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\SplitterTests.cs (2)
120
Assert.Equal(0, createParams.
X
);
147
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\StatusStripTests.cs (1)
169
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\TabControlTests.cs (9)
131
Assert.Equal(0, createParams.
X
);
156
Assert.Equal(0, createParams.
X
);
180
Assert.Equal(0, createParams.
X
);
217
Assert.Equal(0, createParams.
X
);
243
Assert.Equal(0, createParams.
X
);
267
Assert.Equal(0, createParams.
X
);
302
Assert.Equal(0, createParams.
X
);
327
Assert.Equal(0, createParams.
X
);
356
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
144
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\TabPageTests.cs (1)
249
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
176
Assert.Equal(0, createParams.
X
);
207
Assert.Equal(0, createParams.
X
);
241
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
137
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ToolStripTests.cs (1)
349
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\ToolTipTests.cs (1)
93
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\TreeViewTests.cs (19)
147
Assert.Equal(0, createParams.
X
);
175
Assert.Equal(0, createParams.
X
);
205
Assert.Equal(0, createParams.
X
);
231
Assert.Equal(0, createParams.
X
);
257
Assert.Equal(0, createParams.
X
);
283
Assert.Equal(0, createParams.
X
);
309
Assert.Equal(0, createParams.
X
);
335
Assert.Equal(0, createParams.
X
);
361
Assert.Equal(0, createParams.
X
);
387
Assert.Equal(0, createParams.
X
);
413
Assert.Equal(0, createParams.
X
);
439
Assert.Equal(0, createParams.
X
);
472
Assert.Equal(0, createParams.
X
);
505
Assert.Equal(0, createParams.
X
);
551
Assert.Equal(0, createParams.
X
);
597
Assert.Equal(0, createParams.
X
);
625
Assert.Equal(0, createParams.
X
);
658
Assert.Equal(0, createParams.
X
);
691
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\UpDownBaseTests.cs (2)
163
Assert.Equal(0, createParams.
X
);
194
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\UserControlTests.cs (2)
140
Assert.Equal(0, createParams.
X
);
166
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\VScrollBarTests.cs (1)
133
Assert.Equal(0, createParams.
X
);
System\Windows\Forms\WebBrowserTests.cs (1)
116
Assert.Equal(0, createParams.
X
);
TextBoxBaseTests.cs (5)
32
Assert.Equal(0, createParams.
X
);
58
Assert.Equal(0, createParams.
X
);
84
Assert.Equal(0, createParams.
X
);
110
Assert.Equal(0, createParams.
X
);
139
Assert.Equal(0, createParams.
X
);
TextBoxTests.cs (1)
140
Assert.Equal(0, createParams.
X
);
TrackBarTests.cs (4)
127
Assert.Equal(0, createParams.
X
);
155
Assert.Equal(0, createParams.
X
);
181
Assert.Equal(0, createParams.
X
);
212
Assert.Equal(0, createParams.
X
);