Base:
property
Value
System.Xml.XmlNode.Value
89 writes to Value
ILLink.Tasks (9)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.Engine.UnitTests (9)
Microsoft.Build.Tasks.Core (23)
Microsoft.Web.Xdt.Extensions (3)
PresentationBuildTasks (5)
ReachFramework (1)
System.Data.Common (12)
System.Private.DataContractSerialization (9)
System.Private.Xml (10)
System.Security.Cryptography.Xml (7)
243 references to Value
Interop.FunctionalTests (4)
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 (16)
Microsoft.Build.Engine.UnitTests (9)
Evaluation\Expander_Tests.cs (8)
1512expander.ExpandIntoStringAndUnescape(xmlattribute.Value, ExpanderOptions.ExpandAll, MockElementLocation.Instance));
1518expander.ExpandIntoStringAndUnescape(xmlattribute.Value, ExpanderOptions.ExpandAll, MockElementLocation.Instance));
1540expander.ExpandIntoStringAndUnescape(xmlattribute.Value, ExpanderOptions.ExpandAll, MockElementLocation.Instance));
1561expander.ExpandIntoStringLeaveEscaped(xmlattribute.Value, ExpanderOptions.ExpandAll, MockElementLocation.Instance));
1620Assert.Equal(expected, expander.ExpandIntoStringAndUnescape(xmlattribute.Value, ExpanderOptions.ExpandAll | ExpanderOptions.Truncate, MockElementLocation.Instance));
1643string expandedString = expander.ExpandIntoStringLeaveEscaped(xmlattribute.Value, ExpanderOptions.ExpandAll, MockElementLocation.Instance);
1646Assert.Null(string.IsInterned(xmlattribute.Value));
1650Assert.True(Object.ReferenceEquals(xmlattribute.Value, expandedString));
Microsoft.Build.Tasks.Core (82)
BootstrapperUtil\BootstrapperBuilder.cs (55)
561XmlNode stringNode = stringsNode?.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, "String[@Name='{0}']", cultureAttribute.Value));
674string dependency = relatedProductAttribute.Value;
720list.Add(relatedProductAttribute.Value);
902XmlNode productNode = rootElement.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Product[@ProductCode='" + productCodeAttribute.Value + "']", _xmlNamespaceManager);
910productCodeAttribute.Value,
1017if (!String.IsNullOrEmpty(cultureAttribute?.Value))
1019string packageCode = productCodeAttribute.Value + "." + cultureAttribute.Value;
1024productValidationResults.AddPackageResults(cultureAttribute.Value, packageValidationResults);
1037if (!_validationResults.ContainsKey(productCodeAttribute.Value))
1039_validationResults.Add(productCodeAttribute.Value, productValidationResults);
1134if (attrib != null && attrib.Value == oldValue)
1169string relativePath = nameAttribute.Value;
1178string oldNameValue = nameAttribute.Value;
1243XmlNode queryResultNode = QueryForSubNode(langNode, strSubNodeKey, keyAttribute.Value);
1276AddAttribute(mergeSubNode, attribute.Name, attribute.Value);
1282AddAttribute(mergeSubNode, attribute.Name, attribute.Value);
1308string strQuery = BOOTSTRAPPER_PREFIX + ":PackageFile[@Name='" + attribute.Value + "']";
1313attribute.Value = targetPathAttribute.Value;
1348XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
1416if (packageFileSource != null && !String.IsNullOrEmpty(eulaAttribute?.Value) && packageFileSource.Value == eulaAttribute.Value)
1430packageFileSource.Value,
1431packageFileName.Value,
1441((packageFileCopy == null) || (!String.Equals(packageFileCopy.Value, "False", StringComparison.InvariantCulture))))
1447subNode = QueryForSubNode(installChecksNode, "PackageFile", packageFileName.Value);
1453if (!FileSystems.Default.FileExists(packageFileSource.Value))
1455_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.PackageResourceFileNotFound", packageFileSource.Value, builder.Name));
1459resourceUpdater.AddFileResource(packageFileSource.Value, packageFileDestination.Value);
1468string strDestinationFileName = System.IO.Path.Combine(settings.OutputPath, packageFileDestination.Value);
1471if (!FileSystems.Default.FileExists(packageFileSource.Value))
1473_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.PackageFileNotFound", packageFileDestination.Value, builder.Name));
1478File.Copy(packageFileSource.Value, strDestinationFileName, true);
1483_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1489_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1495_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1501_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1509filesCopied.Add(packageFileSource.Value);
1514var fi = new FileInfo(packageFileSource.Value);
1522if (eulas != null && !String.IsNullOrEmpty(eulaAttribute?.Value))
1524if (FileSystems.Default.FileExists(eulaAttribute.Value))
1526string key = GetFileHash(eulaAttribute.Value);
1534var de = new KeyValuePair<string, string>(configFileKey, eulaAttribute.Value);
1541_results?.AddMessage(BuildMessage.CreateMessage(BuildMessageSeverity.Error, "GenerateBootstrapper.PackageResourceFileNotFound", eulaAttribute.Value, builder.Name));
1566AddAttribute(productNode, "ProductCode", sourceAttribute.Value);
1577return attribute?.Value;
1644XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager);
1775resourceUpdater.AddStringResource(MESSAGE_TABLE, resourceIdAttribute.Value.ToUpper(CultureInfo.InvariantCulture), stringNode.InnerText);
1909ReplaceAttributes(targetNodes, targetAttribute, oldNameAttribute.Value, newNameAttribute.Value);
2124if (!publicKeyAttribute.Value.Equals("0", StringComparison.OrdinalIgnoreCase) &&
2125publicKey?.Equals(publicKeyAttribute.Value, StringComparison.OrdinalIgnoreCase) == false)
2138if (!fileHash.Equals(hashAttribute.Value, StringComparison.OrdinalIgnoreCase))
Microsoft.Build.Tasks.UnitTests (5)
Microsoft.Build.Utilities.Core (1)
Microsoft.Maui.Controls.SourceGen (4)
Microsoft.Web.Xdt.Extensions (7)
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);
PresentationBuildTasks (1)
PresentationFramework (10)
ReachFramework (3)
System.Configuration.ConfigurationManager (1)
System.Data.Common (15)
System.Private.Xml (49)
System.Security.Cryptography.Xml (7)
System.Windows.Forms (1)