9 references to WritePotentiallyReferencingElement
System.Private.Xml (9)
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);
System\Xml\Serialization\XmlSerializationWriter.cs (5)
1277WritePotentiallyReferencingElement("Item", "", a.GetValue(i), elementType, false, true); 1304WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true); 1313WritePotentiallyReferencingElement(n, ns, o, null, false, false); 1319WritePotentiallyReferencingElement(n, ns, o, ambientType, false, false); 1325WritePotentiallyReferencingElement(n, ns, o, ambientType, suppressReference, false);