27 references to IsAnonymousType
System.Private.Xml (27)
System\Xml\Serialization\Mappings.cs (2)
349get { return IsAnonymousType ? XmlConvert.EncodeLocalName(_typeDesc!.Name) : _typeName; } 487if (!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) 1130if (!mapping.IsAnonymousType) 1137if (!mapping.IsAnonymousType) 1215if (!mapping.IsAnonymousType)
System\Xml\Serialization\XmlSchemaExporter.cs (15)
251if (mapping.IsAnonymousType) 373if (pm.IsAnonymousType) 601if (!mapping.IsAnonymousType) 606if (!currentMapping.IsAnonymousType) 633if (mapping.IsAnonymousType) 764if (pm.IsAnonymousType) 777if (pm.IsAnonymousType) 962if (mapping.IsAnonymousType) 974if (!mapping.IsAnonymousType) 984if (mapping.BaseMapping.IsAnonymousType) 1018if (mapping.IsAnonymousType) 1089if (pm.IsAnonymousType) 1128if (mapping.IsAnonymousType) 1145if (!mapping.IsAnonymousType) 1173if (!mapping.IsAnonymousType)