69 references to
Interop.FunctionalTests (4)
H2SpecCommands.cs (4)
278if (node.Attributes["errors"].Value != "0") 281failures.Add("Test failed: " + node.Attributes["package"].Value + "; " + node.Attributes["name"].Value); 283if (node.Attributes["tests"].Value != "0")
Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests (12)
TransformTest.cs (12)
33Assert.Equal("DOTNET_ADDITIONAL_DEPS", depsElement.Attributes["name"].Value); 36depsElement.Attributes["value"].Value); 40Assert.Equal("DOTNET_SHARED_STORE", sharedStoreElement.Attributes["name"].Value); 41Assert.Equal($@"{XdtExtensionPath}\store", sharedStoreElement.Attributes["value"].Value); 45Assert.Equal("ASPNETCORE_HOSTINGSTARTUPASSEMBLIES", startupAssembliesElement.Attributes["name"].Value); 46Assert.Equal("Microsoft.AspNetCore.AzureAppServices.HostingStartup", startupAssembliesElement.Attributes["value"].Value); 63Assert.Equal("DOTNET_ADDITIONAL_DEPS", depsElement.Attributes["name"].Value); 67depsElement.Attributes["value"].Value); 71Assert.Equal("DOTNET_SHARED_STORE", sharedStoreElement.Attributes["name"].Value); 72Assert.Equal($@"ExistingValue3;{XdtExtensionPath}\store", sharedStoreElement.Attributes["value"].Value); 76Assert.Equal("ASPNETCORE_HOSTINGSTARTUPASSEMBLIES", startupAssembliesElement.Attributes["name"].Value); 77Assert.Equal("ExistingValue2;Microsoft.AspNetCore.AzureAppServices.HostingStartup", startupAssembliesElement.Attributes["value"].Value);
Microsoft.Build (8)
Evaluation\Preprocessor.cs (1)
352clone.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)
226XmlAttributeWithLocation attribute = (XmlAttributeWithLocation)element.Attributes[name];
Microsoft.Build.Tasks.Core (23)
BootstrapperUtil\BootstrapperBuilder.cs (5)
1133XmlAttribute attrib = targetNode.Attributes[attributeName]; 1407XmlAttribute eulaAttribute = node.Attributes[EULA_ATTRIBUTE]; 2073XmlAttribute homesiteAttribute = packageFileNode.Attributes[HOMESITE_ATTRIBUTE]; 2086XmlAttribute hashAttribute = packageFileNode.Attributes[HASH_ATTRIBUTE]; 2087XmlAttribute publicKeyAttribute = packageFileNode.Attributes[PUBLICKEY_ATTRIBUTE];
CodeTaskFactory.cs (8)
199if (taskContent.Attributes["Type"] != null) 201_type = taskContent.Attributes["Type"].Value; 209if (taskContent.Attributes["Language"] != null) 211_language = taskContent.Attributes["Language"].Value; 219if (taskContent.Attributes["Source"] != null) 221_sourcePath = taskContent.Attributes["Source"].Value; 430XmlAttribute attribute = referenceNodes[i].Attributes["Include"]; 469XmlAttribute attribute = usingNodes[i].Attributes["Namespace"];
ManifestUtil\DeployManifest.cs (1)
222XmlAttribute nameattr = fileListNode?.Attributes["InstallableFramework"];
ManifestUtil\Manifest.cs (1)
426XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).OwnerElement.Attributes[XmlUtil.TrimPrefix(XPaths.fileSizeAttribute)];
XmlPeek.cs (1)
202XmlAttribute uri = xn.Attributes[uriAttr];
XmlPoke.cs (1)
189XmlAttribute uri = xn.Attributes[uriAttr];
XslTransformation.cs (6)
233if (xn.Attributes["Name"] == null) 238if (xn.Attributes["Value"] == null) 244if (xn.Attributes["Namespace"] != null) 246ns = xn.Attributes["Namespace"].Value; 249arguments.AddParam(xn.Attributes["Name"].Value, ns, xn.Attributes["Value"].Value);
Microsoft.Web.Xdt.Extensions.Tests (16)
InsertOrAppendAttributeTests.cs (16)
28Assert.Equal("KeyName1", firstChild.Attributes["name"].Value); 29Assert.Equal("InsertValue1", firstChild.Attributes["value"].Value); 33Assert.Equal("KeyName2", secondChild.Attributes["name"].Value); 34Assert.Equal("InsertValue2", secondChild.Attributes["value"].Value); 52Assert.Equal("KeyName1", firstChild.Attributes["name"].Value); 53Assert.Equal("InsertValue1", firstChild.Attributes["value"].Value); 57Assert.Equal("KeyName2", secondChild.Attributes["name"].Value); 58Assert.Equal("InsertValue2", secondChild.Attributes["value"].Value); 76Assert.Equal("KeyName1", firstChild.Attributes["name"].Value); 77Assert.Equal("InsertValue1", firstChild.Attributes["value"].Value); 81Assert.Equal("KeyName2", secondChild.Attributes["name"].Value); 82Assert.Equal("InsertValue2", secondChild.Attributes["value"].Value); 100Assert.Equal("KeyName1", firstChild.Attributes["name"].Value); 101Assert.Equal("ExistingValue1;InsertValue1", firstChild.Attributes["value"].Value); 105Assert.Equal("KeyName2", secondChild.Attributes["name"].Value); 106Assert.Equal("ExistingValue2;InsertValue2", secondChild.Attributes["value"].Value);
PresentationFramework (4)
MS\Internal\Annotations\Component\HighlightComponent.cs (4)
486if (content.Attributes[BackgroundAttributeName] != null) 487backgroundColor = GetColor(content.Attributes[BackgroundAttributeName].Value); 488if (content.Attributes[ActiveBackgroundAttributeName] != null) 489activeBackgroundColor = GetColor(content.Attributes[ActiveBackgroundAttributeName].Value);
ReachFramework (1)
PrintConfig\PrtTicket_Editor.cs (1)
213if (root.Attributes["xmlns:" + prefix] == null)
System.Private.Xml (1)
System\Xml\Dom\XmlElement.cs (1)
305return Attributes[name];