6 writes to PreserveNames
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
223
delegator.Manager.
PreserveNames
= recycleInstances;
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (5)
174
PreserveNames
= value
179
manager.
PreserveNames
= value;
183
manager.
PreserveNames
= !value;
193
Assert.Throws<InvalidOperationException>(() => manager.
PreserveNames
= value);
751
PreserveNames
= preserveNames
10 references to PreserveNames
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.PassThroughSerializationManager.cs (1)
70
Manager.
PreserveNames
&& Manager.Container?.Components[name] is not null && _resolved.Add(name))
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (3)
264
if (!
PreserveNames
&& name is not null)
364
if (!
PreserveNames
&& name is not null)
805
if (instance is null &&
PreserveNames
&& Container is not null)
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (6)
19
Assert.True(manager.
PreserveNames
);
62
Assert.True(manager.
PreserveNames
);
176
Assert.Equal(value, manager.
PreserveNames
);
180
Assert.Equal(value, manager.
PreserveNames
);
184
Assert.Equal(!value, manager.
PreserveNames
);
194
Assert.True(manager.
PreserveNames
);