37 references to
aspire (1)
Projects\ProjectUpdater.cs (1)
872packageVersionNode.Attributes["Version"]!.Value = newVersion;
Microsoft.Build (8)
Evaluation\Preprocessor.cs (1)
355clone.Attributes.Remove(clone.Attributes[XMakeAttributes.sdk]);
Evaluation\ProjectParser.cs (6)
290XmlAttributeWithLocation errorAttribute = remove.Length > 0 ? (XmlAttributeWithLocation)element.Attributes[XMakeAttributes.remove] : (XmlAttributeWithLocation)element.Attributes[XMakeAttributes.update]; 298ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(exclude.Length == 0 || include.Length > 0, (XmlAttributeWithLocation)element.Attributes[XMakeAttributes.exclude]); 301ProjectErrorUtilities.VerifyThrowInvalidProject(include.Length > 0 || element.Attributes[XMakeAttributes.include] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.include, itemType); 304ProjectErrorUtilities.VerifyThrowInvalidProject(remove.Length > 0 || element.Attributes[XMakeAttributes.remove] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.remove, itemType); 307ProjectErrorUtilities.VerifyThrowInvalidProject(update.Length > 0 || element.Attributes[XMakeAttributes.update] == null, element.Location, "MissingRequiredAttribute", XMakeAttributes.update, itemType);
Xml\ProjectXmlUtilities.cs (1)
225XmlAttributeWithLocation attribute = (XmlAttributeWithLocation)element.Attributes[name];
Microsoft.Build.Tasks.Core (15)
BootstrapperUtil\BootstrapperBuilder.cs (5)
1133XmlAttribute attrib = targetNode.Attributes[attributeName]; 1407XmlAttribute eulaAttribute = node.Attributes[EULA_ATTRIBUTE]; 2078XmlAttribute homesiteAttribute = packageFileNode.Attributes[HOMESITE_ATTRIBUTE]; 2091XmlAttribute hashAttribute = packageFileNode.Attributes[HASH_ATTRIBUTE]; 2092XmlAttribute publicKeyAttribute = packageFileNode.Attributes[PUBLICKEY_ATTRIBUTE];
ManifestUtil\DeployManifest.cs (1)
222XmlAttribute nameattr = fileListNode?.Attributes["InstallableFramework"];
ManifestUtil\Manifest.cs (1)
430XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.Attributes[XmlUtil.TrimPrefix(XPaths.fileSizeAttribute)];
XmlPeek.cs (1)
207XmlAttribute uri = xn.Attributes[uriAttr];
XmlPoke.cs (1)
195XmlAttribute uri = xn.Attributes[uriAttr];
XslTransformation.cs (6)
243if (xn.Attributes["Name"] == null) 248if (xn.Attributes["Value"] == null) 254if (xn.Attributes["Namespace"] != null) 256ns = xn.Attributes["Namespace"].Value; 259arguments.AddParam(xn.Attributes["Name"].Value, ns, xn.Attributes["Value"].Value);
Microsoft.TestPlatform.Extensions.BlameDataCollector (4)
XmlReaderWriter.cs (4)
138node.Attributes[Constants.TestNameAttribute]?.Value, 139Source = node.Attributes[Constants.TestSourceAttribute]?.Value, 140DisplayName = node.Attributes[Constants.TestDisplayNameAttribute]?.Value, 141IsCompleted = node.Attributes[Constants.TestCompletedAttribute]?.Value == "True"
Microsoft.VisualStudio.TestPlatform.Common (1)
Utilities\RunSettingsProviderExtensions.cs (1)
135node.Attributes[ValueString]!.Value = attrValue;
Microsoft.Web.XmlTransform (1)
XmlAttributePreservationDict.cs (1)
99XmlAttribute attr = attributes[attributeName];
PresentationFramework (4)
MS\Internal\Annotations\Component\HighlightComponent.cs (4)
485if (content.Attributes[BackgroundAttributeName] != null) 486backgroundColor = GetColor(content.Attributes[BackgroundAttributeName].Value); 487if (content.Attributes[ActiveBackgroundAttributeName] != null) 488activeBackgroundColor = GetColor(content.Attributes[ActiveBackgroundAttributeName].Value);
ReachFramework (1)
PrintConfig\PrtTicket_Editor.cs (1)
212if (root.Attributes["xmlns:" + prefix] == null)
System.Private.Xml (1)
System\Xml\Dom\XmlElement.cs (1)
305return Attributes[name];
System.Speech (1)
Result\RecognizedPhrase.cs (1)
1114if (propertyNode.Attributes[kv.Key] == null)