38 references to GetAttribute
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (4)
PDB\CSharpPDBTestBase.cs (4)
58
if (startRow.ToString() == item.
GetAttribute
("startLine") &&
59
startColumn.ToString() == item.
GetAttribute
("startColumn") &&
60
endRow.ToString() == item.
GetAttribute
("endLine") &&
61
endColumn.ToString() == item.
GetAttribute
("endColumn"))
PresentationFramework (6)
MS\Internal\Globalization\BamlTreeMap.cs (3)
587
string locAttribute = element.
GetAttribute
(LocComments.LocLocalizabilityAttribute);
590
locAttribute = element.
GetAttribute
(LocComments.LocCommentsAttribute);
646
&& element.
GetAttribute
(LocComments.LocCommentIDAttribute) == uid)
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
498
tagUid = child.
GetAttribute
(XamlReaderHelper.DefinitionUid);
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (2)
168
string languageString = currentNode.
GetAttribute
(_xmlLangAttribute);
223
_unicodeString = _glyphsNode.
GetAttribute
(_unicodeStringAttribute);
System.Data.Common (21)
System\Data\XDRSchema.cs (14)
36
_schemaName = schemaRoot.
GetAttribute
(Keywords.NAME);
83
strType = node.
GetAttribute
(Keywords.TYPE);
102
if (vn is XmlElement && ((XmlElement)vn).
GetAttribute
(Keywords.NAME) == strType)
135
string value = node.
GetAttribute
(Keywords.CONTENT);
191
string occurs = node.
GetAttribute
(Keywords.MINOCCURS);
199
occurs = node.
GetAttribute
(Keywords.MAXOCCURS);
326
instanceName = node.
GetAttribute
(Keywords.NAME);
334
instanceName = node.
GetAttribute
(Keywords.TYPE);
361
string strRef = node.
GetAttribute
(Keywords.REF);
397
strType = node.
GetAttribute
(Keywords.TYPE);
448
strDefault = node.
GetAttribute
(Keywords.DEFAULT);
478
string targetNamespace = node.
GetAttribute
(Keywords.TARGETNAMESPACE);
496
string occurs = elNode.
GetAttribute
(Keywords.MINOCCURS);
504
occurs = elNode.
GetAttribute
(Keywords.MAXOCCURS);
System\Data\xmlsaver.cs (3)
1214
if (n is XmlElement e && e.
GetAttribute
(Keywords.NAME) == name)
1570
if (FindTypeNode(schNode, el.
GetAttribute
(Keywords.NAME)) == null)
1591
if (child.
GetAttribute
(Keywords.NAME) == strType)
System\Data\XMLSchema.cs (1)
442
strName = XmlConvert.DecodeName(node.
GetAttribute
(Keywords.NAME));
System\Xml\XmlDataDocument.cs (2)
2475
if (value.Length == 0 && (((xsi_attrVal = rowElement.
GetAttribute
(XSI_NIL)) == "1") || xsi_attrVal == "true"))
2511
if (value.Length == 0 && (((xsi_attrVal = e.
GetAttribute
(XSI_NIL)) == "1") || xsi_attrVal == "true"))
System\Xml\XPathNodePointer.cs (1)
420
return curBoundElem.
GetAttribute
("xml:lang");
System.Private.Xml (2)
System\Xml\Dom\XmlNode.cs (2)
1353
switch (elem.
GetAttribute
("xml:space").AsSpan().Trim(XmlConvert.WhitespaceChars))
1384
return elem.
GetAttribute
("xml:lang");
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\Utils.cs (2)
39
if (element.HasAttribute(name) && element.
GetAttribute
(name) == value) return true;
61
string? s = (element.HasAttribute(localName) ? element.
GetAttribute
(localName) : null);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (3)
43
if (inputElement.
GetAttribute
("Id") == idValue || inputElement.
GetAttribute
("id") == idValue ||
44
inputElement.
GetAttribute
("ID") == idValue)