2 writes to _documentType
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (2)
74
_documentType
= null;
324
_documentType
= typeDeclaration;
25 references to _documentType
System.Windows.Forms.Design (25)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (25)
71
if (
_documentType
is not null)
187
[MemberNotNull(nameof(
_documentType
))]
195
Debug.Assert(
_documentType
is null && _documentNamespace is null, "We have no compile unit but we still have a type or namespace. Our state is inconsistent.");
210
if (
_documentType
is null)
331
if (
_documentType
is not null)
338
if (
_documentType
is null)
372
LoaderHost.AddService(
_documentType
);
383
[MemberNotNull(nameof(
_documentType
))]
387
CodeTypeDeclaration docDeclaration =
_documentType
;
630
if (
_documentType
is null)
646
string oldTypeName =
_documentType
.Name;
666
reload |= (
_documentType
is null || !
_documentType
.Name.Equals(oldTypeName));
825
Debug.Assert(
_documentType
is not null, "EnsureDocument didn't create a document type");
831
_rootSerializer.Deserialize(manager,
_documentType
);
835
_typeSerializer!.Deserialize(manager,
_documentType
);
838
SetBaseComponentClassName($"{_documentNamespace.Name}.{
_documentType
.Name}");
849
_documentType
?.Name = newName;
854
if (
_documentType
is null)
859
CodeTypeMemberCollection members =
_documentType
.Members;
878
if (
_documentType
is null)
883
CodeTypeMemberCollection members =
_documentType
.Members;
1028
CodeTypeDeclaration? type =
_documentType
;
1135
CodeTypeDeclaration? type =
_documentType
;
1227
CodeTypeDeclaration? type =
_documentType
;