Base:
property
Value
System.Xml.XmlNode.Value
89 writes to Value
ILLink.Tasks (9)
CreateRuntimeRootDescriptorFile.cs (9)
319 featureAssemblyFullName.Value = "System.Private.CoreLib"; 323 featureName.Value = fs.Feature; 327 featureValue.Value = fs.FeatureValue; 331 featureDefault.Value = fs.FeatureDefault; 353 typeFullName.Value = typeName; 362 preserve.Value = "fields"; 366 preserve.Value = "nothing"; 374 fieldName.Value = field; 384 methodName.Value = method;
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
602attribute.Value = attributeValue;
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BatchingEngine_Tests.cs (1)
68tempXmlAttribute.Value = "'$(Obj)'=='obj'";
ConsoleLogger_Tests.cs (2)
152attribute.Value = "HELLO"; 155attribute.Value = "High";
Evaluation\Expander_Tests.cs (6)
1508xmlattribute.Value = "@(IntermediateAssembly->'')"; 1514xmlattribute.Value = "@(IntermediateAssembly->'%(goop)')"; 1534xmlattribute.Value = "@(Resource->'%(Filename)') ; @(Content) ; @(NonExistent) ; $(NonExistent) ; %(NonExistent) ; " + 1556xmlattribute.Value = "@(Resource->'%(Filename)') ; @(Content) ; @(NonExistent) ; $(NonExistent) ; %(NonExistent) ; " + 1605xmlattribute.Value = "'%(ManySpacesMetadata)' != '' and '$(ManySpacesProperty)' != '' and '@(ManySpacesItem)' != '' and '@(Exactly1024)' != '' and '@(ManyItems)' != '' and '@(ManyItems->'%(Foo)')' != '' and '@(ManyItems->'%(Nonexistent)')' != ''"; 1642xmlattribute.Value = "abc123" + new Random().Next();
Microsoft.Build.Tasks.Core (23)
BootstrapperUtil\BootstrapperBuilder.cs (12)
569newAttribute.Value = stringNode.InnerText; 1136attrib.Value = newValue; 1144attribute.Value = attributeValue; 1173sourcePathAttribute.Value = strSourceFile; 1176targetPathAttribute.Value = System.IO.Path.Combine(strTargetPath, relativePath); 1182oldNameAttribute.Value = oldNameValue; 1313attribute.Value = targetPathAttribute.Value; 1515sizeAttribute.Value = "" + (fi.Length.ToString(CultureInfo.InvariantCulture)); 1529eulaAttribute.Value = eulaInfo.Key; 1536eulaAttribute.Value = configFileKey; 1647attribute.Value = stringNode.InnerText; 1943attrib.Value = attributeValue;
ManifestUtil\Manifest.cs (1)
432sizeAttribute.Value = size.ToString(System.Globalization.CultureInfo.InvariantCulture);
ManifestUtil\TrustInfo.cs (9)
48sameSiteAttribute.Value = _sameSiteSetting; 79unrestrictedAttribute.Value = "true"; 99unrestrictedAttribute.Value = "true"; 117idAttribute.Value = "Custom"; 143idrefAttribute.Value = idAttribute.Value; 301levelAttribute.Value = executionLevelString; 307uiAccessAttribute.Value = executionUIAccessString; 339unrestrictedAttribute.Value = _isFullTrust.ToString().ToLowerInvariant(); 748unrestrictedAttribute.Value = "true";
ManifestUtil\XmlUtil.cs (1)
44newAttribute.Value = attribute.Value;
Microsoft.Web.Xdt.Extensions (3)
InsertOrAppendAttribute.cs (3)
116att.Value = transformAtt.Value; 127att.Value = $"{att.Value};{transformAtt.Value}"; 135attribute.Value = transformAtt.Value;
PresentationBuildTasks (5)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (5)
742attrInclude.Value = pItem.ItemSpec; 888projectAttribute.Value = projectAttributeValue; 890sdkAttributeProps.Value = sdkReference.Name; 897sdkVersionAttributeProps.Value = sdkReference.Version; 904sdkVersionAttributeProps.Value = sdkReference.MinimumVersion;
ReachFramework (1)
PrintConfig\PrintSchemaShim.cs (1)
136nameAttr.Value = oemDriverPrefix + ":PageDevmodeSnapshot";
System.Data.Common (12)
System\Data\DataSet.cs (3)
1720attr.Value = reader.GetAttribute(i); 2132attr.Value = reader.GetAttribute(i); 2671attr.Value = reader.GetAttribute(i);
System\Data\DataTable.cs (2)
5828attr.Value = reader.GetAttribute(i); 6096attr.Value = reader.GetAttribute(i);
System\Xml\XmlDataDocument.cs (7)
747attr.Value = Keywords.TRUE; 1476attr.Value = Keywords.TRUE; 1482attr.Value = Keywords.TRUE; 1490attr.Value = Keywords.FALSE; 1512attr.Value = col.ConvertObjectToXml(value); 1560attr.Value = Keywords.FALSE; 2651_attrXml.Value = XPathNodePointer.StrReservedXml;
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
620xmlAttr.Value = a.value;
System\Runtime\Serialization\SchemaExporter.cs (7)
223emitDefaultValueAttribute.Value = Globals.False; 238nameAttribute.Value = typeName.Name; 242nsAttribute.Value = typeName.Namespace; 297nameAttribute.Value = genericArguments != null ? XmlConvert.DecodeName(dcqname.Name) : dcqname.Name; 302nsAttribute.Value = dcqname.Namespace; 318nestedLevelAttribute.Value = nestedLevel.ToString(CultureInfo.InvariantCulture); 328typeNestedLevelsAttribute.Value = genericArgumentCounts.Count.ToString(CultureInfo.InvariantCulture);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1076attribute.Value = ns;
System.Private.Xml (10)
System\Xml\Dom\XmlDocument.cs (1)
1823_namespaceXml.Value = strReservedXml;
System\Xml\Dom\XmlElement.cs (4)
285attr.Value = value; 290attr.Value = value; 356attr.Value = value; 361attr.Value = value;
System\Xml\Schema\XsdBuilder.cs (1)
759attribute.Value = value;
System\Xml\Serialization\XmlSerializationReader.cs (4)
795attr.Value = $"{_r.LookupNamespace("")}:{attr.Value}"; 799attr.Value = $"{_r.LookupNamespace(attr.Value.Substring(0, colon))}:{attr.Value.AsSpan(colon + 1)}"; 1874attr.Value = Reader.Value; 1911xsiTypeAttribute.Value = elemName;
System.Security.Cryptography.Xml (7)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
60nsattrib.Value = NamespaceURI; 132nsattrib.Value = NamespaceURI;
System\Security\Cryptography\Xml\Utils.cs (5)
480nsattrib.Value = attrib.Value; 494nsattrib.Value = namespaces[key] as string; 525nsattrib.Value = ancestorElement.NamespaceURI; 538nsattrib.Value = attrib.Value; 558nsattrib.Value = attrib.NamespaceURI;
237 references to Value
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 (16)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (3)
675string.IsNullOrWhiteSpace(buildProjectInSolution.Value) is false && 676bool.TryParse(buildProjectInSolution.Value, out var buildProject) && 685string projectPath = projectPathAttribute!.Value;
Construction\ProjectElement.cs (1)
402XmlElement.SetAttribute(attribute.LocalName, attribute.NamespaceURI, attribute.Value);
Construction\ProjectRootElement.cs (1)
1785return CreateMetadataElement(attribute.Name, attribute.Value, attribute.Location);
Construction\ProjectTaskElement.cs (1)
454_parameters[attribute.Name] = (attribute.Value, attribute.Location);
Evaluation\ProjectParser.cs (7)
691(String.IsNullOrWhiteSpace(itemNameAttribute?.Value) && !String.IsNullOrWhiteSpace(propertyNameAttribute?.Value)) || (!String.IsNullOrWhiteSpace(itemNameAttribute?.Value) && String.IsNullOrWhiteSpace(propertyNameAttribute?.Value)), 699ProjectErrorUtilities.VerifyThrowInvalidProject(String.IsNullOrWhiteSpace(propertyNameAttribute?.Value) || !ReservedPropertyNames.IsReservedProperty(propertyNameAttribute.Value), element.Location, "CannotModifyReservedProperty", propertyNameAttribute?.Value);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
150result.Add(new XmlAttributeLink(attribute.LocalName, attribute.Value, attribute.NamespaceURI));
Xml\ProjectXmlUtilities.cs (2)
138attribute == null || attribute.Value.Length > 0, 243return attribute.Value;
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BatchingEngine_Tests.cs (1)
71tempXmlAttribute.Value,
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 (73)
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))
GenerateApplicationManifest.cs (1)
469requestedExecutionLevel = attr.Value;
ManifestUtil\DeployManifest.cs (2)
223if (!String.IsNullOrEmpty(nameattr?.Value)) 225installableFramework = nameattr.Value;
ManifestUtil\mansign2.cs (1)
705assemblyIdentityNode.SetAttribute(attribute.Name, attribute.Value);
ManifestUtil\TrustInfo.cs (6)
115if (String.IsNullOrEmpty(idAttribute.Value)) 141if (!String.Equals(idAttribute.Value, idrefAttribute.Value, StringComparison.Ordinal)) 143idrefAttribute.Value = idAttribute.Value; 503if (unrestrictedAttribute == null || (!Boolean.Parse(unrestrictedAttribute.Value))) 513_sameSiteSetting = sameSiteAttribute.Value;
ManifestUtil\XmlUtil.cs (1)
44newAttribute.Value = attribute.Value;
XmlPeek.cs (2)
208namespaceManager.AddNamespace(prefix.Value, uri.Value);
XmlPoke.cs (2)
195namespaceManager.AddNamespace(prefix.Value, uri.Value);
XslTransformation.cs (3)
246ns = xn.Attributes["Namespace"].Value; 249arguments.AddParam(xn.Attributes["Name"].Value, ns, xn.Attributes["Value"].Value);
Microsoft.Build.Tasks.UnitTests (5)
XmlPoke_Tests.cs (5)
63nodes.ShouldAllBe(i => i.Value.Equals("Mert"), $"All <variable /> elements should have Name=\"Mert\" {Environment.NewLine}{xmlDocument.OuterXml}"); 80nodes.ShouldAllBe(i => i.Value.Equals(value), $"All <variable /> elements should have Name=\"{value}\" {Environment.NewLine}{xmlDocument.OuterXml}"); 97nodes[0].Value.ShouldBe(value); 138nodes[0].Value.ShouldBe(value); 216node.Value.ShouldBe(string.Empty);
Microsoft.Build.Utilities.Core (1)
SDKManifest.cs (1)
372string value = attribute.Value.Trim();
Microsoft.Web.Xdt.Extensions (7)
InsertOrAppendAttribute.cs (7)
114if (string.IsNullOrEmpty(att.Value)) 116att.Value = transformAtt.Value; 123if (att.Value == transformAtt.Value) 127att.Value = $"{att.Value};{transformAtt.Value}"; 135attribute.Value = transformAtt.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);
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
817string sdks = xmlAttribute.Value;
PresentationFramework (10)
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
495backgroundColor = GetColor(content.Attributes[BackgroundAttributeName].Value); 497activeBackgroundColor = GetColor(content.Attributes[ActiveBackgroundAttributeName].Value);
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (8)
222double height = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 237double width = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 252bool expanded = Convert.ToBoolean(node.Value, CultureInfo.InvariantCulture); 267((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture); 280double left = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 300double top = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 311snc.XOffset = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 320snc.YOffset = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture);
ReachFramework (3)
PrintConfig\PrtTicket_Editor.cs (3)
164if (attr.Value == PrintSchemaNamespaces.StandardKeywordSet) 168else if (attr.Value == PrintSchemaNamespaces.xsi) 172else if (attr.Value == PrintSchemaNamespaces.xsd)
System.Configuration.ConfigurationManager (1)
System\Configuration\SingleTagSectionHandler.cs (1)
43result[attribute.Name] = attribute.Value;
System.Data.Common (15)
System\Data\XDRSchema.cs (1)
471column.Expression = node.Attributes[i].Value;
System\Data\XMLSchema.cs (12)
34string value = attrs[i].Value; 270string value = attrs[i].Value; 353props.Add(propName, attrs[i].Value); 373_expressions[dc] = attrs[i].Value; 388return nodeAttributes[i].Value; 407props.Add(propName, attrs[i].Value); 2027if (attrs[i].Value == Keywords.FALSE) 2030tmp = attrs[i].Value; 2032defValue = attrs[i].Value; 2140if (attrs[i].Value == Keywords.FALSE) 2143tmp = attrs[i].Value; 2145defValue = attrs[i].Value;
System\Xml\XmlDataDocument.cs (1)
2570SetRowValueFromXmlText(row, c, attr.Value);
System\Xml\XPathNodePointer.cs (1)
1327return attr.Value;
System.Private.Xml (49)
System\Xml\Dom\DocumentSchemaValidator.cs (8)
194dictionary.Add(string.Empty, attr.Value); 202dictionary.Add(attr.LocalName, attr.Value); 345xsiType = attr.Value; 349xsiNil = attr.Value; 354_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.LocalName, attr.Value); 694xsiType = attr.Value; 698xsiNil = attr.Value; 703_nsManager.AddNamespace(attr.Prefix.Length == 0 ? string.Empty : attr.LocalName, attr.Value);
System\Xml\Dom\DocumentXPathNavigator.cs (2)
399return attribute.Value; 1823namespaceManager.AddNamespace(prefix, attribute.Value);
System\Xml\Dom\XmlAttributeCollection.cs (2)
346parent.OwnerDocument.AddElementWithId(attr.Value, parentElem); //add the element into the hashtable 363parent.OwnerDocument.RemoveElementWithId(attr.Value, parentElem); //remove the element from the hashtable
System\Xml\Dom\XmlElement.cs (3)
272return attr.Value; 342return attr.Value; 643return attr.Value;
System\Xml\Dom\XmlLoader.cs (9)
705mgr.AddNamespace(attr.LocalName, attr.Value); 710mgr.AddNamespace(string.Empty, attr.Value); 716if (attr.Value == "default") 718else if (attr.Value == "preserve") 724lang = attr.Value; 818if (attr.Value == nsUri) 827mgr.AddNamespace(attr.LocalName, attr.Value); 835if (attr.Value == nsUri) 844mgr.AddNamespace(attr.LocalName, attr.Value);
System\Xml\Dom\XmlNode.cs (4)
1106return attr.Value; // found xmlns 1120return attr.Value; // found xmlns:prefix 1189if (attr.Value == namespaceURI) 1197if (attr.Value == namespaceURI)
System\Xml\Dom\XmlNodeReader.cs (8)
483return attr.Value; 506return attr.Value; 532return ((XmlElement)_curNode).Attributes[attributeIndex].Value; 535return ((XmlElement)_elemNode!).Attributes[attributeIndex].Value; 883return attr.Value; 952if (a.Value == namespaceName) 1008dict.Add(_nameTable.Add(string.Empty), _nameTable.Add(a.Value!)); 1016dict.Add(_nameTable.Add(localName), _nameTable.Add(a.Value!));
System\Xml\Serialization\ImportContext.cs (1)
444XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attribute.Value, out _, item);
System\Xml\Serialization\SchemaObjectWriter.cs (2)
205if (a.Value != null) 207WriteAttribute(a.Name, a.NamespaceURI, a.Value);
System\Xml\Serialization\XmlSchemas.cs (3)
312if (a.Value == "True" || a.Value == "true" || a.Value == "1") return true;
System\Xml\Serialization\XmlSerializationReader.cs (4)
792int colon = attr.Value.LastIndexOf(':'); 795attr.Value = $"{_r.LookupNamespace("")}:{attr.Value}"; 799attr.Value = $"{_r.LookupNamespace(attr.Value.Substring(0, colon))}:{attr.Value.AsSpan(colon + 1)}";
System\Xml\Serialization\XmlSerializationWriter.cs (3)
928if (attr.Value != null) 933XmlQualifiedName qname = TypeScope.ParseWsdlArrayType(attr.Value, out dims, (container is XmlSchemaObject) ? (XmlSchemaObject)container : null); 942WriteAttribute(attr.Name, attr.NamespaceURI, attr.Value);
System.Security.Cryptography.Xml (7)
System\Security\Cryptography\Xml\CanonicalXmlAttribute.cs (2)
29strBuilder.Append(Utils.EscapeAttributeValue(Value)); 37rgbData = Encoding.UTF8.GetBytes(Utils.EscapeAttributeValue(Value));
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
555propagatedNamespace.Value);
System\Security\Cryptography\Xml\Utils.cs (3)
140return !nearestAncestorWithSamePrefix.Value.Equals(a.Value); 538nsattrib.Value = attrib.Value;
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
64namespaceURI = attrib.Value;
System.ServiceModel.Primitives (4)
System\ServiceModel\Security\WSTrust.cs (4)
237context = attr.Value; 338context = attr.Value; 771encodingUri = attr.Value; 779valueTypeUri = attr.Value;
System.Web.Services.Description (3)
System\Web\Services\Description\ServiceDescription.cs (3)
1235if (requiredAttr == null || requiredAttr.Value == null) 1238if (requiredAttr == null || requiredAttr.Value == null) 1244return XmlConvert.ToBoolean(requiredAttr.Value);
System.Windows.Forms (1)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
139return attr?.Value;