System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (4)
350WritePotentiallyReferencingElement(name, ns, o, mapping.TypeDesc!.Type, true, element.IsNullable);
354WritePotentiallyReferencingElement(name, ns, o, null, false, element.IsNullable);
423WritePotentiallyReferencingElement(name, ns, o, !writeAccessor ? mapping.TypeDesc!.Type : null, !writeAccessor, element.IsNullable);
1309WritePotentiallyReferencingElement(null, null, p[i], p[i].GetType(), true, false);