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