12 overrides of Serialize
System.Windows.Forms.Design (12)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
449
public override object
Serialize
(IDesignerSerializationManager manager, object state)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
129
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
102
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
45
public override object
Serialize
(IDesignerSerializationManager manager, object value)
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
23
public override object
Serialize
(IDesignerSerializationManager manager, object? value)
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
64
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\ComponentModel\Design\Serialization\PrimitiveCodeDomSerializer.cs (1)
23
public override object
Serialize
(IDesignerSerializationManager manager, object? value) => value switch
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
230
public override object
Serialize
(IDesignerSerializationManager manager, object value)
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (1)
146
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (1)
40
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
34
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
34
public override object?
Serialize
(IDesignerSerializationManager manager, object value)
12 references to Serialize
System.Windows.Forms.Design (10)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
518
: serializer.
Serialize
(manager, data._value);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
802
typeDeclaration = _rootSerializer.
Serialize
(manager, LoaderHost.RootComponent) as CodeTypeDeclaration;
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
213
data =
Serialize
(manager, value);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
2367
result = serializer.
Serialize
(manager, value!);
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
149
? _currentSerializer?.
Serialize
(manager, value!)
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (1)
195
result = serializer.
Serialize
(manager, propertyValue);
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (1)
160
object? retVal = serializer.
Serialize
(manager, value);
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (1)
43
object? codeObject = baseSerializer.
Serialize
(manager, value);
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
37
object? codeObject = GetBaseSerializer(manager).
Serialize
(manager, value);
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
49
return baseSerializer.
Serialize
(manager, value);
System.Windows.Forms.Design.Tests (2)
Serialization\PrimitiveCodeDomSerializerTests.cs (2)
32
var result = underTest.
Serialize
(manager, input) as CodePrimitiveExpression;
45
var cast = underTest.
Serialize
(manager, (byte)42) as CodeCastExpression;