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