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