23 overrides of ShouldSerializeValue
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
53
public override bool
ShouldSerializeValue
(object component) { return _descriptor.ShouldSerializeValue(component); }
System.ComponentModel.TypeConverter (6)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
130
public override bool
ShouldSerializeValue
(object component)
System\ComponentModel\Design\DesignerOptionService.cs (2)
428
public override bool
ShouldSerializeValue
(object component) => _property.ShouldSerializeValue(_target);
496
public override bool
ShouldSerializeValue
(object component) => false;
System\ComponentModel\ExtendedPropertyDescriptor.cs (1)
137
public override bool
ShouldSerializeValue
(object comp)
System\ComponentModel\ReflectPropertyDescriptor.cs (1)
1166
public override bool
ShouldSerializeValue
(object component)
System\ComponentModel\TypeConverter.cs (1)
411
public override bool
ShouldSerializeValue
(object component) => false;
System.Data.Common (5)
System\Data\Common\DbConnectionStringBuilderDescriptor.cs (1)
75
public override bool
ShouldSerializeValue
(object component)
System\Data\Common\DbEnumerator.cs (1)
143
public override bool
ShouldSerializeValue
(object component) => false;
System\Data\DataColumnPropertyDescriptor.cs (1)
82
public override bool
ShouldSerializeValue
(object component) => false;
System\Data\DataRelationPropertyDescriptor.cs (1)
42
public override bool
ShouldSerializeValue
(object component) => false;
System\Data\DataTablePropertyDescriptor.cs (1)
42
public override bool
ShouldSerializeValue
(object component) => false;
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
245
public override bool
ShouldSerializeValue
(object o)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
917
public override bool
ShouldSerializeValue
(object component)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
323
public override bool
ShouldSerializeValue
(object component)
System.Windows.Forms.Design (6)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1227
public override bool
ShouldSerializeValue
(object component) => false;
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
277
public override bool
ShouldSerializeValue
(object component) => CanResetValue(component);
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
275
public override bool
ShouldSerializeValue
(object component)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1040
public override bool
ShouldSerializeValue
(object component)
System\Windows\Forms\Design\ControlDesigner.CanResetSizePropertyDescriptor.cs (1)
36
public override bool
ShouldSerializeValue
(object component) => true;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1380
public override bool
ShouldSerializeValue
(object component)
System.Windows.Forms.Tests (2)
System\Windows\Forms\ListBindingHelperTests.cs (1)
763
public override bool
ShouldSerializeValue
(object component)
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (1)
163
public override bool
ShouldSerializeValue
(object component)
450 references to ShouldSerializeValue
PresentationFramework (1)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
280
return pd.
ShouldSerializeValue
(instance);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
53
public override bool ShouldSerializeValue(object component) { return _descriptor.
ShouldSerializeValue
(component); }
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\DesignerOptionService.cs (1)
428
public override bool ShouldSerializeValue(object component) => _property.
ShouldSerializeValue
(_target);
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
160
if ((!pd.
ShouldSerializeValue
(instance) || !ContainsDesignerSerializationVisibleAttribute(pd)) && (bIsSqlType == false))
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
247
return _baseDescriptor.
ShouldSerializeValue
(o);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1505
if (!saveAllProperties && !currentProperty.
ShouldSerializeValue
(_control))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
329
if (!_descriptors[i].
ShouldSerializeValue
(GetPropertyOwnerForComponent(array, i)!))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
441
return PropertyDescriptor.
ShouldSerializeValue
(owner!);
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
142
if (prop is not null && prop.
ShouldSerializeValue
(b))
System.Windows.Forms.Design (17)
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (1)
87
return shadowedPropertyDescriptor.
ShouldSerializeValue
(_designer.Component);
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (3)
205
if (!_propertyDescriptor.
ShouldSerializeValue
(component))
279
return _propertyDescriptor.
ShouldSerializeValue
(component) && Attributes.Contains(DesignerSerializationVisibilityAttribute.Content);
284
return _propertyDescriptor.
ShouldSerializeValue
(component);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (2)
583
if (!prop.
ShouldSerializeValue
(data._value)
617
if (md._member is PropertyDescriptor prop && !prop.
ShouldSerializeValue
(data._value))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2222
ResourceCodeDomSerializer.SerializeMetadata(manager, name, property.GetValue(value), property.
ShouldSerializeValue
(value));
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1042
return _property.
ShouldSerializeValue
(_target);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
29
if (!property.
ShouldSerializeValue
(value))
370
bool shouldSerializeProperty = propertyToSerialize.
ShouldSerializeValue
(value);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
678
writeValue = prop.
ShouldSerializeValue
(tree.Owner);
System\Windows\Forms\Design\ButtonBaseDesigner.cs (1)
30
if (!prop.
ShouldSerializeValue
(Component))
System\Windows\Forms\Design\ControlDesigner.CanResetSizePropertyDescriptor.cs (1)
27
public override bool CanResetValue(object component) => _basePropDesc.
ShouldSerializeValue
(component);
System\Windows\Forms\Design\ControlDesigner.cs (2)
934
|| !visibleProp.
ShouldSerializeValue
(component)
940
|| !enabledProp.
ShouldSerializeValue
(component)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
665
if (backProp is not null && backProp.PropertyType == typeof(Color) && !backProp.
ShouldSerializeValue
(Component))
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
77
return TypeDescriptor.GetProperties(typeof(TextBoxBase))["Text"]!.
ShouldSerializeValue
(Component);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
232
Assert.True(property.
ShouldSerializeValue
(new Component()));
System\Windows\Forms\Design\InheritedPropertyDescriptorTests.cs (2)
65
inheritedPropertyDescriptor.
ShouldSerializeValue
(control).Should().BeFalse();
68
inheritedPropertyDescriptor.
ShouldSerializeValue
(control).Should().BeTrue();
System.Windows.Forms.Tests (413)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (2)
1345
Assert.True(property.
ShouldSerializeValue
(control));
1356
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ButtonBaseTests.cs (6)
1827
Assert.False(property.
ShouldSerializeValue
(control));
1832
Assert.True(property.
ShouldSerializeValue
(control));
1836
Assert.False(property.
ShouldSerializeValue
(control));
4329
Assert.False(property.
ShouldSerializeValue
(control));
4333
Assert.True(property.
ShouldSerializeValue
(control));
4337
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ColorDialogTests.cs (3)
166
Assert.False(property.
ShouldSerializeValue
(dialog));
170
Assert.True(property.
ShouldSerializeValue
(dialog));
174
Assert.False(property.
ShouldSerializeValue
(dialog));
System\Windows\Forms\ColumnHeaderTests.cs (15)
243
Assert.False(property.
ShouldSerializeValue
(item));
247
Assert.False(property.
ShouldSerializeValue
(item));
252
Assert.True(property.
ShouldSerializeValue
(item));
256
Assert.True(property.
ShouldSerializeValue
(item));
889
Assert.False(property.
ShouldSerializeValue
(header));
894
Assert.False(property.
ShouldSerializeValue
(header));
899
Assert.False(property.
ShouldSerializeValue
(header));
904
Assert.True(property.
ShouldSerializeValue
(header));
908
Assert.True(property.
ShouldSerializeValue
(header));
934
Assert.Equal(result, property.
ShouldSerializeValue
(header));
1085
Assert.False(property.
ShouldSerializeValue
(header));
1090
Assert.True(property.
ShouldSerializeValue
(header));
1095
Assert.True(property.
ShouldSerializeValue
(header));
1100
Assert.True(property.
ShouldSerializeValue
(header));
1104
Assert.True(property.
ShouldSerializeValue
(header));
System\Windows\Forms\ComboBoxTests.cs (6)
299
Assert.False(property.
ShouldSerializeValue
(control));
303
Assert.True(property.
ShouldSerializeValue
(control));
307
Assert.False(property.
ShouldSerializeValue
(control));
1167
Assert.False(property.
ShouldSerializeValue
(control));
1171
Assert.True(property.
ShouldSerializeValue
(control));
1175
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (2)
62
Assert.False(handleProperty.
ShouldSerializeValue
(iPictureDisp));
144
Assert.False(urlProperty.
ShouldSerializeValue
(mediaPlayer));
System\Windows\Forms\ControlTests.Properties.cs (58)
1624
Assert.False(property.
ShouldSerializeValue
(control));
1628
Assert.True(property.
ShouldSerializeValue
(control));
1632
Assert.False(property.
ShouldSerializeValue
(control));
3697
Assert.True(property.
ShouldSerializeValue
(control));
3700
Assert.True(property.
ShouldSerializeValue
(control));
3705
Assert.True(property.
ShouldSerializeValue
(control));
3709
Assert.True(property.
ShouldSerializeValue
(control));
4785
Assert.False(property.
ShouldSerializeValue
(control));
4789
Assert.True(property.
ShouldSerializeValue
(control));
4793
Assert.False(property.
ShouldSerializeValue
(control));
5271
Assert.False(property.
ShouldSerializeValue
(control));
5276
Assert.True(property.
ShouldSerializeValue
(control));
5280
Assert.False(property.
ShouldSerializeValue
(control));
5284
Assert.True(property.
ShouldSerializeValue
(control));
5288
Assert.False(property.
ShouldSerializeValue
(control));
5658
Assert.False(property.
ShouldSerializeValue
(control));
5662
Assert.True(property.
ShouldSerializeValue
(control));
5666
Assert.False(property.
ShouldSerializeValue
(control));
7600
Assert.True(property.
ShouldSerializeValue
(control));
7604
Assert.True(property.
ShouldSerializeValue
(control));
7608
Assert.True(property.
ShouldSerializeValue
(control));
7612
Assert.True(property.
ShouldSerializeValue
(control));
7616
Assert.True(property.
ShouldSerializeValue
(control));
7870
Assert.False(property.
ShouldSerializeValue
(control));
7874
Assert.True(property.
ShouldSerializeValue
(control));
7878
Assert.False(property.
ShouldSerializeValue
(control));
8471
Assert.False(property.
ShouldSerializeValue
(control));
8475
Assert.True(property.
ShouldSerializeValue
(control));
8479
Assert.True(property.
ShouldSerializeValue
(control));
8483
Assert.True(property.
ShouldSerializeValue
(control));
8487
Assert.False(property.
ShouldSerializeValue
(control));
9241
Assert.False(property.
ShouldSerializeValue
(control));
9245
Assert.True(property.
ShouldSerializeValue
(control));
9249
Assert.True(property.
ShouldSerializeValue
(control));
9253
Assert.True(property.
ShouldSerializeValue
(control));
9257
Assert.False(property.
ShouldSerializeValue
(control));
9665
Assert.False(property.
ShouldSerializeValue
(control));
9669
Assert.True(property.
ShouldSerializeValue
(control));
9673
Assert.False(property.
ShouldSerializeValue
(control));
10474
Assert.False(property.
ShouldSerializeValue
(control));
10478
Assert.True(property.
ShouldSerializeValue
(control));
10482
Assert.True(property.
ShouldSerializeValue
(control));
10486
Assert.False(property.
ShouldSerializeValue
(control));
10490
Assert.True(property.
ShouldSerializeValue
(control));
10494
Assert.False(property.
ShouldSerializeValue
(control));
11781
Assert.False(property.
ShouldSerializeValue
(control));
11785
Assert.True(property.
ShouldSerializeValue
(control));
11789
Assert.True(property.
ShouldSerializeValue
(control));
11793
Assert.True(property.
ShouldSerializeValue
(control));
11797
Assert.False(property.
ShouldSerializeValue
(control));
12074
Assert.False(property.
ShouldSerializeValue
(control));
12079
Assert.False(property.
ShouldSerializeValue
(control));
12084
Assert.False(property.
ShouldSerializeValue
(control));
12089
Assert.True(property.
ShouldSerializeValue
(control));
12093
Assert.False(property.
ShouldSerializeValue
(control));
13087
Assert.False(property.
ShouldSerializeValue
(control));
13091
Assert.True(property.
ShouldSerializeValue
(control));
13095
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\DockPaddingEdgesTests.cs (5)
393
Assert.True(property.
ShouldSerializeValue
(padding));
414
Assert.True(property.
ShouldSerializeValue
(padding));
435
Assert.True(property.
ShouldSerializeValue
(padding));
456
Assert.True(property.
ShouldSerializeValue
(padding));
477
Assert.True(property.
ShouldSerializeValue
(padding));
System\Windows\Forms\ErrorProviderTests.cs (6)
311
Assert.False(property.
ShouldSerializeValue
(provider));
314
Assert.True(property.
ShouldSerializeValue
(provider));
513
Assert.False(property.
ShouldSerializeValue
(provider));
516
Assert.True(property.
ShouldSerializeValue
(provider));
560
Assert.False(property.
ShouldSerializeValue
(provider));
564
Assert.True(property.
ShouldSerializeValue
(provider));
System\Windows\Forms\FontDialogTests.cs (3)
352
Assert.False(property.
ShouldSerializeValue
(dialog));
357
Assert.True(property.
ShouldSerializeValue
(dialog));
361
Assert.False(property.
ShouldSerializeValue
(dialog));
System\Windows\Forms\ImageListTests.cs (12)
191
Assert.True(property.
ShouldSerializeValue
(list));
195
Assert.True(property.
ShouldSerializeValue
(list));
199
Assert.True(property.
ShouldSerializeValue
(list));
203
Assert.False(property.
ShouldSerializeValue
(list));
385
Assert.True(property.
ShouldSerializeValue
(list));
389
Assert.True(property.
ShouldSerializeValue
(list));
393
Assert.True(property.
ShouldSerializeValue
(list));
397
Assert.False(property.
ShouldSerializeValue
(list));
801
Assert.True(property.
ShouldSerializeValue
(list));
805
Assert.True(property.
ShouldSerializeValue
(list));
809
Assert.False(property.
ShouldSerializeValue
(list));
813
Assert.False(property.
ShouldSerializeValue
(list));
System\Windows\Forms\ListBoxTests.cs (9)
463
Assert.False(property.
ShouldSerializeValue
(control));
467
Assert.True(property.
ShouldSerializeValue
(control));
471
Assert.False(property.
ShouldSerializeValue
(control));
1360
Assert.False(property.
ShouldSerializeValue
(control));
1364
Assert.True(property.
ShouldSerializeValue
(control));
1368
Assert.False(property.
ShouldSerializeValue
(control));
1837
Assert.False(property.
ShouldSerializeValue
(control));
1841
Assert.False(property.
ShouldSerializeValue
(control));
1845
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\MdiClientTests.cs (13)
165
Assert.False(property.
ShouldSerializeValue
(control));
169
Assert.True(property.
ShouldSerializeValue
(control));
173
Assert.True(property.
ShouldSerializeValue
(control));
463
Assert.True(property.
ShouldSerializeValue
(control));
467
Assert.True(property.
ShouldSerializeValue
(control));
471
Assert.True(property.
ShouldSerializeValue
(control));
475
Assert.True(property.
ShouldSerializeValue
(control));
479
Assert.True(property.
ShouldSerializeValue
(control));
1176
Assert.False(property.
ShouldSerializeValue
(control));
1180
Assert.False(property.
ShouldSerializeValue
(control));
1184
Assert.False(property.
ShouldSerializeValue
(control));
1188
Assert.False(property.
ShouldSerializeValue
(control));
1192
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\PaddingTests.cs (12)
102
Assert.False(property.
ShouldSerializeValue
(boxedPadding));
111
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
122
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
131
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
172
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
181
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
222
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
231
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
272
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
281
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
322
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
331
Assert.True(property.
ShouldSerializeValue
(boxedPadding));
System\Windows\Forms\PageSetupDialogTests.cs (2)
257
Assert.False(property.
ShouldSerializeValue
(dialog));
260
Assert.Equal(expected, property.
ShouldSerializeValue
(dialog));
System\Windows\Forms\PictureBoxTests.cs (9)
408
Assert.False(property.
ShouldSerializeValue
(pictureBox));
411
Assert.True(property.
ShouldSerializeValue
(pictureBox));
416
Assert.False(property.
ShouldSerializeValue
(pictureBox));
618
Assert.False(property.
ShouldSerializeValue
(pictureBox));
621
Assert.True(property.
ShouldSerializeValue
(pictureBox));
626
Assert.False(property.
ShouldSerializeValue
(pictureBox));
1105
Assert.False(property.
ShouldSerializeValue
(pictureBox));
1108
Assert.True(property.
ShouldSerializeValue
(pictureBox));
1113
Assert.False(property.
ShouldSerializeValue
(pictureBox));
System\Windows\Forms\ProgressBarTests.cs (3)
644
Assert.False(property.
ShouldSerializeValue
(control));
648
Assert.True(property.
ShouldSerializeValue
(control));
652
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\PropertyGridTests.cs (60)
398
Assert.False(property.
ShouldSerializeValue
(control));
402
Assert.True(property.
ShouldSerializeValue
(control));
406
Assert.False(property.
ShouldSerializeValue
(control));
772
Assert.False(property.
ShouldSerializeValue
(control));
776
Assert.True(property.
ShouldSerializeValue
(control));
780
Assert.False(property.
ShouldSerializeValue
(control));
850
Assert.False(property.
ShouldSerializeValue
(control));
854
Assert.True(property.
ShouldSerializeValue
(control));
858
Assert.False(property.
ShouldSerializeValue
(control));
935
Assert.False(property.
ShouldSerializeValue
(control));
939
Assert.True(property.
ShouldSerializeValue
(control));
943
Assert.False(property.
ShouldSerializeValue
(control));
1013
Assert.False(property.
ShouldSerializeValue
(control));
1017
Assert.True(property.
ShouldSerializeValue
(control));
1021
Assert.False(property.
ShouldSerializeValue
(control));
1098
Assert.False(property.
ShouldSerializeValue
(control));
1102
Assert.True(property.
ShouldSerializeValue
(control));
1106
Assert.False(property.
ShouldSerializeValue
(control));
1183
Assert.False(property.
ShouldSerializeValue
(control));
1187
Assert.True(property.
ShouldSerializeValue
(control));
1191
Assert.False(property.
ShouldSerializeValue
(control));
1261
Assert.False(property.
ShouldSerializeValue
(control));
1265
Assert.True(property.
ShouldSerializeValue
(control));
1269
Assert.False(property.
ShouldSerializeValue
(control));
1346
Assert.False(property.
ShouldSerializeValue
(control));
1350
Assert.True(property.
ShouldSerializeValue
(control));
1354
Assert.False(property.
ShouldSerializeValue
(control));
1510
Assert.False(property.
ShouldSerializeValue
(control));
1514
Assert.True(property.
ShouldSerializeValue
(control));
1518
Assert.False(property.
ShouldSerializeValue
(control));
1723
Assert.False(property.
ShouldSerializeValue
(control));
1727
Assert.True(property.
ShouldSerializeValue
(control));
1731
Assert.False(property.
ShouldSerializeValue
(control));
1801
Assert.False(property.
ShouldSerializeValue
(control));
1805
Assert.True(property.
ShouldSerializeValue
(control));
1809
Assert.False(property.
ShouldSerializeValue
(control));
1886
Assert.False(property.
ShouldSerializeValue
(control));
1890
Assert.True(property.
ShouldSerializeValue
(control));
1894
Assert.False(property.
ShouldSerializeValue
(control));
1964
Assert.False(property.
ShouldSerializeValue
(control));
1968
Assert.True(property.
ShouldSerializeValue
(control));
1972
Assert.False(property.
ShouldSerializeValue
(control));
2220
Assert.False(property.
ShouldSerializeValue
(control));
2224
Assert.True(property.
ShouldSerializeValue
(control));
2228
Assert.False(property.
ShouldSerializeValue
(control));
2467
Assert.False(property.
ShouldSerializeValue
(control));
2471
Assert.True(property.
ShouldSerializeValue
(control));
2475
Assert.False(property.
ShouldSerializeValue
(control));
2545
Assert.False(property.
ShouldSerializeValue
(control));
2549
Assert.True(property.
ShouldSerializeValue
(control));
2553
Assert.False(property.
ShouldSerializeValue
(control));
3271
Assert.False(property.
ShouldSerializeValue
(control));
3275
Assert.True(property.
ShouldSerializeValue
(control));
3279
Assert.False(property.
ShouldSerializeValue
(control));
3356
Assert.False(property.
ShouldSerializeValue
(control));
3360
Assert.True(property.
ShouldSerializeValue
(control));
3364
Assert.False(property.
ShouldSerializeValue
(control));
3441
Assert.False(property.
ShouldSerializeValue
(control));
3445
Assert.True(property.
ShouldSerializeValue
(control));
3449
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ScrollableControlTests.cs (10)
444
Assert.False(property.
ShouldSerializeValue
(control));
448
Assert.True(property.
ShouldSerializeValue
(control));
452
Assert.True(property.
ShouldSerializeValue
(control));
456
Assert.True(property.
ShouldSerializeValue
(control));
460
Assert.False(property.
ShouldSerializeValue
(control));
685
Assert.False(property.
ShouldSerializeValue
(control));
689
Assert.True(property.
ShouldSerializeValue
(control));
693
Assert.True(property.
ShouldSerializeValue
(control));
697
Assert.True(property.
ShouldSerializeValue
(control));
701
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\StatusStripTests.cs (6)
581
Assert.False(property.
ShouldSerializeValue
(control));
585
Assert.True(property.
ShouldSerializeValue
(control));
589
Assert.False(property.
ShouldSerializeValue
(control));
593
Assert.False(property.
ShouldSerializeValue
(control));
597
Assert.True(property.
ShouldSerializeValue
(control));
601
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\TabControlTests.cs (10)
1585
Assert.False(property.
ShouldSerializeValue
(control));
1589
Assert.True(property.
ShouldSerializeValue
(control));
1593
Assert.True(property.
ShouldSerializeValue
(control));
1597
Assert.True(property.
ShouldSerializeValue
(control));
1601
Assert.False(property.
ShouldSerializeValue
(control));
1794
Assert.False(property.
ShouldSerializeValue
(control));
1798
Assert.True(property.
ShouldSerializeValue
(control));
1802
Assert.True(property.
ShouldSerializeValue
(control));
1806
Assert.True(property.
ShouldSerializeValue
(control));
1810
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\TableLayoutPanelTests.cs (4)
360
Assert.False(property.
ShouldSerializeValue
(control));
363
Assert.False(property.
ShouldSerializeValue
(control));
368
Assert.True(property.
ShouldSerializeValue
(control));
372
Assert.True(property.
ShouldSerializeValue
(control));
System\Windows\Forms\TabPageTests.cs (6)
2396
Assert.False(property.
ShouldSerializeValue
(control));
2400
Assert.True(property.
ShouldSerializeValue
(control));
2404
Assert.True(property.
ShouldSerializeValue
(control));
2408
Assert.True(property.
ShouldSerializeValue
(control));
2412
Assert.True(property.
ShouldSerializeValue
(control));
2416
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ToolStripContentPanelTests.cs (6)
1467
Assert.False(property.
ShouldSerializeValue
(item));
1471
Assert.True(property.
ShouldSerializeValue
(item));
1475
Assert.False(property.
ShouldSerializeValue
(item));
1479
Assert.False(property.
ShouldSerializeValue
(item));
1483
Assert.True(property.
ShouldSerializeValue
(item));
1487
Assert.False(property.
ShouldSerializeValue
(item));
System\Windows\Forms\ToolStripControlHostTests.cs (21)
367
Assert.False(property.
ShouldSerializeValue
(item));
371
Assert.True(property.
ShouldSerializeValue
(item));
375
Assert.False(property.
ShouldSerializeValue
(item));
385
Assert.False(property.
ShouldSerializeValue
(item));
1043
Assert.False(property.
ShouldSerializeValue
(item));
1048
Assert.True(property.
ShouldSerializeValue
(item));
1052
Assert.False(property.
ShouldSerializeValue
(item));
1056
Assert.True(property.
ShouldSerializeValue
(item));
1060
Assert.False(property.
ShouldSerializeValue
(item));
1070
Assert.False(property.
ShouldSerializeValue
(item));
1186
Assert.False(property.
ShouldSerializeValue
(item));
1190
Assert.True(property.
ShouldSerializeValue
(item));
1194
Assert.False(property.
ShouldSerializeValue
(item));
1204
Assert.False(property.
ShouldSerializeValue
(item));
1689
Assert.False(property.
ShouldSerializeValue
(item));
1693
Assert.True(property.
ShouldSerializeValue
(item));
1697
Assert.True(property.
ShouldSerializeValue
(item));
1701
Assert.False(property.
ShouldSerializeValue
(item));
1705
Assert.True(property.
ShouldSerializeValue
(item));
1709
Assert.False(property.
ShouldSerializeValue
(item));
1720
Assert.False(property.
ShouldSerializeValue
(item));
System\Windows\Forms\ToolStripDropDownTests.cs (4)
1451
Assert.False(property.
ShouldSerializeValue
(control));
1455
Assert.True(property.
ShouldSerializeValue
(control));
1459
Assert.True(property.
ShouldSerializeValue
(control));
1463
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ToolStripItemTests.cs (76)
1756
Assert.False(property.
ShouldSerializeValue
(item));
1760
Assert.True(property.
ShouldSerializeValue
(item));
1764
Assert.False(property.
ShouldSerializeValue
(item));
2349
Assert.False(property.
ShouldSerializeValue
(item));
2353
Assert.True(property.
ShouldSerializeValue
(item));
2357
Assert.False(property.
ShouldSerializeValue
(item));
3211
Assert.False(property.
ShouldSerializeValue
(item));
3216
Assert.True(property.
ShouldSerializeValue
(item));
3222
Assert.False(property.
ShouldSerializeValue
(item));
3226
Assert.True(property.
ShouldSerializeValue
(item));
3232
Assert.False(property.
ShouldSerializeValue
(item));
3449
Assert.False(property.
ShouldSerializeValue
(item));
3453
Assert.True(property.
ShouldSerializeValue
(item));
3457
Assert.False(property.
ShouldSerializeValue
(item));
4132
Assert.False(property.
ShouldSerializeValue
(item));
4137
Assert.True(property.
ShouldSerializeValue
(item));
4141
Assert.False(property.
ShouldSerializeValue
(item));
4160
Assert.False(property.
ShouldSerializeValue
(item));
4165
Assert.True(property.
ShouldSerializeValue
(item));
4169
Assert.False(property.
ShouldSerializeValue
(item));
4820
Assert.False(property.
ShouldSerializeValue
(item));
4823
Assert.False(property.
ShouldSerializeValue
(item));
4828
Assert.False(property.
ShouldSerializeValue
(item));
4832
Assert.False(property.
ShouldSerializeValue
(item));
4844
Assert.False(property.
ShouldSerializeValue
(item));
4847
Assert.False(property.
ShouldSerializeValue
(item));
4852
Assert.False(property.
ShouldSerializeValue
(item));
4856
Assert.False(property.
ShouldSerializeValue
(item));
4874
Assert.False(property.
ShouldSerializeValue
(item));
4878
Assert.True(property.
ShouldSerializeValue
(item));
4882
Assert.True(property.
ShouldSerializeValue
(item));
4886
Assert.False(property.
ShouldSerializeValue
(item));
4890
Assert.False(property.
ShouldSerializeValue
(item));
5319
Assert.False(property.
ShouldSerializeValue
(item));
5324
Assert.False(property.
ShouldSerializeValue
(item));
5329
Assert.False(property.
ShouldSerializeValue
(item));
5334
Assert.False(property.
ShouldSerializeValue
(item));
5338
Assert.False(property.
ShouldSerializeValue
(item));
5350
Assert.False(property.
ShouldSerializeValue
(item));
5355
Assert.False(property.
ShouldSerializeValue
(item));
5360
Assert.False(property.
ShouldSerializeValue
(item));
5365
Assert.False(property.
ShouldSerializeValue
(item));
5369
Assert.False(property.
ShouldSerializeValue
(item));
5387
Assert.False(property.
ShouldSerializeValue
(item));
5391
Assert.True(property.
ShouldSerializeValue
(item));
5395
Assert.False(property.
ShouldSerializeValue
(item));
5399
Assert.False(property.
ShouldSerializeValue
(item));
5403
Assert.False(property.
ShouldSerializeValue
(item));
5800
Assert.False(property.
ShouldSerializeValue
(item));
5804
Assert.True(property.
ShouldSerializeValue
(item));
5808
Assert.False(property.
ShouldSerializeValue
(item));
6117
Assert.False(property.
ShouldSerializeValue
(item));
6121
Assert.True(property.
ShouldSerializeValue
(item));
6125
Assert.False(property.
ShouldSerializeValue
(item));
6932
Assert.False(property.
ShouldSerializeValue
(item));
6936
Assert.True(property.
ShouldSerializeValue
(item));
6940
Assert.False(property.
ShouldSerializeValue
(item));
7446
Assert.False(property.
ShouldSerializeValue
(item));
7450
Assert.True(property.
ShouldSerializeValue
(item));
7454
Assert.True(property.
ShouldSerializeValue
(item));
7458
Assert.False(property.
ShouldSerializeValue
(item));
7462
Assert.True(property.
ShouldSerializeValue
(item));
7466
Assert.False(property.
ShouldSerializeValue
(item));
8800
Assert.False(property.
ShouldSerializeValue
(item));
8804
Assert.True(property.
ShouldSerializeValue
(item));
8808
Assert.True(property.
ShouldSerializeValue
(item));
8812
Assert.True(property.
ShouldSerializeValue
(item));
8816
Assert.False(property.
ShouldSerializeValue
(item));
9104
Assert.False(property.
ShouldSerializeValue
(item));
9109
Assert.False(property.
ShouldSerializeValue
(item));
9114
Assert.False(property.
ShouldSerializeValue
(item));
9119
Assert.True(property.
ShouldSerializeValue
(item));
9123
Assert.False(property.
ShouldSerializeValue
(item));
9616
Assert.False(property.
ShouldSerializeValue
(item));
9620
Assert.True(property.
ShouldSerializeValue
(item));
9624
Assert.True(property.
ShouldSerializeValue
(item));
System\Windows\Forms\ToolStripSeparatorTests.cs (3)
406
Assert.False(property.
ShouldSerializeValue
(item));
410
Assert.True(property.
ShouldSerializeValue
(item));
414
Assert.True(property.
ShouldSerializeValue
(item));
System\Windows\Forms\ToolStripTests.cs (10)
2224
Assert.False(property.
ShouldSerializeValue
(control));
2228
Assert.True(property.
ShouldSerializeValue
(control));
2232
Assert.True(property.
ShouldSerializeValue
(control));
2236
Assert.False(property.
ShouldSerializeValue
(control));
3407
Assert.False(property.
ShouldSerializeValue
(control));
3411
Assert.True(property.
ShouldSerializeValue
(control));
3415
Assert.True(property.
ShouldSerializeValue
(control));
3419
Assert.False(property.
ShouldSerializeValue
(control));
3423
Assert.False(property.
ShouldSerializeValue
(control));
3427
Assert.False(property.
ShouldSerializeValue
(control));
System\Windows\Forms\ToolTipTests.cs (25)
194
Assert.False(automaticProperty.
ShouldSerializeValue
(toolTip));
195
Assert.False(initialProperty.
ShouldSerializeValue
(toolTip));
196
Assert.False(reshowProperty.
ShouldSerializeValue
(toolTip));
197
Assert.False(autoPopProperty.
ShouldSerializeValue
(toolTip));
202
Assert.False(automaticProperty.
ShouldSerializeValue
(toolTip));
203
Assert.False(initialProperty.
ShouldSerializeValue
(toolTip));
204
Assert.False(reshowProperty.
ShouldSerializeValue
(toolTip));
205
Assert.False(autoPopProperty.
ShouldSerializeValue
(toolTip));
210
Assert.True(automaticProperty.
ShouldSerializeValue
(toolTip));
211
Assert.False(initialProperty.
ShouldSerializeValue
(toolTip));
212
Assert.False(reshowProperty.
ShouldSerializeValue
(toolTip));
213
Assert.False(autoPopProperty.
ShouldSerializeValue
(toolTip));
218
Assert.True(automaticProperty.
ShouldSerializeValue
(toolTip));
219
Assert.True(initialProperty.
ShouldSerializeValue
(toolTip));
220
Assert.True(reshowProperty.
ShouldSerializeValue
(toolTip));
221
Assert.True(autoPopProperty.
ShouldSerializeValue
(toolTip));
264
Assert.False(property.
ShouldSerializeValue
(toolTip));
267
Assert.True(property.
ShouldSerializeValue
(toolTip));
270
Assert.True(property.
ShouldSerializeValue
(toolTip));
389
Assert.False(property.
ShouldSerializeValue
(toolTip));
392
Assert.True(property.
ShouldSerializeValue
(toolTip));
395
Assert.True(property.
ShouldSerializeValue
(toolTip));
474
Assert.False(property.
ShouldSerializeValue
(toolTip));
477
Assert.True(property.
ShouldSerializeValue
(toolTip));
480
Assert.True(property.
ShouldSerializeValue
(toolTip));
System\Windows\Forms\TreeNodeTests.cs (6)
440
Assert.False(property.
ShouldSerializeValue
(node));
444
Assert.True(property.
ShouldSerializeValue
(node));
448
Assert.True(property.
ShouldSerializeValue
(node));
881
Assert.False(property.
ShouldSerializeValue
(node));
885
Assert.True(property.
ShouldSerializeValue
(node));
889
Assert.True(property.
ShouldSerializeValue
(node));
WindowsBase.Tests (8)
System\ComponentModel\GroupDescriptionTests.cs (8)
273
Assert.False(property.
ShouldSerializeValue
(description));
276
Assert.False(property.
ShouldSerializeValue
(description));
279
Assert.True(property.
ShouldSerializeValue
(description));
282
Assert.False(property.
ShouldSerializeValue
(description));
472
Assert.False(property.
ShouldSerializeValue
(description));
475
Assert.False(property.
ShouldSerializeValue
(description));
478
Assert.True(property.
ShouldSerializeValue
(description));
481
Assert.False(property.
ShouldSerializeValue
(description));