25 references to SerializeToExpression
System.Windows.Forms.Design (25)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
1702CodeExpression? baseExpression = SerializeToExpression(manager, baseInstance); 1970exp = SerializeToExpression(manager, arg); 2200CodeExpression? target = SerializeToExpression(manager, value);
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (3)
429expression = SerializeToExpression(manager, o); 523serializedObject = SerializeToExpression(manager, o); 599expression = SerializeToExpression(manager, o);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
272assignRhs = new CodeObjectCreateExpression(typeName, SerializeToExpression(manager, container)!);
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
47CodeExpression? eventTarget = SerializeToExpression(manager, value);
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
112CodeExpression? ownerExpression = SerializeToExpression(manager, tree.Owner);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (9)
148CodeExpression? target = SerializeToExpression(manager, value); 159CodeExpression? extender = SerializeToExpression(manager, exAttr.Provider); 160CodeExpression? extended = SerializeToExpression(manager, value); 229CodeExpression? extender = SerializeToExpression(manager, exAttr.Provider); 230CodeExpression? extended = SerializeToExpression(manager, value); 254serializedPropertyValue = SerializeToExpression(manager, propValue); 284CodeExpression? target = SerializeToExpression(manager, value); 305CodeExpression? rhsTarget = SerializeToExpression(manager, relationship.Owner); 335serializedPropertyValue = SerializeToExpression(manager, propValue);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
450SerializeToExpression(manager, member); 456SerializeToExpression(manager, root);
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (4)
347CodeExpression? field = SerializeToExpression(manager, control); 423CodeExpression controlsCollection = new CodePropertyReferenceExpression(SerializeToExpression(manager, control), "Controls"); 431CodeExpression? childControl = SerializeToExpression(manager, child); 433methodInvoke.Parameters.Add(SerializeToExpression(manager, 0));
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (1)
64CodeExpression? serializedObj = SerializeToExpression(manager, o);