64 references to Name
dotnet-svcutil-lib (64)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
241
CodeTypeDeclaration codeClass = new CodeTypeDeclaration(mapping.TypeDesc.
Name
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (1)
342
get { return IsAnonymousType ? XmlConvert.EncodeLocalName(_typeDesc.
Name
) : _typeName; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (3)
116
AddTypeMetadata(codeClass.CustomAttributes, typeof(SoapTypeAttribute), mapping.TypeDesc.
Name
, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
132
string className = mapping.TypeDesc.
Name
;
133
string baseName = mapping.TypeDesc.BaseTypeDesc == null ? string.Empty : mapping.TypeDesc.BaseTypeDesc.
Name
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (6)
241
string xsdTypeName = string.IsNullOrEmpty(dataType) ? model.TypeDesc.BaseTypeDesc.
Name
: dataType;
306
throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.
Name
, existingMapping.Namespace));
311
throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.
Name
, existingMapping.Namespace));
334
string typeName = XsdTypeName(model.Type, a, model.TypeDesc.
Name
);
590
string typeName = XsdTypeName(model.Type, a, model.TypeDesc.
Name
);
792
return XsdTypeName(type, GetAttributes(type), typeDesc.
Name
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
323
if (!mapping.IncludeInSchema) throw new InvalidOperationException(string.Format(ResXml.XmlSoapCannotIncludeInSchema, mapping.TypeDesc.
Name
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
164
AddTypeMetadata(codeClass.CustomAttributes, typeof(XmlTypeAttribute), mapping.TypeDesc.
Name
, Accessor.UnescapeName(mapping.TypeName), mapping.Namespace, mapping.IncludeInSchema);
192
if (typeMapping.TypeDesc.
Name
!= name)
568
string className = mapping.TypeDesc.
Name
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (6)
439
string xsdTypeName = valueTypeDesc.DataType == null ? valueTypeDesc.
Name
: valueTypeDesc.DataType.Name;
675
throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.
Name
, existingMapping.Namespace));
680
throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.
Name
, existingMapping.Namespace));
738
string typeName = IsAnonymousType(a, ns) ? null : XsdTypeName(model.Type, a, model.TypeDesc.
Name
);
959
return XsdTypeName(type, GetAttributes(type, false), typeDesc.
Name
);
1191
string typeName = IsAnonymousType(a, ns) ? null : XsdTypeName(model.Type, a, model.TypeDesc.
Name
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (10)
959
throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Mapping for " + pm.TypeDesc.
Name
+ " missing type property"));
975
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultValue, value.ToString(), pm.TypeDesc.
Name
));
978
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultValue, value.ToString(), pm.TypeDesc.
Name
));
1012
throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference2, mapping.TypeDesc.
Name
, "AnonymousType", "false"));
1018
if (!mapping.IncludeInSchema) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.
Name
));
1033
throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousBaseType, mapping.TypeDesc.
Name
, mapping.BaseMapping.TypeDesc.
Name
, "AnonymousType", "false"));
1139
throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousBaseType, textMapping.TypeDesc.
Name
, pm.TypeDesc.
Name
, "AnonymousType", "false"));
1186
if (!mapping.IncludeInSchema) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.
Name
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (7)
1284
textMapping.TypeName = textMapping.TypeDesc.
Name
;
1304
mapping.TypeName = mapping.TypeDesc.
Name
;
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
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (1)
306
string serializerName = CodeIdentifier.MakeValid(Accessor.UnescapeName(mapping.Accessor.Mapping.TypeDesc.
Name
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (5)
1543
MethodNames.Add(mapping, NextMethodName(mapping.TypeDesc.
Name
));
1680
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
2254
if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.
Name
) + Environment.StackTrace);
2292
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
3376
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (19)
39
MethodNames.Add(mapping, NextMethodName(mapping.TypeDesc.
Name
));
132
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
772
if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.
Name
) + Environment.StackTrace);
823
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
1213
string aVar = "a" + memberTypeDesc.
Name
;
1214
string aiVar = "ai" + memberTypeDesc.
Name
;
1492
WriteElements(source, choiceSource, elements, text, choice, "a" + memberTypeDesc.
Name
, writeAccessors, memberTypeDesc.IsNullable);
1500
string aName = "a" + arrayTypeDesc.
Name
;
1515
cName = "c" + choice.Mapping.TypeDesc.
Name
;
1602
string arrayNamePlusA = (arrayName).Replace(arrayTypeDesc.
Name
, "") + "a" + arrayElementTypeDesc.
Name
;
1603
string arrayNamePlusI = (arrayName).Replace(arrayTypeDesc.
Name
, "") + "i" + arrayElementTypeDesc.
Name
;
1625
string iPlusArrayName = "i" + (arrayName).Replace(arrayTypeDesc.
Name
, "");
1626
string arrayNamePlusA = (arrayName).Replace(arrayTypeDesc.
Name
, "") + "a" + arrayElementTypeDesc.
Name
;
1627
string arrayNamePlusI = (arrayName).Replace(arrayTypeDesc.
Name
, "") + "i" + arrayElementTypeDesc.
Name
;
2111
if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.
Name
) + Environment.StackTrace);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlTypeMapping.cs (1)
31
get { return Mapping.TypeDesc.
Name
; }