Base:
property
Attributes
System.Xml.XmlNode.Attributes
1 override of Attributes
System.Data.Common (1)
System\Xml\XmlBoundElement.cs (1)
35
public override XmlAttributeCollection
Attributes
162 references to Attributes
ILLink.Tasks (9)
CreateRuntimeRootDescriptorFile.cs (9)
320
featureAssemblyNode.
Attributes
.Append (featureAssemblyFullName);
324
featureAssemblyNode.
Attributes
.Append (featureName);
328
featureAssemblyNode.
Attributes
.Append (featureValue);
332
featureAssemblyNode.
Attributes
.Append (featureDefault);
354
typeNode.
Attributes
.Append (typeFullName);
363
typeNode.
Attributes
.Append (preserve);
367
typeNode.
Attributes
.Append (preserve);
375
fieldNode.
Attributes
.Append (fieldName);
385
methodNode.
Attributes
.Append (methodName);
Microsoft.Build (22)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (4)
671
ErrorUtilities.VerifyThrowInternalNull(projectConfiguration.
Attributes
, nameof(projectConfiguration.
Attributes
));
673
var buildProjectInSolution = projectConfiguration.
Attributes
![SolutionConfiguration.BuildProjectInSolutionAttribute];
682
XmlAttribute? projectPathAttribute = projectConfiguration.
Attributes
![SolutionConfiguration.AbsolutePathAttribute];
Construction\ProjectElement.cs (1)
398
foreach (XmlAttribute attribute in element.XmlElement.
Attributes
)
Construction\ProjectTaskElement.cs (2)
374
foreach (XmlAttribute attribute in XmlElement.
Attributes
)
446
foreach (XmlAttributeWithLocation attribute in XmlElement.
Attributes
)
Construction\Solution\ProjectInSolution.cs (1)
556
return mainProjectElement.
Attributes
.OfType<XmlAttribute>().Any(a =>
Evaluation\ProjectParser.cs (9)
290
XmlAttributeWithLocation errorAttribute = remove.Length > 0 ? (XmlAttributeWithLocation)element.
Attributes
[XMakeAttributes.remove] : (XmlAttributeWithLocation)element.
Attributes
[XMakeAttributes.update];
298
ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(exclude.Length == 0 || include.Length > 0, (XmlAttributeWithLocation)element.
Attributes
[XMakeAttributes.exclude]);
301
ProjectErrorUtilities.VerifyThrowInvalidProject(include.Length > 0 || element.
Attributes
[XMakeAttributes.include] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.include, itemType);
304
ProjectErrorUtilities.VerifyThrowInvalidProject(remove.Length > 0 || element.
Attributes
[XMakeAttributes.remove] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.remove, itemType);
307
ProjectErrorUtilities.VerifyThrowInvalidProject(update.Length > 0 || element.
Attributes
[XMakeAttributes.update] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.update, itemType);
314
foreach (XmlAttributeWithLocation attribute in element.
Attributes
)
653
foreach (XmlAttributeWithLocation attribute in element.
Attributes
)
734
foreach (XmlAttributeWithLocation attribute in element.
Attributes
)
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
148
foreach (XmlAttribute attribute in xml.XmlElement.
Attributes
)
Xml\ProjectXmlUtilities.cs (3)
153
foreach (XmlAttributeWithLocation attribute in element.
Attributes
)
185
foreach (XmlAttributeWithLocation attribute in element.
Attributes
)
226
XmlAttributeWithLocation attribute = (XmlAttributeWithLocation)element.
Attributes
[name];
XmlUtilities.cs (1)
39
foreach (XmlAttribute oldAttribute in oldElement.
Attributes
)
Microsoft.Build.Tasks.Core (34)
BootstrapperUtil\BootstrapperBuilder.cs (4)
988
foreach (XmlAttribute attribute in langElement.
Attributes
)
990
mergeElement.
Attributes
.Append((XmlAttribute)(mergeElement.OwnerDocument.ImportNode(attribute, false)));
993
foreach (XmlAttribute attribute in baseElement.
Attributes
)
1016
var cultureAttribute = (XmlAttribute)mergeElement.
Attributes
.GetNamedItem("Culture");
ManifestUtil\AssemblyIdentity.cs (6)
238
XmlNode node = element.
Attributes
.GetNamedItem("name");
240
node = element.
Attributes
.GetNamedItem("version");
242
node = element.
Attributes
.GetNamedItem("publicKeyToken");
244
node = element.
Attributes
.GetNamedItem("language");
246
node = element.
Attributes
.GetNamedItem("processorArchitecture");
248
node = element.
Attributes
.GetNamedItem("type");
ManifestUtil\Manifest.cs (1)
426
XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.
Attributes
[XmlUtil.TrimPrefix(XPaths.fileSizeAttribute)];
ManifestUtil\mansign2.cs (1)
703
foreach (XmlAttribute attribute in principal.
Attributes
)
ManifestUtil\SecurityUtil.cs (2)
383
permissionElement.
Attributes
.Append(a);
421
foreach (XmlAttribute xa in xe.
Attributes
)
ManifestUtil\TrustInfo.cs (18)
41
XmlAttribute sameSiteAttribute = (XmlAttribute)permissionSetElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute));
45
permissionSetElement.
Attributes
.Append(sameSiteAttribute);
71
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
77
permissionSetElement.
Attributes
.Append(unrestrictedAttribute);
85
permissionSetElement.
Attributes
.RemoveNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
93
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
97
permissionSetElement.
Attributes
.Append(unrestrictedAttribute);
108
var idAttribute = (XmlAttribute)permissionSetElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.idAttribute));
112
permissionSetElement.
Attributes
.Append(idAttribute);
134
XmlAttribute idrefAttribute = (XmlAttribute)permissionSetElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.permissionSetReferenceAttribute));
138
defaultAssemblyRequestElement.
Attributes
.Append(idrefAttribute);
155
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
161
document.DocumentElement.
Attributes
.RemoveNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
302
requestedExecutionLevelElement.
Attributes
.Append(levelAttribute);
308
requestedExecutionLevelElement.
Attributes
.Append(uiAccessAttribute);
340
permissionSetElement.
Attributes
.Append(unrestrictedAttribute);
498
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
510
XmlAttribute sameSiteAttribute = (XmlAttribute)psElement.
Attributes
.GetNamedItem(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute));
ManifestUtil\XmlUtil.cs (2)
41
foreach (XmlAttribute attribute in element.
Attributes
)
45
newElement.
Attributes
.Append(newAttribute);
Microsoft.Build.Utilities.Core (1)
SDKManifest.cs (1)
340
ReadFileListAttributes(rootElement.
Attributes
);
PresentationFramework (4)
MS\Internal\Annotations\Component\HighlightComponent.cs (4)
494
if (content.
Attributes
[BackgroundAttributeName] != null)
495
backgroundColor = GetColor(content.
Attributes
[BackgroundAttributeName].Value);
496
if (content.
Attributes
[ActiveBackgroundAttributeName] != null)
497
activeBackgroundColor = GetColor(content.
Attributes
[ActiveBackgroundAttributeName].Value);
ReachFramework (3)
PrintConfig\PrintSchemaShim.cs (1)
138
parameterInitElem.
Attributes
.Append(nameAttr);
PrintConfig\PrtTicket_Editor.cs (2)
159
foreach (XmlAttribute attr in root.
Attributes
)
220
if (root.
Attributes
["xmlns:" + prefix] == null)
System.Data.Common (15)
System\Data\XDRSchema.cs (9)
359
if (node.
Attributes
.Count > 0)
456
SetProperties(column, node.
Attributes
); // xmlschema.SetProperties will skipp setting expressions
463
if (node.
Attributes
!= null)
465
for (int i = 0; i < node.
Attributes
.Count; i++)
467
if (node.
Attributes
[i].NamespaceURI == Keywords.MSDNS)
469
if (node.
Attributes
[i].LocalName == "Expression")
471
column.Expression = node.
Attributes
[i].Value;
553
XmlAttributeCollection attrs = node.
Attributes
;
646
XmlAttributeCollection attrs = node.
Attributes
;
System\Data\XmlDataLoader.cs (2)
453
foreach (XmlAttribute attr in rowElement.
Attributes
)
720
foreach (XmlAttribute attr in _topMostNode.
Attributes
)
System\Data\XMLSchema.cs (1)
501
SetExtProperties(relation, node.
Attributes
);
System\Xml\XmlBoundElement.cs (1)
40
return base.
Attributes
;
System\Xml\XmlDataDocument.cs (1)
1491
attr.OwnerElement!.
Attributes
.Remove(attr);
System\Xml\XPathNodePointer.cs (1)
665
XmlAttributeCollection attrs = ((XmlAttribute)_node).OwnerElement!.
Attributes
;
System.Private.DataContractSerialization (16)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
621
wrapperElement.
Attributes
.Append(xmlAttr);
System\Runtime\Serialization\SchemaExporter.cs (7)
224
defaultValueElement.
Attributes
.Append(emitDefaultValueAttribute);
239
actualTypeElement.
Attributes
.Append(nameAttribute);
243
actualTypeElement.
Attributes
.Append(nsAttribute);
299
typeElement.
Attributes
.Append(nameAttribute);
303
typeElement.
Attributes
.Append(nsAttribute);
319
argumentElement.
Attributes
.Append(nestedLevelAttribute);
329
typeElement.
Attributes
.Append(typeNestedLevelsAttribute);
System\Runtime\Serialization\SchemaImporter.cs (7)
1026
XmlNode? emitDefaultValueAttribute = defaultValueElement.
Attributes
.GetNamedItem(Globals.EmitDefaultValueAttribute);
1038
XmlNode? nameAttribute = actualTypeElement.
Attributes
.GetNamedItem(Globals.ActualTypeNameAttribute);
1041
XmlNode? nsAttribute = actualTypeElement.
Attributes
.GetNamedItem(Globals.ActualTypeNamespaceAttribute);
1285
string? name = typeElement.
Attributes
.GetNamedItem(Globals.GenericNameAttribute)?.Value;
1288
string? ns = typeElement.
Attributes
.GetNamedItem(Globals.GenericNamespaceAttribute)?.Value;
1303
XmlNode? nestedLevelAttribute = argumentElement.
Attributes
.GetNamedItem(Globals.GenericParameterNestedLevelAttribute);
1318
XmlNode? typeNestedLevelsAttribute = typeElement.
Attributes
.GetNamedItem(Globals.GenericParameterNestedLevelAttribute);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1058
wrapperElement.
Attributes
.Append((XmlAttribute)xmlAttributes[i]);
System.Private.Xml (50)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
183
XmlAttributeCollection attrs = elem.
Attributes
;
326
XmlAttributeCollection attributes = elementNode.
Attributes
;
387
XmlAttributeCollection attributes = elementNode.
Attributes
;
675
XmlAttributeCollection attributes = elementNode.
Attributes
;
System\Xml\Dom\DocumentXmlWriter.cs (2)
434
XmlAttributeCollection attrs = elem.
Attributes
;
520
elem.
Attributes
.Append(attr);
System\Xml\Dom\DocumentXPathNavigator.cs (12)
270
XmlAttributeCollection attributes = element.
Attributes
;
294
XmlAttributeCollection attributes = element.
Attributes
;
322
XmlAttributeCollection attributes = element.
Attributes
;
476
attributes = element.
Attributes
;
486
attributes = element.
Attributes
;
505
attributes = element.
Attributes
;
553
attributes = element.
Attributes
;
667
attributes = element.
Attributes
;
1320
XmlAttributeCollection attributes = element.
Attributes
;
1816
XmlAttributeCollection attributes = elements[i].
Attributes
;
1841
ResetAttributePosition(attribute, element.
Attributes
, out _attributeIndex);
1872
attributes = element.
Attributes
;
System\Xml\Dom\XmlAttribute.cs (2)
149
return ownerElement.
Attributes
.PrepareParentInElementIdAttrMap(Prefix, LocalName);
159
ownerElement?.
Attributes
.ResetParentInElementIdAttrMap(oldInnerText, InnerText);
System\Xml\Dom\XmlAttributeCollection.cs (1)
331
attr.OwnerElement!.
Attributes
.Remove(attr);
System\Xml\Dom\XmlElement.cs (12)
65
foreach (XmlAttribute attr in
Attributes
)
73
element.
Attributes
.InternalAppendAttribute(newAttr);
286
Attributes
.InternalAppendAttribute(attr);
298
Attributes
.RemoveNamedItem(name);
305
return
Attributes
[name];
315
return (XmlAttribute)
Attributes
.SetNamedItem(newAttr);
322
return (XmlAttribute?)
Attributes
.Remove(oldAttr);
357
Attributes
.InternalAppendAttribute(attr);
377
return
Attributes
[localName, namespaceURI];
388
Attributes
.InternalAppendAttribute(attr);
400
Attributes
.Remove(attr);
514
XmlAttributeCollection attrs =
Attributes
;
System\Xml\Dom\XmlLoader.cs (6)
115
XmlAttributeCollection attributes = element.
Attributes
;
472
XmlAttributeCollection attributes = element.
Attributes
;
699
foreach (XmlAttribute attr in element.
Attributes
)
806
XmlAttributeCollection attrs = elem.
Attributes
;
819
elem.
Attributes
.RemoveNodeAt(i);
836
elem.
Attributes
.RemoveNodeAt(i);
System\Xml\Dom\XmlNode.cs (2)
1096
XmlAttributeCollection attrs = elem.
Attributes
;
1181
XmlAttributeCollection attrs = elem.
Attributes
;
System\Xml\Dom\XmlNodeReader.cs (8)
334
return ((XmlElement)_curNode).
Attributes
.Count;
532
return ((XmlElement)_curNode).
Attributes
[attributeIndex].Value;
535
return ((XmlElement)_elemNode!).
Attributes
[attributeIndex].Value;
649
_attrIndex = elem.
Attributes
.FindNodeOffsetNS(attr);
695
attr = ((XmlElement)_curNode).
Attributes
[attributeIndex];
705
attr = ((XmlElement)_elemNode!).
Attributes
[attributeIndex];
948
XmlAttributeCollection attrs = elem.
Attributes
;
1000
XmlAttributeCollection attrs = elem.
Attributes
;
System\Xml\Schema\Parser.cs (1)
347
XmlAttributeCollection attributes = element.
Attributes
;
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (2)
370
XmlNode? nameAttribute = actualTypeElement.
Attributes
.GetNamedItem(ImportGlobals.ActualTypeNameAttribute);
373
XmlNode? nsAttribute = actualTypeElement.
Attributes
.GetNamedItem(ImportGlobals.ActualTypeNamespaceAttribute);
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
33
XmlAttributeCollection? attrList =
Attributes
;
105
XmlAttributeCollection attrList =
Attributes
;
System\Security\Cryptography\Xml\SignedXml.cs (1)
593
cloneElem.
Attributes
.RemoveAll();
System\Security\Cryptography\Xml\Utils.cs (2)
85
foreach (XmlAttribute attr in element.
Attributes
)
531
XmlAttributeCollection attribs = ancestorElement.
Attributes
;
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
59
foreach (XmlAttribute attrib in elem.
Attributes
)