21 writes to StringProperty
System.Windows.Forms.Design.Tests (21)
System\ComponentModel\Design\ComponentDesignerTests.cs (21)
766
StringProperty
= "StringValue"
770
StringProperty
= string.Empty
774
StringProperty
= null
855
component1.
StringProperty
= "StringValue";
856
component2.
StringProperty
= string.Empty;
857
component3.
StringProperty
= null;
887
StringProperty
= value
985
StringProperty
= "StringValue"
989
StringProperty
= string.Empty
993
StringProperty
= null
1084
component1.
StringProperty
= "StringValue";
1085
component2.
StringProperty
= string.Empty;
1086
component3.
StringProperty
= null;
1114
StringProperty
= "StringValue"
1207
StringProperty
= "StringValue"
1293
StringProperty
= "StringValue"
1383
StringProperty
= "StringValue"
1490
StringProperty
= "StringValue"
1597
StringProperty
= "StringValue"
1873
StringProperty
= "StringValue"
3049
set =>
StringProperty
= (string)value;
37 references to StringProperty
System.Windows.Forms.Design.Tests (37)
System\ComponentModel\Design\ComponentDesignerTests.cs (37)
738
foreach (string property in new string[] { nameof(DefaultEventComponent.
StringProperty
) })
847
Assert.Equal("StringValue", component1.
StringProperty
);
849
Assert.Empty(component2.
StringProperty
);
851
Assert.Equal(uniqueMethodName, component3.
StringProperty
);
868
Assert.Equal("StringValue", component1.
StringProperty
);
870
Assert.Empty(component2.
StringProperty
);
872
Assert.Equal(uniqueMethodName, component3.
StringProperty
);
892
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
961
Assert.Equal(uniqueName, component.
StringProperty
);
974
Assert.Equal(uniqueName, component.
StringProperty
);
1076
Assert.Equal("StringValue", component1.
StringProperty
);
1078
Assert.Empty(component2.
StringProperty
);
1080
Assert.Equal(uniqueMethodName, component3.
StringProperty
);
1100
Assert.Equal("StringValue", component1.
StringProperty
);
1102
Assert.Empty(component2.
StringProperty
);
1104
Assert.Equal(uniqueMethodName, component3.
StringProperty
);
1119
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1179
Assert.Equal("StringValue", component.
StringProperty
);
1190
Assert.Equal("StringValue", component.
StringProperty
);
1212
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1272
Assert.Equal("StringValue", component.
StringProperty
);
1283
Assert.Equal("StringValue", component.
StringProperty
);
1303
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1362
Assert.Equal("StringValue", component.
StringProperty
);
1373
Assert.Equal("StringValue", component.
StringProperty
);
1393
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1459
Assert.Equal("StringValue", component.
StringProperty
);
1472
Assert.Equal("StringValue", component.
StringProperty
);
1500
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1566
Assert.Equal("StringValue", component.
StringProperty
);
1579
Assert.Equal("StringValue", component.
StringProperty
);
1660
Assert.Equal("StringValue", component.
StringProperty
);
1670
Assert.Equal("StringValue", component.
StringProperty
);
1883
.Returns(TypeDescriptor.GetProperties(typeof(DefaultEventComponent))[nameof(DefaultEventComponent.
StringProperty
)])
1933
Assert.Equal("StringValue", component.
StringProperty
);
1945
Assert.Equal("StringValue", component.
StringProperty
);
3048
get =>
StringProperty
;