45 writes to TypeName
dotnet-svcutil-lib (45)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
1138
this.
TypeName
= xsiType.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
187
mapping.
TypeName
= Soap.UrType;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (7)
163
element.Mapping.
TypeName
= elementName;
264
mapping.
TypeName
= Soap.UrType;
317
mapping.
TypeName
= baseMapping.TypeName;
344
mapping.
TypeName
= typeName;
555
mapping.
TypeName
= uniqueName;
579
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
599
mapping.
TypeName
= typeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (9)
329
structMapping.
TypeName
= type.Name;
462
arrayMapping.
TypeName
= "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeName);
507
mapping.
TypeName
= td.DataType.Name;
523
arrayMapping.
TypeName
= "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeName);
611
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
632
enumMapping.
TypeName
= identifier;
659
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
673
mapping.
TypeName
= sourceTypeDesc.DataType.Name;
688
mapping.
TypeName
= typeDesc.DataType.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (8)
551
serializableMapping.
TypeName
= qname.Name;
641
mapping.
TypeName
= Soap.UrType;
686
mapping.
TypeName
= baseMapping.TypeName;
747
mapping.
TypeName
= typeName;
1005
mapping.
TypeName
= null;
1085
mapping.
TypeName
= uniqueName;
1177
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
1199
mapping.
TypeName
= typeName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (19)
82
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
474
top.
TypeName
= mapping.TypeName;
479
mapping.
TypeName
= qname.IsEmpty ? null : typeName;
665
structMapping.
TypeName
= type.Name == null || type.Name.Length == 0 ? null : identifier;
719
structMapping.
TypeName
= identifier;
1284
textMapping.
TypeName
= textMapping.TypeDesc.Name;
1304
mapping.
TypeName
= mapping.TypeDesc.Name;
1386
arrayMapping.
TypeName
= identifier;
1399
arrayMapping.
TypeName
= (type.Name == null || type.Name.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(arrayMapping.TypeDesc.Name) : type.Name;
1416
arrayMapping.
TypeName
= (type.Name == null || type.Name.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeDesc.Name) : type.Name;
1505
mapping.
TypeName
= mapping.TypeDesc.Name;
1596
mapping.
TypeName
= mapping.TypeDesc.Name;
1657
xmlnsMapping.
TypeName
= xmlnsMapping.TypeDesc.Name;
1693
mapping.
TypeName
= mapping.TypeDesc.DataType.Name;
1808
mapping.
TypeName
= dataType.Name;
1848
enumMapping.
TypeName
= identifier;
1903
enumMapping.
TypeName
= typeName;
1932
mapping.
TypeName
= sourceTypeDesc.DataType.Name;
1948
mapping.
TypeName
= typeDesc.DataType.Name;
68 references to TypeName
dotnet-svcutil-lib (68)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (2)
610
throw new InvalidOperationException(string.Format(ResXml.XmlHiddenMember, parent, member.Name, member.TypeDesc.FullName, this.
TypeName
, _members[i].Name, _members[i].TypeDesc.FullName));
613
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXmlOverride, parent, member.Name, this.
TypeName
, _members[i].Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (1)
116
AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.
TypeName
), mapping.Namespace, mapping.IncludeInSchema);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (11)
291
TypeMapping existingMapping = (TypeMapping)_nullables[baseMapping.
TypeName
, baseMapping.Namespace];
317
mapping.TypeName = baseMapping.
TypeName
;
320
_nullables.Add(baseMapping.
TypeName
, mapping.Namespace, mapping);
436
if (mapping.BaseMapping.Declares(member, mapping.
TypeName
)) continue;
465
ArrayMapping existingMapping = (ArrayMapping)_types[mapping.
TypeName
, mapping.Namespace];
476
_types[mapping.
TypeName
, mapping.Namespace] = mapping;
480
_types.Add(mapping.
TypeName
, mapping.Namespace, mapping);
502
itemTypeName = itemTypeMapping.
TypeName
;
521
itemTypeName = itemTypeMapping.
TypeName
;
527
itemTypeName = itemTypeMapping.
TypeName
;
758
element.Name = mapping.
TypeName
; //XmlConvert.EncodeLocalName(name == null || name.Length == 0 ? mapping.TypeName : name);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (10)
234
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
236
type.Name = mapping.
TypeName
;
271
return new XmlQualifiedName(mapping.
TypeName
, mapping.Namespace);
324
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
326
type.Name = mapping.
TypeName
;
354
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
356
type.Name = mapping.
TypeName
;
411
CheckForDuplicateType(mapping.
TypeName
, mapping.Namespace);
413
dataType.Name = mapping.
TypeName
;
444
return new XmlQualifiedName(mapping.
TypeName
, mapping.Namespace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (2)
462
arrayMapping.TypeName = "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.
TypeName
);
523
arrayMapping.TypeName = "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.
TypeName
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (6)
164
AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.Name, Accessor.UnescapeName(mapping.
TypeName
), mapping.Namespace, mapping.IncludeInSchema);
376
long val = XmlCustomFormatter.ToEnum(defaultValue, values, em.
TypeName
, true);
427
AddWarningComment(comments, string.Format(ResXml.XmlDropAttributeValue, attributeName, mapping.
TypeName
, defaultValue.ToString()));
462
AddWarningComment(comments, string.Format(ResXml.XmlNotKnownDefaultValue, extension.GetType().FullName, attributeName, (string)defaultValue, mapping.
TypeName
, mapping.Namespace));
494
AddWarningComment(comments, string.Format(ResXml.XmlDropAttributeValue, attributeName, pm.
TypeName
, defaultValue.ToString()));
691
bool sameName = arrayElement.Mapping.TypeDesc.IsArray ? false : elementName == arrayElement.Mapping.
TypeName
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlMemberMapping.cs (1)
81
get { return Accessor.Mapping != null ? Accessor.Mapping.
TypeName
: String.Empty; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlMembersMapping.cs (1)
44
get { return Accessor.Mapping.
TypeName
; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (10)
349
ArrayMapping existingMapping = mapping.IsAnonymousType ? null : (ArrayMapping)_types[existing.Mapping.
TypeName
, existing.Mapping.Namespace];
359
_types[existing.Mapping.
TypeName
, existing.Mapping.Namespace] = mapping;
654
existingMapping = (TypeMapping)_nullables[baseMapping.
TypeName
, baseMapping.Namespace];
686
mapping.TypeName = baseMapping.
TypeName
;
691
_nullables.Add(baseMapping.
TypeName
, baseMapping.Namespace, mapping);
862
if (mapping.BaseMapping.Declares(member, mapping.
TypeName
)) continue;
1112
ArrayMapping existingMapping = (ArrayMapping)_types[mapping.
TypeName
, mapping.Namespace];
1124
_types[mapping.
TypeName
, mapping.Namespace] = mapping;
1131
_types.Add(mapping.
TypeName
, mapping.Namespace, mapping);
2127
throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdDuplicate, choiceMapping.
TypeName
, choiceId));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (8)
280
string newTypeName = mapping.
TypeName
;
583
ExportTypeMembers(type, mapping.Members, mapping.
TypeName
, ns, false, false);
646
type.Name = mapping.
TypeName
;
658
throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Type " + mapping.
TypeName
+ " from namespace '" + ns + "' is an invalid array mapping"));
935
long val = XmlCustomFormatter.ToEnum((string)value, values, em.
TypeName
, false);
1023
type.Name = mapping.
TypeName
;
1054
ExportTypeMembers(type, mapping.Members, mapping.
TypeName
, mapping.Namespace, mapping.HasSimpleContent, openModel);
1192
dataType.Name = mapping.
TypeName
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
474
top.TypeName = mapping.
TypeName
;
694
MemberMapping baseMember = ((StructMapping)baseMapping).FindDeclaringMapping(structMapping.Members[i], out declaringMapping, structMapping.
TypeName
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (8)
1620
WriteQuotedCSharpString(typeMapping.
TypeName
);
1659
WriteQuotedCSharpString(mapping.
TypeName
);
1785
WriteQuotedCSharpString(mapping.
TypeName
);
2226
WriteQuotedCSharpString(mapping.
TypeName
);
2296
WriteQuotedCSharpString(mapping.
TypeName
);
2325
WriteQuotedCSharpString(mapping.
TypeName
);
2439
WriteQuotedCSharpString(mapping.
TypeName
);
3171
string name = writeAccessor ? element.Name : element.Mapping.
TypeName
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (5)
260
ilg.Ldstr(mapping.
TypeName
);
852
ilg.Ldstr(mapping.
TypeName
);
928
ilg.Ldstr(mapping.
TypeName
);
1117
ilg.Ldstr(mapping.
TypeName
);
2010
string name = writeAccessor ? element.Name : element.Mapping.
TypeName
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTypeMapping.cs (1)
49
get { return Mapping.
TypeName
; }