3 writes to _typeSerializer
System.Windows.Forms.Design (3)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
78_typeSerializer = null; 293_typeSerializer = manager.GetSerializer<TypeCodeDomSerializer>(baseType); 297_typeSerializer = null;
8 references to _typeSerializer
System.Windows.Forms.Design (8)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (8)
295if (!firstClass && _typeSerializer is not null) 305if (_rootSerializer is null && _typeSerializer is null) 321if (_rootSerializer is not null || _typeSerializer is not null) 798Debug.Assert(_rootSerializer is not null || _typeSerializer is not null, $"What are we saving right now? Base component has no serializer: {LoaderHost.RootComponent.GetType().FullName}"); 805else if (_typeSerializer is not null) 807typeDeclaration = _typeSerializer.Serialize(manager, LoaderHost.RootComponent, LoaderHost.Container.Components); 833Debug.Assert(_rootSerializer is not null || _typeSerializer is not null, "EnsureDocument didn't create a root serializer"); 841_typeSerializer!.Deserialize(manager, _documentType);