27 references to IsAnonymousType
System.Private.Xml (27)
System\Xml\Serialization\Mappings.cs (2)
349get { return IsAnonymousType ? XmlConvert.EncodeLocalName(_typeDesc!.Name) : _typeName; } 488if (!IsAnonymousType && _baseMapping != null)
System\Xml\Serialization\XmlReflectionImporter.cs (10)
127if (mapping.IsAnonymousType && !mapping.TypeDesc!.IsSpecial) 355ArrayMapping? existingMapping = mapping.IsAnonymousType ? null : (ArrayMapping?)_types[existing.Mapping.TypeName!, existing.Mapping.Namespace]; 364if (!mapping.IsAnonymousType) 651if (!baseMapping.IsAnonymousType) 688if (!baseMapping.IsAnonymousType) 721if (!mapping.IsAnonymousType && mapping.TypeDesc != typeDesc) 749if (!mapping.IsAnonymousType) 1126if (!mapping.IsAnonymousType) 1133if (!mapping.IsAnonymousType) 1210if (!mapping.IsAnonymousType)
System\Xml\Serialization\XmlSchemaExporter.cs (15)
251if (mapping.IsAnonymousType) 373if (pm.IsAnonymousType) 605if (!mapping.IsAnonymousType) 610if (!currentMapping.IsAnonymousType) 637if (mapping.IsAnonymousType) 768if (pm.IsAnonymousType) 781if (pm.IsAnonymousType) 966if (mapping.IsAnonymousType) 978if (!mapping.IsAnonymousType) 988if (mapping.BaseMapping.IsAnonymousType) 1022if (mapping.IsAnonymousType) 1094if (pm.IsAnonymousType) 1133if (mapping.IsAnonymousType) 1150if (!mapping.IsAnonymousType) 1178if (!mapping.IsAnonymousType)