15 writes to Name
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (4)
530
xse.
Name
= localName;
548
xse.
Name
= localName;
560
xse.
Name
= localName;
2420
newElement.
Name
= copyElement.Name;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
344
set {
Name
= value; }
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1392
builder._element.
Name
= value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
299
element.
Name
= accessor.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
133
element.
Name
= member.MemberName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
267
element.
Name
= accessor.Name;
863
element.
Name
= accessor.Name;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
206
element.
Name
= elementName;
283
element.
Name
= member.MemberName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
863
element.
Name
= name;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
144
element.
Name
= Globals.SchemaLocalName;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
10832
o.
@Name
= Reader.Value;
72 references to Name
dotnet-svcutil-lib (72)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (6)
223
if (elem.
Name
== _xtr.LocalName && elem.QualifiedName.Namespace == _xtr.NamespaceURI)
1087
if ((el.
Name
== xtr.LocalName) && (parentSchema.TargetNamespace == childURI))
1115
if (el.
Name
== xtr.LocalName && parentSchema.TargetNamespace == childURI)
1145
if (el.
Name
== xtr.LocalName && parentSchema.TargetNamespace == childURI)
1375
if (xse.
Name
== elementName)
2420
newElement.Name = copyElement.
Name
;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (4)
1294
if (element.
Name
!= null)
1297
element.SetQualifiedName(new XmlQualifiedName(element.
Name
, _targetNamespace));
1349
if (element.
Name
!= null)
1353
element.SetQualifiedName(new XmlQualifiedName(element.
Name
, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (4)
941
if (element.
Name
!= null)
944
element.SetQualifiedName(new XmlQualifiedName(element.
Name
, _targetNamespace));
996
if (element.
Name
!= null)
1000
element.SetQualifiedName(new XmlQualifiedName(element.
Name
, (element.Form == XmlSchemaForm.Qualified || (element.Form == XmlSchemaForm.None && _elementFormDefault == XmlSchemaForm.Qualified)) ? _targetNamespace : null));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
343
get { return
Name
; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (3)
1304
if (e.
Name
== element.
Name
&& e.QualifiedName.Namespace == elementNs)
1309
throw new InvalidOperationException(string.Format(ResXml.XmlSerializableRootDupName, _getSchemaMethod.DeclaringType.FullName, e.
Name
, elementNs));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (3)
996
if (o.
Name
!= null && o.
Name
.Length != 0)
998
WriteAttribute(@"name", @"", o.
Name
);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (7)
172
if (element.
Name
.Length == 0)
180
accessor.Name = element.
Name
;
202
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.
Name
));
207
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.
Name
));
218
throw new InvalidOperationException(string.Format(ResXml.XmlElementMissingType, parentType.Name, parentType.Namespace, element.
Name
));
301
throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.
Name
));
436
arrayAccessor.Name = element.
Name
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
319
throw new InvalidOperationException(string.Format(ResXml.XmlIllegalForm, e.
Name
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (9)
329
if (element.
Name
.Length == 0)
334
string unescapedName = Accessor.UnescapeName(element.
Name
);
342
accessor.Name = element.
Name
;
410
throw new InvalidOperationException(string.Format(ResXml.XmlElementImportedTwice, element.
Name
, ns, mapping.GetType().Name, desiredMappingType.Name));
1185
equivalentElement.SubstitutionGroup.Name == element.
Name
)
1207
identifier = CodeIdentifier.MakeValid(Accessor.UnescapeName(element.
Name
));
1209
identifier += CodeIdentifier.MakePascal(Accessor.UnescapeName(element.
Name
));
1353
arrayAccessor.Name = element.
Name
;
1439
string refElementIdentifier = CodeIdentifier.MakeValid(Accessor.UnescapeName(refElement.
Name
));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (4)
558
return ((XmlSchemaElement)o).
Name
;
626
if (e.
Name
== null || e.
Name
.Length == 0)
634
item = string.Format(ResXml.XmlSchemaNamedItem, ns, "element", e.
Name
, details);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaHelper.cs (1)
118
return new XmlQualifiedName(schemaElement.
Name
, schema.TargetNamespace);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (19)
296
XmlQualifiedName currentElementName = new XmlQualifiedName(schemaElement.
Name
, schema.TargetNamespace);
364
xmlDataContract.SetTopLevelElementName(new XmlQualifiedName(element.
Name
, ns));
380
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CannotComputeUniqueName, element.
Name
)));
616
s_serializationSchemaElements.Add(schemaElement.
Name
, schemaElement);
965
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ElementMinOccursMustBe, element.
Name
));
967
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ElementMaxOccursMustBe, element.
Name
));
970
string memberName = element.
Name
;
978
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.FormMustBeQualified, element.
Name
));
984
memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.
Name
), typeName.Namespace));
1072
dataContract.ItemName = element.
Name
;
1076
ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ArrayItemFormMustBe, element.
Name
));
1083
XmlQualifiedName shortName = new XmlQualifiedName(element.
Name
, typeName.Namespace);
1091
XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.
Name
), typeName.Namespace);
1112
ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.InvalidKeyValueType, element.
Name
));
1116
ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.InvalidKeyValueTypeNamespace, element.
Name
, keyValueContract.Namespace));
1364
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.AbstractElementNotSupported, element.
Name
));
1366
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.DefaultOnElementNotSupported, element.
Name
));
1368
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.FixedOnElementNotSupported, element.
Name
));
1370
ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.SubstitutionGroupOnElementNotSupported, element.
Name
));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (3)
695
return CheckAndAddPart(element.SchemaTypeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.
Name
, GetLocalElementNamespace(ns, element, elementFormDefault), typeof(Stream), description, isReply);
1499
MessagePartDescription part = isHeader ? (MessagePartDescription)new MessageHeaderDescription(element.
Name
, ns) : new MessagePartDescription(element.
Name
, ns);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (4)
24
XmlSchemaElement existingElement = (XmlSchemaElement)schema.Elements[new XmlQualifiedName(element.
Name
, schema.TargetNamespace)];
29
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxConflictingGlobalElement, element.
Name
, schema.TargetNamespace, GetTypeName(element), GetTypeName(existingElement))));
107
Fx.Assert(e1.
Name
== e2.
Name
, "");
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
2861
if ((((global::System.String)o.
@Name
) != null) && (((global::System.String)o.
@Name
).Length != 0))
2863
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));