29 references to IsAnonymousType
System.Xml (29)
System\Xml\Serialization\CodeExporter.cs (2)
171if (!derived.ReferencedByElement && derived.IncludeInSchema && !derived.IsAnonymousType) { 257if (mapping.IsAnonymousType)
System\Xml\Serialization\Mappings.cs (2)
292get { return IsAnonymousType ? XmlConvert.EncodeLocalName(typeDesc.Name) : typeName; } 407if (!IsAnonymousType && baseMapping != null) {
System\Xml\Serialization\XmlReflectionImporter.cs (10)
119if (mapping.IsAnonymousType && !mapping.TypeDesc.IsSpecial) { 314ArrayMapping existingMapping = mapping.IsAnonymousType ? null : (ArrayMapping)types[existing.Mapping.TypeName, existing.Mapping.Namespace]; 322if (!mapping.IsAnonymousType) 574if (!baseMapping.IsAnonymousType) 606if (!baseMapping.IsAnonymousType) 635if (!mapping.IsAnonymousType && mapping.TypeDesc != typeDesc) 660if (!mapping.IsAnonymousType) 981if (!mapping.IsAnonymousType) 988if (!mapping.IsAnonymousType) 1055if (!mapping.IsAnonymousType)
System\Xml\Serialization\XmlSchemaExporter.cs (15)
246if (mapping.IsAnonymousType) 361if (pm.IsAnonymousType) { 555if (!mapping.IsAnonymousType) { 559if (!currentMapping.IsAnonymousType) 581if (mapping.IsAnonymousType) { 692if (pm.IsAnonymousType) { 702if (pm.IsAnonymousType) { 862if (mapping.IsAnonymousType) { 872if (!mapping.IsAnonymousType) { 880if (mapping.BaseMapping.IsAnonymousType) { 909if (mapping.IsAnonymousType) { 966if (pm.IsAnonymousType) { 999if (mapping.IsAnonymousType) 1013if (!mapping.IsAnonymousType) { 1037if (!mapping.IsAnonymousType) {