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)
295
if (!firstClass &&
_typeSerializer
is not null)
305
if (_rootSerializer is null &&
_typeSerializer
is null)
321
if (_rootSerializer is not null ||
_typeSerializer
is not null)
798
Debug.Assert(_rootSerializer is not null ||
_typeSerializer
is not null, $"What are we saving right now? Base component has no serializer: {LoaderHost.RootComponent.GetType().FullName}");
805
else if (
_typeSerializer
is not null)
807
typeDeclaration =
_typeSerializer
.Serialize(manager, LoaderHost.RootComponent, LoaderHost.Container.Components);
833
Debug.Assert(_rootSerializer is not null ||
_typeSerializer
is not null, "EnsureDocument didn't create a root serializer");
841
_typeSerializer
!.Deserialize(manager, _documentType);