45 writes to TypeName
System.Xml (45)
System\Xml\Serialization\Mappings.cs (1)
960
this.
TypeName
= xsiType.Name;
System\Xml\Serialization\SchemaImporter.cs (1)
169
mapping.
TypeName
= Soap.UrType;
System\Xml\Serialization\SoapReflectionImporter.cs (7)
154
element.Mapping.
TypeName
= elementName;
242
mapping.
TypeName
= Soap.UrType;
286
mapping.
TypeName
= baseMapping.TypeName;
311
mapping.
TypeName
= typeName;
497
mapping.
TypeName
= uniqueName;
516
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
534
mapping.
TypeName
= typeName;
System\Xml\Serialization\SoapSchemaImporter.cs (9)
300
structMapping.
TypeName
= type.Name;
413
arrayMapping.
TypeName
= "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeName);
451
mapping.
TypeName
= td.DataType.Name;
466
arrayMapping.
TypeName
= "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeName);
540
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
560
enumMapping.
TypeName
= identifier;
585
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
598
mapping.
TypeName
= sourceTypeDesc.DataType.Name;
610
mapping.
TypeName
= typeDesc.DataType.Name;
System\Xml\Serialization\XmlReflectionImporter.cs (8)
485
serializableMapping.
TypeName
= qname.Name;
564
mapping.
TypeName
= Soap.UrType;
603
mapping.
TypeName
= baseMapping.TypeName;
659
mapping.
TypeName
= typeName;
878
mapping.
TypeName
= null;
947
mapping.
TypeName
= uniqueName;
1028
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
1048
mapping.
TypeName
= typeName;
System\Xml\Serialization\XmlSchemaImporter.cs (19)
81
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
420
top.
TypeName
= mapping.TypeName;
424
mapping.
TypeName
= qname.IsEmpty ? null : typeName;
583
structMapping.
TypeName
= type.Name == null || type.Name.Length == 0 ? null : identifier;
631
structMapping.
TypeName
= identifier;
1109
textMapping.
TypeName
= textMapping.TypeDesc.Name;
1127
mapping.
TypeName
= mapping.TypeDesc.Name;
1202
arrayMapping.
TypeName
= identifier;
1214
arrayMapping.
TypeName
= (type.Name == null || type.Name.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(arrayMapping.TypeDesc.Name) : type.Name;
1230
arrayMapping.
TypeName
= (type.Name == null || type.Name.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeDesc.Name) : type.Name;
1314
mapping.
TypeName
= mapping.TypeDesc.Name;
1392
mapping.
TypeName
= mapping.TypeDesc.Name;
1444
xmlnsMapping.
TypeName
= xmlnsMapping.TypeDesc.Name;
1477
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
1573
mapping.
TypeName
= dataType.Name;
1609
enumMapping.
TypeName
= identifier;
1657
enumMapping.
TypeName
= typeName;
1683
mapping.
TypeName
= sourceTypeDesc.DataType.Name;
1696
mapping.
TypeName
= typeDesc.DataType.Name;
83 references to TypeName
System.Xml (83)
System\Xml\Serialization\Mappings.cs (2)
512
throw new InvalidOperationException(Res.GetString(Res.XmlHiddenMember, parent, member.Name, member.TypeDesc.FullName, this.
TypeName
, members[i].Name, members[i].TypeDesc.FullName));
514
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidXmlOverride, parent, member.Name, this.
TypeName
, members[i].Name));
System\Xml\Serialization\SoapCodeExporter.cs (1)
114
AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.
TypeName
), mapping.Namespace, mapping.IncludeInSchema);
System\Xml\Serialization\SoapReflectionImporter.cs (11)
265
TypeMapping existingMapping = (TypeMapping)nullables[baseMapping.
TypeName
, baseMapping.Namespace];
286
mapping.TypeName = baseMapping.
TypeName
;
289
nullables.Add(baseMapping.
TypeName
, mapping.Namespace, mapping);
391
if (mapping.BaseMapping.Declares(member, mapping.
TypeName
)) continue;
420
ArrayMapping existingMapping = (ArrayMapping)types[mapping.
TypeName
, mapping.Namespace];
429
types[mapping.
TypeName
, mapping.Namespace] = mapping;
433
types.Add(mapping.
TypeName
, mapping.Namespace, mapping);
453
itemTypeName = itemTypeMapping.
TypeName
;
468
itemTypeName = itemTypeMapping.
TypeName
;
473
itemTypeName = itemTypeMapping.
TypeName
;
676
element.Name = mapping.
TypeName
; //XmlConvert.EncodeLocalName(name == null || name.Length == 0 ? mapping.TypeName : name);
System\Xml\Serialization\SoapSchemaExporter.cs (10)
201
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
203
type.Name = mapping.
TypeName
;
236
return new XmlQualifiedName(mapping.
TypeName
, mapping.Namespace);
281
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
283
type.Name = mapping.
TypeName
;
307
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
309
type.Name = mapping.
TypeName
;
353
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
355
dataType.Name = mapping.
TypeName
;
382
return new XmlQualifiedName(mapping.
TypeName
, mapping.Namespace);
System\Xml\Serialization\SoapSchemaImporter.cs (2)
413
arrayMapping.TypeName = "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.
TypeName
);
466
arrayMapping.TypeName = "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.
TypeName
);
System\Xml\Serialization\XmlCodeExporter.cs (6)
150
AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.
TypeName
), mapping.Namespace, mapping.IncludeInSchema);
334
long val = XmlCustomFormatter.ToEnum(defaultValue, values, em.
TypeName
, true);
379
AddWarningComment(comments, Res.GetString(Res.XmlDropAttributeValue, attributeName, mapping.
TypeName
, defaultValue.ToString()));
406
AddWarningComment(comments, Res.GetString(Res.XmlNotKnownDefaultValue, extension.GetType().FullName, attributeName, (string)defaultValue, mapping.
TypeName
, mapping.Namespace));
432
AddWarningComment(comments, Res.GetString(Res.XmlDropAttributeValue, attributeName, pm.
TypeName
, defaultValue.ToString()));
601
bool sameName = arrayElement.Mapping.TypeDesc.IsArray ? false : elementName == arrayElement.Mapping.
TypeName
;
System\Xml\Serialization\XmlMemberMapping.cs (1)
74
get { return Accessor.Mapping != null ? Accessor.Mapping.
TypeName
: String.Empty; }
System\Xml\Serialization\XmlMembersMapping.cs (1)
41
get { return Accessor.Mapping.
TypeName
; }
System\Xml\Serialization\XmlReflectionImporter.cs (10)
314
ArrayMapping existingMapping = mapping.IsAnonymousType ? null : (ArrayMapping)types[existing.Mapping.
TypeName
, existing.Mapping.Namespace];
323
types[existing.Mapping.
TypeName
, existing.Mapping.Namespace] = mapping;
576
existingMapping = (TypeMapping)nullables[baseMapping.
TypeName
, baseMapping.Namespace];
603
mapping.TypeName = baseMapping.
TypeName
;
608
nullables.Add(baseMapping.
TypeName
, baseMapping.Namespace, mapping);
757
if (mapping.BaseMapping.Declares(member, mapping.
TypeName
)) continue;
972
ArrayMapping existingMapping = (ArrayMapping)types[mapping.
TypeName
, mapping.Namespace];
982
types[mapping.
TypeName
, mapping.Namespace] = mapping;
989
types.Add(mapping.
TypeName
, mapping.Namespace, mapping);
1852
throw new InvalidOperationException(Res.GetString(Res.XmlChoiceIdDuplicate, choiceMapping.
TypeName
, choiceId));
System\Xml\Serialization\XmlSchemaExporter.cs (7)
248
string newTypeName = mapping.
TypeName
;
506
ExportTypeMembers(type, mapping.Members, mapping.
TypeName
, ns, false, false);
556
type.Name = mapping.
TypeName
;
800
long val = XmlCustomFormatter.ToEnum((string)value, values, em.
TypeName
, false);
873
type.Name = mapping.
TypeName
;
900
ExportTypeMembers(type, mapping.Members, mapping.
TypeName
, mapping.Namespace, mapping.HasSimpleContent, openModel);
1012
dataType.Name = mapping.
TypeName
;
System\Xml\Serialization\XmlSchemaImporter.cs (2)
420
top.TypeName = mapping.
TypeName
;
608
MemberMapping baseMember = ((StructMapping)baseMapping).FindDeclaringMapping(structMapping.Members[i], out declaringMapping, structMapping.
TypeName
);
System\Xml\Serialization\XmlSerializationReader.cs (10)
2267
WriteID(mapping.
TypeName
);
2867
WriteQNameEqual("xsiType", derived.
TypeName
, derived.Namespace);
2900
WriteQNameEqual("xsiType", mapping.
TypeName
, mapping.Namespace);
2921
WriteQNameEqual("xsiType", mapping.
TypeName
, mapping.Namespace);
3047
WriteQNameEqual("xsiType", structMapping.
TypeName
, structMapping.Namespace);
3074
WriteQuotedCSharpString(structMapping.
TypeName
);
3121
structMapping.FindDeclaringMapping(mapping, out declaringMapping, structMapping.
TypeName
);
3209
WriteQuotedCSharpString(structMapping.
TypeName
);
4159
WriteID(arrayMapping.
TypeName
);
4351
WriteID(mapping.
TypeName
);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
1163
WriteQNameEqual("xsiType", derived.
TypeName
, derived.Namespace);
1202
WriteQNameEqual("xsiType", mapping.
TypeName
, mapping.Namespace);
1274
WriteQNameEqual("xsiType", mapping.
TypeName
, mapping.Namespace);
1454
WriteQNameEqual("xsiType", structMapping.
TypeName
, structMapping.Namespace);
1537
ilg.Ldstr(structMapping.
TypeName
);
1595
structMapping.FindDeclaringMapping(mapping, out declaringMapping, structMapping.
TypeName
);
System\Xml\Serialization\XmlSerializationWriter.cs (8)
1388
WriteQuotedCSharpString(typeMapping.
TypeName
);
1423
WriteQuotedCSharpString(mapping.
TypeName
);
1531
WriteQuotedCSharpString(mapping.
TypeName
);
1918
WriteQuotedCSharpString(mapping.
TypeName
);
1981
WriteQuotedCSharpString(mapping.
TypeName
);
2009
WriteQuotedCSharpString(mapping.
TypeName
);
2111
WriteQuotedCSharpString(mapping.
TypeName
);
2747
string name = writeAccessor ? element.Name : element.Mapping.
TypeName
;
System\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
234
ilg.Ldstr(mapping.
TypeName
);
777
ilg.Ldstr(mapping.
TypeName
);
852
ilg.Ldstr(mapping.
TypeName
);
1031
ilg.Ldstr(mapping.
TypeName
);
1846
string name = writeAccessor ? element.Name : element.Mapping.
TypeName
;
System\Xml\Serialization\XmlTypeMapping.cs (1)
47
get { return Mapping.
TypeName
; }