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