62 references to Name
System.Data.Services.Client (1)
System\Data\Services\Client\XmlUtil.cs (1)
254
string localName = attribute.
Name
.LocalName;
System.Data.Services.Design (15)
System\Data\EntityModel\EntityClassGenerator.cs (8)
527
else if (attribute.
Name
.Namespace == oldNamespace || IsOpenTypeAttribute(attribute))
540
XAttribute existingAttribute = e.Attributes().SingleOrDefault(a => a.
Name
.NamespaceName == XmlConstants.EdmV1dot2Namespace && a.
Name
.LocalName == attribute.
Name
.LocalName);
544
e.Add(new XAttribute(XNamespace.Get(XmlConstants.EdmV1dot2Namespace) + attribute.
Name
.LocalName, attribute.Value));
553
e.Add(new XAttribute(newNamespace.GetName(attribute.
Name
.LocalName), attribute.Value));
615
return attribute.
Name
.LocalName == XmlConstants.DataWebOpenTypeAttributeName && attribute.
Name
.Namespace == XNamespace.None;
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (7)
222
var name = ToQualifiedName(attribute.
Name
);
245
string attributeNamespace = attribute.
Name
.NamespaceName;
298
string localName = attribute.
Name
.LocalName;
327
string localName = attribute.
Name
.LocalName;
337
XName name = attribute.
Name
;
360
validator.ValidateAttribute(attribute.
Name
.LocalName, attribute.
Name
.NamespaceName, attribute.Value, null);
System.Xml.Linq (46)
System\Xml\Linq\XComponentModel.cs (2)
133
if (a != null && value.element == a.parent && value.name == a.
Name
) {
152
changeState = a != null && value.element == a.parent && value.name == a.
Name
? a : null;
System\Xml\Linq\XLinq.cs (29)
3811
if (a.
Name
.NamespaceName.Length != 0 &&
3813
GetNamespaceOfPrefixInScope(a.
Name
.LocalName, e) == null)) {
3814
return a.
Name
.LocalName;
4974
if (Attribute(a.
Name
) != null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_DuplicateAttribute));
4980
if (Attribute(a.
Name
) != null) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_DuplicateAttribute));
5044
if (a.IsNamespaceDeclaration && a.
Name
.LocalName == prefix) return a.Value;
5204
resolver.AddFirst(a.
Name
.NamespaceName.Length == 0 ? string.Empty : a.
Name
.LocalName, XNamespace.Get(a.Value));
5218
resolver.Add(a.
Name
.NamespaceName.Length == 0 ? string.Empty : a.
Name
.LocalName, XNamespace.Get(a.Value));
5242
ns = a.
Name
.Namespace;
5243
string localName = a.
Name
.LocalName;
7416
ns = a.
Name
.Namespace;
7417
string localName = a.
Name
.LocalName;
7440
resolver.Add(a.
Name
.NamespaceName.Length == 0 ? string.Empty : a.
Name
.LocalName, XNamespace.Get(a.Value));
8226
return a.
Name
.LocalName;
8263
string namespaceName = a.
Name
.NamespaceName;
8264
if (namespaceName.Length == 0 && a.
Name
.LocalName == "xmlns") {
8320
string prefix = a.GetPrefixOfNamespace(a.
Name
.Namespace);
8433
if (a.
Name
.LocalName == localName && a.
Name
.NamespaceName == namespaceName) {
8475
if (a.
Name
.LocalName == localName && a.
Name
.NamespaceName == namespaceName) {
8542
if (a.
Name
.LocalName == localName &&
8543
a.
Name
.NamespaceName == namespaceName) {
8578
if (a.
Name
.LocalName == localName &&
8579
a.
Name
.NamespaceName == namespaceName) {
9132
if (candidateAttribute.
Name
.LocalName == "xml") {
System\Xml\Linq\XNodeNavigator.cs (10)
130
if (parent != null && a.
Name
.NamespaceName.Length == 0) {
133
return a.
Name
.LocalName;
166
return a.
Name
.NamespaceName;
219
string prefix = a.GetPrefixOfNamespace(a.
Name
.Namespace);
298
if (a.
Name
.LocalName == localName &&
299
a.
Name
.NamespaceName == namespaceName &&
415
while (a != null && a.
Name
.LocalName == "xml") {
450
if (a.
Name
.LocalName == localName) {
557
(a.
Name
.LocalName == "xml" ||
766
XName name = a.
Name
;
System\Xml\Linq\XNodeValidator.cs (5)
151
string localName = a.
Name
.LocalName;
172
string localName = a.
Name
.LocalName;
179
XName name = a.
Name
;
206
validator.ValidateAttribute(a.
Name
.LocalName, a.
Name
.NamespaceName, a.Value, si);