12 types derived from CodeDomSerializer
System.Windows.Forms.Design (12)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
16private class ComponentListCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
16public class CollectionCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
10internal class ComponentCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
12internal class ContainerCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
11internal class EnumCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
27internal class LocalizationCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\PrimitiveCodeDomSerializer.cs (1)
11internal class PrimitiveCodeDomSerializer : CodeDomSerializer
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
23internal partial class ResourceCodeDomSerializer : CodeDomSerializer
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (1)
16internal class ControlCodeDomSerializer : CodeDomSerializer
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (1)
14public class ImageListCodeDomSerializer : CodeDomSerializer
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (1)
15internal class TableLayoutPanelCodeDomSerializer : CodeDomSerializer
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (1)
16internal class ToolStripMenuItemCodeDomSerializer : CodeDomSerializer
2 instantiations of CodeDomSerializer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
21internal static CodeDomSerializer Default => s_default ??= new CodeDomSerializer();
System.Windows.Forms.Design.Tests (1)
Serialization\CodeDomSerializerTests.cs (1)
13CodeDomSerializer underTest = new();
39 references to CodeDomSerializer
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net10.0\System.Design.Forwards.cs (1)
52[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.Serialization.CodeDomSerializer))]
System.Windows.Forms.Design (37)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (2)
303CodeDomSerializer? serializer = GetSerializer(manager, type); 510if (manager.TryGetSerializer(data._value.GetType(), out CodeDomSerializer? serializer))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
44private CodeDomSerializer? _rootSerializer; 267if (serializerAttribute.SerializerBaseTypeName is not null && LoaderHost.GetType(serializerAttribute.SerializerBaseTypeName) == typeof(CodeDomSerializer)) 277_rootSerializer = (CodeDomSerializer?)Activator.CreateInstance(serializerType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.CreateInstance, binder: null, args: null, culture: null);
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (1)
196if (serializerType == typeof(CodeDomSerializer))
System\ComponentModel\Design\Serialization\CodeDomSerializationProvider.cs (2)
29if (serializerType == typeof(CodeDomSerializer)) 98return CodeDomSerializer.Default;
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (3)
15private static CodeDomSerializer? s_default; 21internal static CodeDomSerializer Default => s_default ??= new CodeDomSerializer(); 71manager.GetSerializer(prop.PropertyType, typeof(CodeDomSerializer)) is not CollectionCodeDomSerializer)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (9)
1753protected CodeDomSerializer? GetSerializer(IDesignerSerializationManager manager, object? value) 1768Type desiredSerializerType = typeof(CodeDomSerializer); 1821return (CodeDomSerializer?)Activator.CreateInstance(serializerType); 1832return manager.GetSerializer<CodeDomSerializer>(t); 1841protected CodeDomSerializer? GetSerializer(IDesignerSerializationManager manager, Type valueType) 1843return manager.GetSerializer<CodeDomSerializer>(valueType); 2339CodeDomSerializer? serializer = GetSerializer(manager, value); 2695if (manager.TryGetSerializer(type, out CodeDomSerializer? serializer)) 2745if (manager.TryGetSerializer(type, out CodeDomSerializer? serializer))
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (2)
30private readonly CodeDomSerializer? _currentSerializer; 39_currentSerializer = currentSerializer as CodeDomSerializer;
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (1)
143else if (manager.TryGetSerializer(propertyValue.GetType(), out CodeDomSerializer? serializer))
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
291CodeDomSerializer? serializer = GetSerializer(manager, type);
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
53if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer)) 152if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer))
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
15[DesignerSerializer(typeof(DesignerControlCollectionCodeDomSerializer), typeof(CodeDomSerializer))]
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (3)
27if (!manager.TryGetSerializer(typeof(Component), out CodeDomSerializer? serializer)) 42CodeDomSerializer baseSerializer = manager.GetSerializer<CodeDomSerializer>(typeof(ImageList).BaseType)!;
System\Windows\Forms\Design\TableLayoutPanelCodeDomSerializer.cs (2)
24private static CodeDomSerializer GetBaseSerializer(IDesignerSerializationManager manager) 26return manager.GetSerializer<CodeDomSerializer>(typeof(TableLayoutPanel).BaseType)!;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2146[DesignerSerializer(typeof(DesignerTableLayoutControlCollectionCodeDomSerializer), typeof(CodeDomSerializer))]
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializer.cs (4)
27private static CodeDomSerializer GetBaseSerializer(IDesignerSerializationManager manager) 28=> manager.GetSerializer<CodeDomSerializer>(typeof(Component))!; 47CodeDomSerializer baseSerializer = manager.GetSerializer<CodeDomSerializer>(typeof(ImageList).BaseType)!;
System.Windows.Forms.Design.Tests (1)
Serialization\CodeDomSerializerTests.cs (1)
13CodeDomSerializer underTest = new();