50 references to GetNamedItem
Microsoft.Build.Tasks.Core (38)
BootstrapperUtil\BootstrapperBuilder.cs (23)
557
XmlAttribute cultureAttribute = (XmlAttribute)rootNode?.Attributes.
GetNamedItem
("Culture");
671
var relatedProductAttribute = (XmlAttribute)(relatedProductNode.Attributes.
GetNamedItem
("Code"));
717
XmlAttribute relatedProductAttribute = (XmlAttribute)(relatedProduct.Attributes.
GetNamedItem
("Code"));
898
var productCodeAttribute = (XmlAttribute)(baseNode.Attributes.
GetNamedItem
("ProductCode"));
1016
var cultureAttribute = (XmlAttribute)mergeElement.Attributes.
GetNamedItem
("Culture");
1150
var targetAttribute = (XmlAttribute)(targetNode.Attributes.
GetNamedItem
(attribute.Name));
1164
var nameAttribute = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("Name"));
1240
XmlAttribute keyAttribute = (XmlAttribute)(nextNode.Attributes.
GetNamedItem
(strSubNodeKey));
1280
if (mergeSubNode.Attributes.
GetNamedItem
(attribute.Name) == null)
1307
var attribute = (XmlAttribute)(currentNode.Attributes.
GetNamedItem
("PackageFile"));
1312
var targetPathAttribute = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("TargetPath"));
1347
var attribute = (XmlAttribute)(currentNode.Attributes.
GetNamedItem
("String"));
1412
var packageFileSource = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("SourcePath"));
1413
var packageFileDestination = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("TargetPath"));
1414
var packageFileName = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("Name"));
1415
var packageFileCopy = (XmlAttribute)(packageFileNode.Attributes.
GetNamedItem
("CopyOnBuild"));
1563
var sourceAttribute = (XmlAttribute)(node.Attributes.
GetNamedItem
("ProductCode"));
1575
var attribute = (XmlAttribute)(node.Attributes.
GetNamedItem
(strAttributeName));
1641
var attribute = (XmlAttribute)(node.Attributes.
GetNamedItem
(attributeName));
1763
_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.NoStringsForCulture", resourcesNode.Attributes.
GetNamedItem
("Culture").Value));
1771
XmlAttribute resourceIdAttribute = (XmlAttribute)stringNode.Attributes.
GetNamedItem
("Name");
1904
XmlAttribute oldNameAttribute = (XmlAttribute)(sourceNode.Attributes.
GetNamedItem
(sourceOldName));
1905
XmlAttribute newNameAttribute = (XmlAttribute)(sourceNode.Attributes.
GetNamedItem
(sourceNewName));
GenerateApplicationManifest.cs (1)
466
var attr = (XmlAttribute)(node.Attributes.
GetNamedItem
("level"));
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\TrustInfo.cs (8)
41
XmlAttribute sameSiteAttribute = (XmlAttribute)permissionSetElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute));
71
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
93
var unrestrictedAttribute = (XmlAttribute)permissionSetElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
108
var idAttribute = (XmlAttribute)permissionSetElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.idAttribute));
134
XmlAttribute idrefAttribute = (XmlAttribute)permissionSetElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.permissionSetReferenceAttribute));
155
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
498
XmlAttribute unrestrictedAttribute = (XmlAttribute)psElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.unrestrictedAttribute));
510
XmlAttribute sameSiteAttribute = (XmlAttribute)psElement.Attributes.
GetNamedItem
(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute));
Microsoft.ML.NugetPackageVersionUpdater (2)
Program.cs (2)
66
var packageName = packageReferenceNodes.Item(i).Attributes.
GetNamedItem
("Include").InnerText;
71
packageReferenceNodes.Item(i).Attributes.
GetNamedItem
("Version").InnerText = latestVersion;
System.Private.DataContractSerialization (7)
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.Private.Xml (1)
System\Xml\Dom\XmlDocument.cs (1)
1733
return (XmlEntity?)(entities.
GetNamedItem
(name));
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);