6 types derived from XmlNode
System.Private.Xml (6)
System\Xml\Dom\XmlAttribute.cs (1)
14public class XmlAttribute : XmlNode
System\Xml\Dom\XmlDocument.cs (1)
20public class XmlDocument : XmlNode
System\Xml\Dom\XmlDocumentFragment.cs (1)
44public class XmlDocumentFragment : XmlNode
System\Xml\Dom\XmlEntity.cs (1)
7public class XmlEntity : XmlNode
System\Xml\Dom\XmlLinkedNode.cs (1)
7public abstract class XmlLinkedNode : XmlNode
System\Xml\Dom\XmlNotation.cs (1)
10public class XmlNotation : XmlNode
1489 references to XmlNode
ILLink.Tasks (2)
CreateRuntimeRootDescriptorFile.cs (2)
341 XmlNode assemblyNode = linkerNode["assembly"]; 349 static void AddXmlTypeNode (XmlDocument doc, XmlNode assemblyNode, string typeName, ClassMembers members)
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
276foreach (XmlNode node in xml.GetElementsByTagName("testsuite"))
Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests (6)
TransformTest.cs (6)
31var depsElement = envNode.FirstChild; 38var sharedStoreElement = depsElement.NextSibling; 43var startupAssembliesElement = sharedStoreElement.NextSibling; 61var depsElement = envNode.FirstChild; 69var sharedStoreElement = depsElement.NextSibling; 74var startupAssembliesElement = sharedStoreElement.NextSibling;
Microsoft.AspNetCore.Mvc.Test (1)
MvcOptionsSetupTest.cs (1)
272Assert.Equal(typeof(XmlNode).FullName, excludeFilter.FullTypeName);
Microsoft.Build (19)
Construction\ProjectElementContainer.cs (2)
591var previousSibling = child.XmlElement.PreviousSibling; 611if (XmlElement.ChildNodes.Cast<XmlNode>().All(c => c.NodeType == XmlNodeType.Whitespace))
Construction\Solution\ProjectInSolution.cs (1)
316foreach (XmlNode childNode in projectDocument.ChildNodes)
Construction\Solution\SolutionFile.cs (2)
909foreach (XmlNode referenceNode in referenceNodes) 926XmlNode projGuidNode = referenceNode.SelectSingleNode("GUIDPROJECTID");
ElementLocation\XmlElementWithLocation.cs (3)
135public override XmlNode RemoveChild(XmlNode oldChild) 137XmlNode result = base.RemoveChild(oldChild);
Evaluation\Preprocessor.cs (8)
48private List<XmlNode> _addedNodes; 109foreach (XmlNode node in _addedNodes) 156_addedNodes = new List<XmlNode>(implicitImportCount); 176XmlNode lastImplicitImportAdded = null; 220private void CloneChildrenResolvingImports(XmlNode source, XmlNode destination) 225foreach (XmlNode child in source.ChildNodes) 348XmlNode clone = destinationDocument.ImportNode(child, false /* shallow */); // ImportNode does a clone but unlike CloneNode it works across XmlDocuments
SolutionConfiguration.cs (1)
72foreach (XmlNode dependencyNode in xmlElement.ChildNodes)
Xml\ProjectXmlUtilities.cs (1)
104foreach (XmlNode child in element.ChildNodes)
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (1)
76private readonly XmlElementWithLocation GetNextNode(XmlNode child)
Microsoft.Build.BuildCheck.UnitTests (3)
EndToEndTests.cs (3)
172XmlNode? packageSourcesNode = doc.SelectSingleNode("//packageSources"); 182private void AddPackageSource(XmlDocument doc, XmlNode? packageSourcesNode, string key, string value) 195private void PopulateXmlAttribute(XmlDocument doc, XmlNode node, string attributeName, string attributeValue)
Microsoft.Build.Conversion.Core (11)
ProjectFileConverter.cs (11)
620foreach (XmlNode childNode in rootNodes) 1645foreach (XmlNode visualStudioProjectChildNode in visualStudioProjectElement) 1821foreach (XmlNode languageChildNode in languageElement) 2027foreach (XmlNode buildChildNode in buildElement) 2156foreach (XmlNode settingsChildNode in settingsElement) 2402foreach (XmlNode configChildNode in configElement) 2631foreach (XmlNode referencesChildNode in referencesElement) 3143foreach (XmlNode importsChildNode in importsElement) 3257foreach (XmlNode filesChildNode in filesElement) 3325foreach (XmlNode includeChildNode in includeElement) 3731foreach (XmlNode startupServicesChildNode in startupServicesElement)
Microsoft.Build.Engine (67)
Choose\Choose.cs (1)
100foreach (XmlNode chooseChildNode in chooseElement)
Choose\When.cs (1)
157foreach (XmlNode whenChildNode in parentNode)
Engine\BatchingEngine.cs (5)
83XmlNode parentNode, 103XmlNode parentNode, 197XmlNode parentNode, 294XmlNode parentNode, 381XmlNode parentNode,
Engine\Expander.cs (9)
273XmlNode expressionNode 306XmlNode expressionNode 329XmlNode expressionNode 367XmlNode expressionNode 408XmlNode sourceNode 437XmlNode expressionNode 803private object LookupProperty(BuildPropertyGroup properties, string propertyName, XmlNode expressionNode) 875private string ExpandRegistryValue(string registryExpression, XmlNode node) 2031XmlNode expressionNode
Engine\ImportedProject.cs (1)
58/// <see cref="XmlUtilities.GetXmlNodeFile(XmlNode, string)"/> method), but again that would be unnecessary work, since the path is
Engine\ITaskRegistry.cs (1)
17bool GetRegisteredTask(string taskName, string taskProjectFile, XmlNode taskNode, bool exactMatchRequired, EngineLoggingServices loggingServices, BuildEventContext context, out LoadedType taskClass);
Engine\Project.cs (3)
238private XmlNode projectExtensionsNode; 2024foreach (XmlNode childNode in projectFileNodes) 4054foreach (XmlNode importedChildNode in importedFileNodes)
Engine\TargetExecutionWrapper.cs (1)
653XmlNode targetChildNode = targetElement.ChildNodes[currentTask];
Engine\TaskEngine.cs (1)
1183foreach (XmlNode childNode in taskNode.ChildNodes)
Engine\TaskRegistry.cs (2)
102XmlNode taskNode, 221XmlNode taskNode,
Engine\ToolsetState.cs (2)
231foreach (XmlNode topLevelNode in defaultTasks.ChildNodes) 248foreach (XmlNode usingTaskNode in topLevelNode.ChildNodes)
Engine\Utilities.cs (3)
306internal static void SetXmlNodeInnerContents(XmlNode node, string s) 337internal static string GetXmlNodeInnerContents(XmlNode node) 574internal static BuildEventFileInfo CreateBuildEventFileInfo(XmlNode xmlNode, string defaultFile)
Engine\XmlSearcher.cs (4)
34XmlNode xmlNodeToFind, 89XmlNode xmlNodeToFind, 100XmlNode elementToFind; 135XmlNode xmlNode = xmlNodeToFind.OwnerDocument;
Errors\InvalidProjectFileException.cs (1)
225XmlNode xmlNode,
Items\BuildItem.cs (1)
2123foreach (XmlNode customMetadata in childItem.ItemElement)
Items\ItemExpander.cs (5)
101private XmlNode parentNode; 112XmlNode parentNode, 132internal static string ExpandEmbeddedItemVectors(string s, XmlNode parentNode, ReadOnlyLookup readOnlyLookup) 161XmlNode parentNode, 184XmlNode parentNode,
Properties\BuildPropertyGroup.cs (1)
297foreach (XmlNode propertyGroupChildNode in this.propertyGroupElement)
Shared\ProjectErrorUtilities.cs (13)
42XmlNode xmlNode, 57XmlNode xmlNode, 76XmlNode xmlNode, 93XmlNode xmlNode, 114XmlNode xmlNode, 136XmlNode xmlNode, 160XmlNode xmlNode, 186XmlNode xmlNode, 212XmlNode xmlNode, 241XmlNode xmlNode, 272XmlNode xmlNode, 305XmlNode xmlNode, 338XmlNode xmlNode,
Shared\ProjectInSolution.cs (1)
247foreach (XmlNode childNode in projectDocument.ChildNodes)
Shared\SolutionParser.cs (2)
658foreach (XmlNode referenceNode in referenceNodes) 673XmlNode projGuidNode = referenceNode.SelectSingleNode("GUIDPROJECTID");
Shared\XMakeElements.cs (1)
47internal static bool IsValidTaskChildNode(XmlNode childNode)
Shared\XmlUtilities.cs (4)
44foreach (XmlNode oldChildNode in oldElement.ChildNodes) 46XmlNode newChildNode = oldChildNode.CloneNode(true); 67internal static string GetXmlNodeFile(XmlNode node, string defaultFile) 91internal static bool IsXmlRootElement(XmlNode node)
Solution\VCProjectParser.cs (1)
55foreach (XmlNode configurationNode in configurationsElements[0].ChildNodes)
Xml\ProjectXmlUtilities.cs (3)
28foreach (XmlNode child in element) 55internal static void VerifyThrowProjectXmlElementChild(XmlNode childNode) 78internal static void ThrowProjectInvalidChildElement(XmlNode child)
Microsoft.Build.Engine.UnitTests (9)
Construction\ElementLocation_Tests.cs (2)
440locations += ((XmlNode)node).Name + "==" + ((XmlNode)node).Value ?? String.Empty + ": " + value.LocationString + "\r\n";
Evaluation\ProjectStringCache_Tests.cs (7)
66XmlNode node1 = nodes1[0].FirstChild; 67XmlNode node2 = nodes2[0].FirstChild; 127XmlNode node1 = nodes1[0]; 128XmlNode node2 = nodes2[0]; 146XmlNode parent = node2.ParentNode; 214XmlNode node1 = nodes1[0]; 215XmlNode node2 = nodes2[0];
Microsoft.Build.Tasks.Core (107)
AddToWin32Manifest.cs (6)
186XmlNode? assemblyNode = document.SelectSingleNode(XPaths.assemblyElement, xmlNamespaceManager); 194XmlNode? supportedArchitecturesNode = GetNode(assemblyNode, supportedArchitectures, xmlNamespaceManager); 212XmlNode? assemblyNode = document.SelectSingleNode(XPaths.assemblyElement, xmlNamespaceManager); 238XmlNode? existingNode = GetNode(document, localName, xmlNamespaceManager); 250private XmlNode? GetNode(XmlNode node, string localName, XmlNamespaceManager xmlNamespaceManager) => node.SelectSingleNode($"//*[local-name()='{localName}']", xmlNamespaceManager);
BootstrapperUtil\BootstrapperBuilder.cs (78)
43private readonly Dictionary<string, XmlNode> _cultures = new Dictionary<string, XmlNode>(StringComparer.OrdinalIgnoreCase); 556XmlNode rootNode = resourceDoc.SelectSingleNode("Resources"); 560XmlNode stringsNode = rootNode.SelectSingleNode("Strings"); 561XmlNode stringNode = stringsNode?.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, "String[@Name='{0}']", cultureAttribute.Value)); 566XmlNode resourcesNode = rootNode.OwnerDocument.ImportNode(rootNode, true); 623foreach (XmlNode productNode in productsFound) 664foreach (XmlNode eitherProductNode in SelectEitherProducts(p)) 669foreach (XmlNode relatedProductNode in eitherProductNode.SelectNodes(String.Format(CultureInfo.InvariantCulture, "{0}:DependsOnProduct", BOOTSTRAPPER_PREFIX), _xmlNamespaceManager)) 715foreach (XmlNode relatedProduct in relatedProducts) 894XmlNode baseNode = productDoc.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Product", _xmlNamespaceManager); 902XmlNode productNode = rootElement.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Product[@ProductCode='" + productCodeAttribute.Value + "']", _xmlNamespaceManager); 915XmlNode packageFilesNode = baseNode.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 916XmlNode checksNode = baseNode.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":InstallChecks", _xmlNamespaceManager); 917XmlNode commandsNode = baseNode.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Commands", _xmlNamespaceManager); 950XmlNode langNode = langDoc.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Package", _xmlNamespaceManager); 958XmlNode packageFilesNodePackage = langElement.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 1064private Product CreateProduct(XmlNode node) 1073XmlNode packageFilesNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Package/" + BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 1084foreach (XmlNode packageNode in packageNodeList) 1103private static Package CreatePackage(XmlNode node, Product product) 1120private void ReplaceAttributes(XmlNode targetNode, string attributeName, string oldValue, string newValue) 1127foreach (XmlNode node in nodeList) 1141private static void ReplaceAttribute(XmlNode targetNode, string attributeName, string attributeValue) 1148private static void MergeAttribute(XmlNode targetNode, XmlAttribute attribute) 1158private void UpdatePackageFileNodes(XmlNode packageFilesNode, string strSourcePath, string strTargetPath) 1162foreach (XmlNode packageFileNode in packageFileNodeList) 1194XmlNode node = element.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":" + nodeName, _xmlNamespaceManager); 1203XmlNode langNode = langElement.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":" + strNodeName, _xmlNamespaceManager); 1204XmlNode baseNode = baseElement.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":" + strNodeName, _xmlNamespaceManager); 1231XmlNode mergeSubNode = _document.CreateElement(strNodeName, BOOTSTRAPPER_NAMESPACE); 1232XmlNode nextNode = baseNode.FirstChild; 1243XmlNode queryResultNode = QueryForSubNode(langNode, strSubNodeKey, keyAttribute.Value); 1291private XmlNode QueryForSubNode(XmlNode subNode, string strSubNodeKey, string strTargetValue) 1297private void CorrectPackageFiles(XmlNode node) 1299XmlNode packageFilesNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 1305foreach (XmlNode currentNode in packageFileNodeList) 1309XmlNode packageFileNode = packageFilesNode.SelectSingleNode(strQuery, _xmlNamespaceManager); 1319private void ReplaceStrings(XmlNode node) 1321XmlNode stringsNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":Strings", _xmlNamespaceManager); 1332XmlNode packageFilesNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 1336foreach (XmlNode packageFileNode in packageFileNodeList) 1345foreach (XmlNode currentNode in stringKeyNodeList) 1348XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager); 1405XmlNode node = package.Node; 1409XmlNode installChecksNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":InstallChecks", _xmlNamespaceManager); 1410foreach (XmlNode packageFileNode in packageFileNodes) 1419XmlNode packageFilesNode = node.SelectSingleNode(BOOTSTRAPPER_PREFIX + ":PackageFiles", _xmlNamespaceManager); 1444XmlNode subNode = null; 1557private XmlNode CreateProductNode(XmlNode node) 1560XmlNode productNode = _document.CreateElement("Product", BOOTSTRAPPER_NAMESPACE); 1573private static string ReadAttribute(XmlNode node, string strAttributeName) 1638private void ReplaceAttributeString(XmlNode node, string attributeName, XmlNode stringsNode) 1644XmlNode stringNode = stringsNode.SelectSingleNode(string.Format(CultureInfo.InvariantCulture, stringNodeLookupTemplate, attribute.Value), _xmlNamespaceManager); 1757XmlNode resourcesNode = GetResourcesNodeForSettings(settings, _results, ref codePage); 1758XmlNode stringsNode = resourcesNode.SelectSingleNode("Strings"); 1759XmlNode fontsNode = resourcesNode.SelectSingleNode("Fonts"); 1769foreach (XmlNode stringNode in stringNodes) 1781foreach (XmlNode fontNode in fontsNode.SelectNodes("Font")) 1797private XmlNode GetResourcesNodeForSettings(BuildSettings settings, BuildResults results, ref int codepage) 1801XmlNode cultureNode; 1860KeyValuePair<string, XmlNode> altCulturePair = _cultures.FirstOrDefault(); 1869private XmlNode GetResourcesNodeForSettings_Helper(CultureInfo culture, CultureInfo altCulture, BuildResults results, ref int codepage, bool fShowWarning) 1871if (altCulture != null && _cultures.TryGetValue(altCulture.Name, out XmlNode cultureNode)) 1898private void ReplacePackageFileAttributes(XmlNode targetNodes, string targetAttribute, XmlNode sourceNodes, string sourceSubNodeName, string sourceOldName, string sourceNewName) 1902foreach (XmlNode sourceNode in sourceNodeList) 1940private static void AddAttribute(XmlNode node, string attributeName, string attributeValue) 1950public static string XmlToConfigurationFile(XmlNode input) 1990private static void DumpXmlToFile(XmlNode node, string fileName) 2066private static bool VerifyHomeSiteInformation(XmlNode packageFileNode, ProductBuilder builder, BuildSettings settings, BuildResults results) 2084private bool AddVerificationInformation(XmlNode packageFileNode, string fileSource, string fileName, ProductBuilder builder, BuildSettings settings, BuildResults results) 2175private static void ConvertChildsNodeToAttributes(XmlNode node) 2177XmlNode childNode = node.FirstChild; 2182XmlNode currentNode = childNode;
BootstrapperUtil\Package.cs (2)
14public Package(Product product, XmlNode node, XmlValidationResults validationResults, string name, string culture) 23internal XmlNode Node { get; }
BootstrapperUtil\Product.cs (2)
38internal Product(XmlNode node, string code, ProductValidationResults validationResults, string copyAll) 61internal XmlNode Node { get; }
GenerateApplicationManifest.cs (1)
463XmlNode node = (XmlElement)document.SelectSingleNode(XPaths.requestedExecutionLevelPath, nsmgr);
ManifestUtil\AssemblyIdentity.cs (1)
238XmlNode node = element.Attributes.GetNamedItem("name");
ManifestUtil\DeployManifest.cs (1)
221XmlNode fileListNode = doc.DocumentElement;
ManifestUtil\Manifest.cs (3)
389XmlNode codeBaseNode = null; 407XmlNode publicKeyTokenNode = ((XmlAttribute)codeBaseNode).OwnerElement.SelectSingleNode(XPaths.dependencyPublicKeyTokenAttribute, nsmgr); 419XmlNode hashNode = ((XmlAttribute)codeBaseNode).OwnerElement.SelectSingleNode(XPaths.hashElement, nsmgr);
ManifestUtil\ManifestReader.cs (4)
31foreach (XmlNode comNode in comNodes) 33XmlNode nameNode = comNode.SelectSingleNode(XPaths.fileNameAttribute, nsmgr); 37foreach (XmlNode clsidNode in clsidNodes) 43foreach (XmlNode tlbidNode in tlbidNodes)
ManifestUtil\mansign2.cs (2)
388XmlNode assemblyIdentityNode = _manifestDom.SelectSingleNode("asm:assembly/asm:assemblyIdentity", nsm); 451XmlNode signatureNode = manifestDom.SelectSingleNode("asm:assembly/ds:Signature", nsm);
ManifestUtil\TrustInfo.cs (2)
262XmlNode previousNode = inputRequestedExecutionLevel.PreviousSibling; 741foreach (XmlNode permissionSetNode in permissionSetNodes)
ManifestUtil\XmlUtil.cs (1)
47foreach (XmlNode node in element.ChildNodes)
SolutionConfiguration.cs (1)
72foreach (XmlNode dependencyNode in xmlElement.ChildNodes)
XmlPeek.cs (1)
192XmlNode xn = xnl[i];
XmlPoke.cs (1)
179XmlNode xn = xnl[i];
XslTransformation.cs (1)
231XmlNode xn = xnl[i];
Microsoft.Build.Utilities.Core (5)
ApiContract.cs (1)
53foreach (XmlNode contractNode in element.ChildNodes)
PlatformManifest.cs (2)
109foreach (XmlNode childNode in doc.ChildNodes) 128foreach (XmlNode childNode in rootElement.ChildNodes)
SDKManifest.cs (2)
328foreach (XmlNode childNode in doc.ChildNodes) 341foreach (XmlNode childNode in rootElement.ChildNodes)
Microsoft.DotNet.SignCheckLibrary (2)
Verification\VsixVerifier.cs (2)
54XmlNode encodedTimeNode = element.SelectNodes("//ds:TimeStamp/ds:EncodedTime", namespaceManager).OfType<XmlNode>().FirstOrDefault();
Microsoft.Web.Xdt.Extensions (1)
InsertOrAppendAttribute.cs (1)
106foreach (XmlNode targetNode in TargetChildNodes)
Microsoft.Web.Xdt.Extensions.Tests (8)
InsertOrAppendAttributeTests.cs (8)
26var firstChild = configurationNode.FirstChild; 31var secondChild = firstChild.NextSibling; 50var firstChild = configurationNode.FirstChild; 55var secondChild = firstChild.NextSibling; 74var firstChild = configurationNode.FirstChild; 79var secondChild = firstChild.NextSibling; 98var firstChild = configurationNode.FirstChild; 103var secondChild = firstChild.NextSibling;
netstandard (1)
netstandard.cs (1)
2483[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNode))]
PresentationBuildTasks (13)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (12)
629XmlNode root = xmlProjectDoc.DocumentElement; 721XmlNode root = xmlProjectDoc.DocumentElement; 724XmlNode nodeItemGroup = xmlProjectDoc.CreateElement(ITEMGROUP_NAME, root.NamespaceURI); 776XmlNode root = xmlProjectDoc.DocumentElement; 779XmlNode nodeItemGroup = xmlProjectDoc.CreateElement("PropertyGroup", root.NamespaceURI); 809XmlNode root = xmlProjectDoc.DocumentElement; 820XmlNode previousNodeImportProps = null; 821XmlNode previousNodeImportTargets = null; 846XmlNode nodeImportProps = CreateImportProjectSdkNode(xmlProjectDoc, "Sdk.props", sdkReference); 865XmlNode nodeImportTargets = CreateImportProjectSdkNode(xmlProjectDoc, "Sdk.targets", sdkReference); 884static XmlNode CreateImportProjectSdkNode(XmlDocument xmlProjectDoc, string projectAttributeValue, SdkReference sdkReference) 886XmlNode nodeImport = xmlProjectDoc.CreateElement("Import", xmlProjectDoc.DocumentElement.NamespaceURI);
Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
114XmlNode entryPoint = entryPointList[0];
PresentationFramework (28)
MS\Internal\Annotations\XmlElementCollection.cs (1)
219XmlNode current = args.Node;
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
516XmlNode oldValue = root.GetAttributeNode(name, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace);
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (6)
61public abstract void Save(XmlNode node); 67public abstract void Load(XmlNode node); 203public override void Save(XmlNode node) 231public override void Load(XmlNode node) 376public override void Save(XmlNode node) 398public override void Load(XmlNode node)
MS\Internal\Data\XmlBindingWorker.cs (10)
184private XmlNode ContextNode 313ContextNode = CollectionView.CurrentItem as XmlNode; 323ContextNode = DataItem as XmlNode; 380private XmlDocument DocumentFor(XmlNode node) 549private string IdentifyNode(XmlNode node) 608XmlNode parent = null; 609XmlNode valueNode = null; 641XmlNode resultNode = _hostWorker.GetResultNode() as XmlNode; 668private XmlNode _contextNode;
MS\Internal\Data\XmlDataCollection.cs (2)
24internal class XmlDataCollection : ReadOnlyObservableCollection<XmlNode> 36internal XmlDataCollection(XmlDataProvider xmlDataProvider) : base(new ObservableCollection<XmlNode>())
MS\Internal\Globalization\BamlTreeMap.cs (1)
655foreach (XmlNode node in doc.DocumentElement.ChildNodes)
MS\Internal\Globalization\BamlTreeUpdater.cs (1)
481XmlNode node, // xml node to construct BamlTreeNode from
MS\Internal\IO\Packaging\FixedPageContentExtractor.cs (1)
31internal FixedPageContentExtractor(XmlNode fixedPage)
MS\Internal\IO\Packaging\XmlFixedPageInfo.cs (2)
35internal XmlFixedPageInfo(XmlNode fixedPageNode) 155private XmlNode _pageNode;
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
36internal XmlGlyphRunInfo(XmlNode glyphsNode)
System\Windows\Annotations\Annotation.cs (1)
336XmlNode node = doc.ReadNode(reader); // Reads the entire "StringAuthor" tag
System\Windows\Data\XmlDataProvider.cs (1)
520XmlNode root = doc.DocumentElement;
PresentationFramework-SystemXml (16)
SystemXmlExtension.cs (12)
27return item is XmlNode; 39XmlNode node = item as XmlNode; 75System.Xml.XmlNode node = (System.Xml.XmlNode)item; 97XmlNode node = item as XmlNode; 111XmlNode node = item as XmlNode; 125internal static string SelectStringValue(XmlNode node, string query, XmlNamespaceManager namespaceManager) 128XmlNode result; 145private static string ExtractString(XmlNode node)
XmlNodeComparer.cs (4)
39XmlNode node1 = o1 as XmlNode; 40XmlNode node2 = o2 as XmlNode;
ReachFramework (3)
PrintConfig\PrtTicket_Editor.cs (3)
95XmlNode rootChild = root.FirstChild; 249XmlNode child = parent.FirstChild; 311XmlNode child = parent.FirstChild;
System.Configuration.ConfigurationManager (91)
System\Configuration\ClientSettingsStore.cs (2)
334internal StoredSetting(SettingsSerializeAs serializeAs, XmlNode value) 340internal readonly XmlNode Value;
System\Configuration\ConfigurationErrorsException.cs (4)
58public ConfigurationErrorsException(string message, XmlNode node) : 62public ConfigurationErrorsException(string message, Exception inner, XmlNode node) : 231public static int GetLineNumber(XmlNode node) 236public static string GetFilename(XmlNode node)
System\Configuration\ConfigurationException.cs (4)
47public ConfigurationException(string message, XmlNode node) 52public ConfigurationException(string message, Exception inner, XmlNode node) 110public static string GetXmlNodeFilename(XmlNode node) => (node as IConfigErrorInfo)?.Filename ?? string.Empty; 113public static int GetXmlNodeLineNumber(XmlNode node) => (node as IConfigErrorInfo)?.LineNumber ?? 0;
System\Configuration\ConfigXmlAttribute.cs (2)
26public override XmlNode CloneNode(bool deep) 28XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlCDataSection.cs (2)
25public override XmlNode CloneNode(bool deep) 27XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlComment.cs (2)
25public override XmlNode CloneNode(bool deep) 27XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlElement.cs (2)
26public override XmlNode CloneNode(bool deep) 28XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlSignificantWhitespace.cs (2)
25public override XmlNode CloneNode(bool deep) 27XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlText.cs (2)
25public override XmlNode CloneNode(bool deep) 27XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\ConfigXmlWhitespace.cs (2)
25public override XmlNode CloneNode(bool deep) 27XmlNode cloneNode = base.CloneNode(deep);
System\Configuration\DictionarySectionHandler.cs (2)
25public virtual object Create(object parent, object context, XmlNode section) 40foreach (XmlNode child in section.ChildNodes)
System\Configuration\DpapiProtectedConfigurationProvider.cs (9)
18public override XmlNode Decrypt(XmlNode encryptedNode) 26XmlNode cipherNode = TraverseToChild(encryptedNode, "CipherData", false); 30XmlNode cipherValue = TraverseToChild(cipherNode, "CipherValue", true); 45public override XmlNode Encrypt(XmlNode node) 103private static XmlNode TraverseToChild(XmlNode node, string name, bool onlyChild) 105foreach (XmlNode child in node.ChildNodes)
System\Configuration\ErrorInfoXmlDocument.cs (2)
77internal static XmlNode CreateSectionXmlNode(ConfigXmlReader reader) 81XmlNode xmlNode = doc.DocumentElement;
System\Configuration\HandlerBase.cs (28)
11private static XmlNode GetAndRemoveAttribute(XmlNode node, string attrib, bool fRequired) 13XmlNode a = node.Attributes.RemoveNamedItem(attrib); 26private static XmlNode GetAndRemoveStringAttributeInternal(XmlNode node, string attrib, bool fRequired, ref string val) 28XmlNode a = GetAndRemoveAttribute(node, attrib, fRequired); 35internal static XmlNode GetAndRemoveStringAttribute(XmlNode node, string attrib, ref string val) 41private static XmlNode GetAndRemoveBooleanAttributeInternal(XmlNode node, string attrib, bool fRequired, ref bool val) 43XmlNode a = GetAndRemoveAttribute(node, attrib, fRequired); 61internal static XmlNode GetAndRemoveBooleanAttribute(XmlNode node, string attrib, ref bool val) 67private static XmlNode GetAndRemoveIntegerAttributeInternal(XmlNode node, string attrib, bool fRequired, ref int val) 69XmlNode a = GetAndRemoveAttribute(node, attrib, fRequired); 93internal static XmlNode GetAndRemoveIntegerAttribute(XmlNode node, string attrib, ref int val) 98internal static void CheckForUnrecognizedAttributes(XmlNode node) 109internal static string RemoveAttribute(XmlNode node, string name) 112XmlNode attribute = node.Attributes.RemoveNamedItem(name); 123internal static string RemoveRequiredAttribute(XmlNode node, string name) 128internal static string RemoveRequiredAttribute(XmlNode node, string name, bool allowEmpty) 130XmlNode attribute = node.Attributes.RemoveNamedItem(name); 149internal static void CheckForNonElement(XmlNode node) 157internal static bool IsIgnorableAlsoCheckForNonElement(XmlNode node) 169internal static void CheckForChildNodes(XmlNode node) 177internal static void ThrowUnrecognizedElement(XmlNode node)
System\Configuration\IConfigurationSectionHandler.cs (1)
35object Create(object parent, object configContext, XmlNode section);
System\Configuration\IgnoreSectionHandler.cs (1)
14public virtual object Create(object parent, object configContext, XmlNode section)
System\Configuration\LocalFileSettingsProvider.cs (2)
469XmlNode unwanted = null; 470foreach (XmlNode child in valueXml.ChildNodes)
System\Configuration\NameValueFileSectionHandler.cs (2)
20public object Create(object parent, object configContext, XmlNode section) 25XmlNode fileAttribute = section.Attributes.RemoveNamedItem("file");
System\Configuration\NameValueSectionHandler.cs (4)
16public object Create(object parent, object context, XmlNode section) 21internal static object CreateStatic(object parent, XmlNode section) 26internal static object CreateStatic(object parent, XmlNode section, string keyAttriuteName, string valueAttributeName) 44foreach (XmlNode child in section.ChildNodes)
System\Configuration\ProtectedConfigurationProvider.cs (4)
11public abstract XmlNode Encrypt(XmlNode node); 12public abstract XmlNode Decrypt(XmlNode encryptedNode);
System\Configuration\ProtectedConfigurationSection.cs (2)
90XmlNode resultNode = provider.Decrypt(doc.DocumentElement); 108XmlNode encNode = provider.Encrypt(xmlDocument.DocumentElement);
System\Configuration\RsaProtectedConfigurationProvider.cs (4)
18public override XmlNode Decrypt(XmlNode encryptedNode) 23public override XmlNode Encrypt(XmlNode node)
System\Configuration\RuntimeConfigurationRecord.cs (3)
121private static void CheckForLockAttributes(string sectionName, XmlNode xmlNode) 134foreach (XmlNode child in xmlNode.ChildNodes) 174XmlNode xmlNode = ErrorInfoXmlDocument.CreateSectionXmlNode(reader);
System\Configuration\SettingValueElement.cs (2)
13private XmlNode _valueXml; 19public XmlNode ValueXml
System\Configuration\SingleTagSectionHandler.cs (1)
23public virtual object Create(object parent, object context, XmlNode section)
System.Data.Common (207)
System\Data\DataSet.cs (5)
1577XmlNode node = xdoc.ReadNode(reader)!; 1742XmlNode node = xdoc.ReadNode(reader)!; 1838XmlNode schNode = xdoc.ReadNode(reader)!; 2189XmlNode node = xdoc.ReadNode(reader)!; 2735XmlNode node = xdoc.ReadNode(reader)!;
System\Data\DataTable.cs (2)
5892XmlNode node = xdoc.ReadNode(reader)!; 6185XmlNode node = xdoc.ReadNode(reader)!;
System\Data\SimpleType.cs (1)
228internal XmlNode ToNode(XmlDocument dc, Hashtable prefixes, bool inRemoting)
System\Data\XDRSchema.cs (5)
50for (XmlNode? n = schemaRoot.FirstChild; n != null; n = n.NextSibling) 71XmlNode? vn; 72XmlNode vnRoof; 162for (XmlNode? n = typeNode.FirstChild; n != null; n = n.NextSibling) 525for (XmlNode? n = typeNode.FirstChild; n != null; n = n.NextSibling)
System\Data\XmlDataLoader.cs (12)
96private void AttachRows(DataRow? parentRow, XmlNode parentElement) 101for (XmlNode? n = parentElement.FirstChild; n != null; n = n.NextSibling) 126private static int CountNonNSAttributes(XmlNode node) 137private static string GetValueForTextOnlyColumns(XmlNode? n) 169private static string GetInitialTextFromNodes(ref XmlNode? n) 226for (XmlNode? tabNode = e.FirstChild; tabNode != null; tabNode = tabNode.NextSibling) 238private bool FIgnoreNamespace(XmlNode node) 240XmlNode? ownerNode; 368XmlNode? n; 496private void LoadRows(DataRow? parentRow, XmlNode parentElement) 507for (XmlNode? n = parentElement.FirstChild; n != null; n = n.NextSibling) 712XmlNode? n; // Need this to pass by reference
System\Data\xmlsaver.cs (3)
1205for (XmlNode? n = schema.FirstChild; n != null; n = n.NextSibling) 1250XmlNode type; 1571for (XmlNode? n = node.FirstChild; n != null; n = n.NextSibling)
System\Data\XMLSchema.cs (2)
72internal static bool FEqualIdentity(XmlNode? node, string name, string ns) 864XmlNode[] relations = ((XmlSchemaAppInfo)__items).Markup!;
System\Data\XmlToDatasetMap.cs (4)
47public object? this[XmlNode node] 436public object? GetColumnSchema(XmlNode node, bool fIgnoreNamespace) 441XmlNode? nodeRegion = (node.NodeType == XmlNodeType.Attribute) ? ((XmlAttribute)node).OwnerElement : node.ParentNode; 475public object? GetSchemaForNode(XmlNode node, bool fIgnoreNamespace)
System\Xml\BaseTreeIterator.cs (1)
19internal abstract XmlNode? CurrentNode { get; }
System\Xml\DataDocumentXPathNavigator.cs (2)
19internal DataDocumentXPathNavigator(XmlDataDocument doc, XmlNode node) 177XmlNode IHasXmlNode.GetNode() => _curNode.Node!;
System\Xml\DataPointer.cs (16)
15private XmlNode _node; 21internal DataPointer(XmlDataDocument doc, XmlNode node) 76private static bool IsFoliated(XmlNode node) => 93private void MoveTo(XmlNode node) 104private void MoveTo(XmlNode node, DataColumn? column, bool fOnValue) 197XmlNode? n = _doc.SafeFirstChild(_node); 227XmlNode? n = _doc.SafeFirstChild(_node); 236XmlNode? n = _doc.SafeNextSibling(_node); 270XmlNode? n = _node.ParentNode; 299XmlNode? n = ((XmlAttribute)_node).OwnerElement; 360XmlNode? n = _node.Attributes!.Item(i); 586bool IXmlDataVirtualNode.IsOnNode(XmlNode nodeToCheck) 598internal XmlNode GetNode() => _node; 632void IXmlDataVirtualNode.OnFoliated(XmlNode foliatedNode) 653XmlNode? n; 766XmlNode? child = _doc.SafeFirstChild(_doc);
System\Xml\DataSetMappper.cs (6)
136for (XmlNode? n = elem.FirstChild; n != null; n = n.NextSibling) 149internal DataColumn? GetColumnSchemaForNode(XmlBoundElement rowElem, XmlNode node) 212internal static bool GetRegion(XmlNode? node, [NotNullWhen(true)] out XmlBoundElement? rowElem) 278XmlNode? fc = attr.FirstChild; 287XmlNode? n = rowElem.FirstChild; 323XmlNode? fc = e!.FirstChild;
System\Xml\IXmlDataVirtualNode.cs (2)
10bool IsOnNode(XmlNode nodeToCheck); 13void OnFoliated(XmlNode foliatedNode);
System\Xml\RegionIterator.cs (6)
21private XmlNode _currentNode; 30internal override XmlNode? CurrentNode => _currentNode; 35XmlNode? nextNode; 74XmlNode? nextNode = _currentNode.NextSibling; 140XmlNode? n = CurrentNode.FirstChild; 162private static string GetInitialTextFromNodes(ref XmlNode? n)
System\Xml\TreeIterator.cs (6)
13private readonly XmlNode _nodeTop; 14private XmlNode _currentNode; 16internal TreeIterator(XmlNode nodeTop) : base(((XmlDataDocument)(nodeTop.OwnerDocument!)).Mapper) 23internal override XmlNode? CurrentNode => _currentNode; 27XmlNode? nextNode; 51XmlNode? nextNode = _currentNode.NextSibling;
System\Xml\XmlBoundElement.cs (23)
47public override XmlNode? FirstChild 58internal XmlNode? SafeFirstChild => base.FirstChild; 60public override XmlNode? LastChild 71public override XmlNode? PreviousSibling 77XmlNode? prev = base.PreviousSibling; 91internal XmlNode? SafePreviousSibling => base.PreviousSibling; 93public override XmlNode? NextSibling 99XmlNode? next = base.NextSibling; 113internal XmlNode? SafeNextSibling => base.NextSibling; 128public override XmlNode? InsertBefore(XmlNode newChild, XmlNode? refChild) 136public override XmlNode? InsertAfter(XmlNode newChild, XmlNode? refChild) 144public override XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) 152public override XmlNode? AppendChild(XmlNode newChild) 160XmlNode? child = FirstChild; 161XmlNode? sibling; 239public override XmlNode CloneNode(bool deep)
System\Xml\XmlDataDocument.cs (62)
115internal void SyncRows(DataRow? parentRow, XmlNode node, bool fAddRowsToTable) 142for (XmlNode? child = node.FirstChild; child != null; child = child.NextSibling) 149internal void SyncTree(XmlNode node) 183for (XmlNode? child = node.FirstChild; child != null; child = child.NextSibling) 437XmlNode? node = rowElem.FirstChild; 440XmlNode? next = node.NextSibling; 685XmlNode? priorNode = null; 707XmlNode? newNode = null; 766private XmlNode? GetColumnInsertAfterLocation(DataColumn col, XmlBoundElement rowElement) 768XmlNode? prev = null; 769XmlNode? node; 867private XmlElement? GetRowInsertBeforeLocation(DataRow row, XmlNode parentElement) 905internal bool HasPointers(XmlNode node) 968internal XmlNode CloneTree(DataPointer other) 979XmlNode newNode; 1007private XmlNode CloneTreeInternal(DataPointer other) 1014XmlNode newNode = CloneNode(other); 1048public override XmlNode CloneNode(bool deep) 1063XmlNode cloneNode; 1081private XmlNode CloneNode(DataPointer dp) => 1105internal static bool IsTextLikeNode(XmlNode n) 1298private void LoadRows(XmlBoundElement? rowElem, XmlNode node) 1323for (XmlNode? child = node.FirstChild; child != null; child = child.NextSibling) 1575XmlNode? elemBefore = GetColumnInsertAfterLocation(col, rowElement); 1705private void OnFoliated(XmlNode node) 1862XmlNode node = args.Node!; 1863XmlNode? oldParent = args.OldParent; 1864XmlNode? newParent = args.NewParent; 1916XmlNode node = args.Node!; 1917XmlNode? oldParent = args.OldParent; 1950private void OnNodeRemovedFromTree(XmlNode node, XmlNode? oldParent) 1975private void OnNodeRemovedFromFragment(XmlNode node, XmlNode? oldParent) 2260XmlNode? refRow; 2284private void PromoteChild(XmlNode child, XmlNode prevSibling) 2303private void PromoteInnerRegions(XmlNode parent) 2309XmlNode prevSibling = parent; 2325private void PromoteNonValueChildren(XmlNode parent) 2328XmlNode prevSibling = parent; 2329XmlNode? child = parent.FirstChild; 2331XmlNode? nextSibling; 2346private void RemoveInitialTextNodes(XmlNode? node) 2350XmlNode? sibling = node.NextSibling; 2356private void ReplaceInitialChildText(XmlNode parent, string value) 2358XmlNode? n = parent.FirstChild; 2378internal XmlNode? SafeFirstChild(XmlNode n) 2388internal XmlNode? SafeNextSibling(XmlNode n) 2398internal XmlNode? SafePreviousSibling(XmlNode n) 2674private bool IsConnected(XmlNode? node) 2711private void OnNodeInsertedInTree(XmlNode node) 2750private void OnNodeInsertedInFragment(XmlNode node) 2904private void OnNonRowElementInsertedInTree(XmlNode node, XmlBoundElement rowElement, ArrayList rowElemList) 3008protected override XPathNavigator? CreateNavigator(XmlNode node) 3017XmlNode? parent = node.ParentNode; 3030XmlNode? prevSib = node.PreviousSibling; 3042private void AssertLiveRows(XmlNode node) 3065private void AssertNonLiveRows(XmlNode node)
System\Xml\XPathNodePointer.cs (49)
17private XmlNode _node; 48private XPathNodeType DecideXPNodeTypeForTextNodes(XmlNode node) 53XmlNode? n = node; 74private XPathNodeType ConvertNodeType(XmlNode node) 95internal XPathNodePointer(DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node) : 105private XPathNodePointer(DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node, DataColumn? c, bool bOnValue, XmlBoundElement? parentOfNS) 313XmlNode? parent = _node.ParentNode; 316XmlNode? n = _doc.SafeNextSibling(_node); 391XmlNode curNode = _node; 474private void MoveTo(XmlNode node) 483private void MoveTo(XmlNode node, DataColumn? column, bool fOnValue) 492private static bool IsFoliated(XmlNode node) 607XmlNode? n = _node.Attributes.GetNamedItem(localName, namespaceURI); 681private static bool IsValidChild(XmlNode parent, XmlNode child) 708private static bool IsValidChild(XmlNode parent, DataColumn c) 745XmlNode? n = _doc.SafeFirstChild(_node); 754XmlNode? n = _node; 755XmlNode? parent = _node.ParentNode; 800XmlNode? n = _node; 801XmlNode? parent = _node.ParentNode; 842XmlNode? parent; 871XmlNode? n = _doc.SafeFirstChild(parent); 913XmlNode? n = _doc.SafeFirstChild(_node); 957XmlNode? n = _doc.SafeFirstChild(_node); 995XmlNode? n; 1010private XmlNode? GetParent(XmlNode node) 1025XmlNode node = _node; 1026XmlNode? parent = _node; 1067private static XmlNode GetRoot(XmlNode node, ref int depth) 1070XmlNode curNode = node; 1071XmlNode? parent = ((curNode.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode).OwnerElement) : (curNode.ParentNode)); 1088XmlNode? curNode1, curNode2; 1170XmlNode root1 = XPathNodePointer.GetRoot(curNode1, ref depth1); 1171XmlNode root2 = XPathNodePointer.GetRoot(curNode2, ref depth2); 1196XmlNode? parent1 = GetParent(curNode1!); 1197XmlNode? parent2 = GetParent(curNode2!); 1198XmlNode? nextNode; 1222internal XmlNode? Node 1247bool IXmlDataVirtualNode.IsOnNode(XmlNode nodeToCheck) 1259void IXmlDataVirtualNode.OnFoliated(XmlNode foliatedNode) 1280XmlNode? n; 1362XmlNode? node = _node; 1397XmlNode? node = _node; 1507XmlNode? node = _node; 1541XmlNode? node; 1562XmlNode? node = _node;
System.Private.DataContractSerialization (35)
System\Runtime\Serialization\DataContract.cs (3)
650"Xml.XmlNode[]" => typeof(XmlNode[]), 739else if (type == typeof(XmlElement) || type == typeof(XmlNode[])) 865dataContract = new XmlDataContract(typeof(XmlNode[]));
System\Runtime\Serialization\ExtensionDataObject.cs (2)
219private IList<XmlNode>? _xmlChildNodes; 233internal IList<XmlNode>? XmlChildNodes
System\Runtime\Serialization\Globals.cs (1)
314s_typeOfXmlNodeArray ??= typeof(XmlNode[]);
System\Runtime\Serialization\SchemaExporter.cs (2)
807appInfo.Markup = new XmlNode[1] { annotationElement }; 812private static XmlSchemaAnnotation? GetSchemaAnnotation(params XmlNode?[]? nodes)
System\Runtime\Serialization\SchemaImporter.cs (10)
1026XmlNode? emitDefaultValueAttribute = defaultValueElement.Attributes.GetNamedItem(Globals.EmitDefaultValueAttribute); 1038XmlNode? nameAttribute = actualTypeElement.Attributes.GetNamedItem(Globals.ActualTypeNameAttribute); 1041XmlNode? nsAttribute = actualTypeElement.Attributes.GetNamedItem(Globals.ActualTypeNamespaceAttribute); 1248foreach (XmlNode? xmlNode in appInfo.Markup) 1270foreach (XmlNode? xmlNode in appInfo.Markup) 1296foreach (XmlNode childNode in typeElement.ChildNodes) 1303XmlNode? nestedLevelAttribute = argumentElement.Attributes.GetNamedItem(Globals.GenericParameterNestedLevelAttribute); 1318XmlNode? typeNestedLevelsAttribute = typeElement.Attributes.GetNamedItem(Globals.GenericParameterNestedLevelAttribute); 1414XmlNode? child = xmlElement.FirstChild; 1431XmlNode?[]? markup = appInfo.Markup;
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (6)
907List<XmlNode>? xmlChildNodes = null; 929xmlChildNodes ??= new List<XmlNode>(); 952var xmlChildNodes = new List<XmlNode>(); 993XmlNode childNode = Document.ReadNode(xmlReader.UnderlyingReader)!; 1040internal XmlReaderDelegator CreateReaderOverChildNodes(IList<XmlAttribute>? xmlAttributes, IList<XmlNode> xmlChildNodes) 1049internal static XmlElement CreateWrapperXmlElement(XmlDocument document, IList<XmlAttribute>? xmlAttributes, IList<XmlNode>? xmlChildNodes, string? prefix, string? localName, string? ns)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (5)
494XmlNode[]? xmlNodes = obj as XmlNode[]; 496foreach (XmlNode xmlNode in xmlNodes) 834IList<XmlNode>? xmlChildNodes = dataNode.XmlChildNodes; 837foreach (XmlNode node in xmlChildNodes)
System\Runtime\Serialization\XmlSerializableServices.cs (6)
12public static XmlNode[] ReadNodes(XmlReader xmlReader) 17List<XmlNode> nodeList = new List<XmlNode>(); 24XmlNode? node = doc.ReadNode(xmlReader); 38XmlNode? node = doc.ReadNode(xmlReader); 55public static void WriteNodes(XmlWriter xmlWriter, XmlNode?[]? nodes)
System.Private.Xml (588)
System\Xml\Dom\DocumentSchemaValidator.cs (17)
40private XmlNode? _startNode; 41private XmlNode? _currentNode; 45private XmlNode?[]? _nodeSequenceToValidate; 85public bool Validate(XmlNode nodeToValidate) 174XmlNode? node = _startNode; 261private void ValidateNode(XmlNode node) 278for (XmlNode? child = node.FirstChild; child != null; child = child.NextSibling) 363for (XmlNode? child = elementNode.FirstChild; child != null; child = child.NextSibling) 488XmlNode currentNode = elementToValidate; 493XmlNode? parentNode = currentNode.ParentNode; 539_nodeSequenceToValidate = new XmlNode[4]; 543XmlNode[] newNodeSequence = new XmlNode[_nodeSequenceToValidate.Length * 2]; 587XmlNode node = _nodeSequenceToValidate![i]!; 717private void ValidateChildrenTillNextAncestor(XmlNode parentNode, XmlNode childToStopAt) 719XmlNode? child;
System\Xml\Dom\DocumentXmlWriter.cs (26)
58private readonly XmlNode _start; // context node 62private XmlNode? _write; // current node 63private readonly List<XmlNode> _fragment; // top level node cache 66private XmlNode? _end; // context for replace 68public DocumentXmlWriter(DocumentXmlWriterType type, XmlNode start, XmlDocument document) 75_fragment = new List<XmlNode>(); 108public XmlNode EndNode 121XmlNode node = _document.CreateXmlDeclaration("1.0", string.Empty, standalone == XmlStandalone.Yes ? "yes" : "no"); 131XmlNode node = _document.CreateXmlDeclaration(version!, encoding, standalone); 153XmlNode node = _document.CreateDocumentType(name, pubid, sysid, subset); 160XmlNode node = _document.CreateElement(prefix, localName, ns); 223XmlNode node = _document.CreateTextNode(string.Empty); 273XmlNode node = _document.CreateTextNode(string.Empty); 284XmlNode node = _document.CreateCDataSection(text); 292XmlNode node = _document.CreateComment(text); 300XmlNode node = _document.CreateProcessingInstruction(name, text!); 307XmlNode node = _document.CreateEntityReference(name); 323XmlNode node = _document.CreateWhitespace(text); 332XmlNode node = _document.CreateTextNode(text); 372XmlNode? parent = _start.ParentNode; 456XmlNode? parent = _start.ParentNode; 476XmlNode fragment0 = _fragment[0]; 506private void AddAttribute(XmlAttribute attr, XmlNode? parent) 524private void AddChild(XmlNode node, XmlNode? parent) 544XmlNode? parent = _start.ParentNode;
System\Xml\Dom\DocumentXPathNavigator.cs (123)
18private XmlNode _source; // navigator position 22public DocumentXPathNavigator(XmlDocument document, XmlNode node) 45XmlNode node = _source; 46XmlNode end; 205XmlNode? nextSibling = NextSibling(_source); 365XmlNode? node = _source; 707XmlNode? sibling = NextSibling(_source); 723XmlNode? parent = ParentNode(sibling); 739XmlNode? sibling = PreviousSibling(_source); 759XmlNode? parent = ParentNode(sibling); 782XmlNode? parent = ParentNode(_source); 787XmlNode? sibling = FirstChild(parent); 803XmlNode? child; 838XmlNode? parent = ParentNode(_source); 861XmlNode? parent = _source.ParentNode; 911XmlNode? child = FirstChild(_source); 937XmlNode? child = FirstChild(_source); 961XmlNode? pastFollowing = null; 981XmlNode? following = _source; 992XmlNode? firstChild = following.FirstChild; 1001XmlNode? nextSibling = following.NextSibling; 1009XmlNode? parent = following.ParentNode; 1036XmlNode? pastFollowing = null; 1061XmlNode? following = _source; 1080XmlNode? firstChild = following.FirstChild; 1089XmlNode? nextSibling = following.NextSibling; 1097XmlNode? parent = following.ParentNode; 1122XmlNode? sibling = NextSibling(_source); 1144XmlNode? sibling = NextSibling(_source); 1181XmlNode? child; 1277private static XmlNode? OwnerNode(XmlNode node) 1279XmlNode? parent = node.ParentNode; 1291private static int GetDepth(XmlNode node) 1294XmlNode? owner = OwnerNode(node); 1305private static XmlNodeOrder Compare(XmlNode node1, XmlNode node2) 1347XmlNode? nextNode = node1.NextSibling; 1380XmlNode? node1 = _source; 1381XmlNode? node2 = that._source; 1383XmlNode? parent1 = OwnerNode(node1); 1384XmlNode? parent2 = OwnerNode(node2); 1448XmlNode IHasXmlNode.GetNode() { return _source; } 1536XmlNode node = _source; 1606XmlNode node = _source; 1607XmlNode end = that._source; 1657XmlNode node = _source; 1658XmlNode end = that._source; 1670XmlNode? parent = OwnerNode(attribute); 1707XmlNode? parent = OwnerNode(node); 1718XmlNode node = _source; 1719XmlNode end = node; 1729XmlNode? parent = OwnerNode(attribute); 1776internal static void DeleteToFollowingSibling(XmlNode node, XmlNode end) 1778XmlNode? parent = node.ParentNode; 1792XmlNode temp = node; 1799private static XmlNamespaceManager GetNamespaceManager(XmlNode? node, XmlDocument document) 1831internal void ResetPosition(XmlNode node) 1889XmlNode? text = PreviousText(_source); 1897private XmlNode? ParentNode(XmlNode node) 1899XmlNode? parent = node.ParentNode; 1908private static XmlNode? ParentNodeTail(XmlNode? parent) 1918private XmlNode? FirstChild(XmlNode node) 1920XmlNode? child = node.FirstChild; 1929private static XmlNode? FirstChildTail(XmlNode? child) 1939private XmlNode? NextSibling(XmlNode node) 1941XmlNode? sibling = node.NextSibling; 1950private static XmlNode? NextSiblingTail(XmlNode node, XmlNode? sibling) 1952XmlNode? current = node; 1971private XmlNode? PreviousSibling(XmlNode node) 1973XmlNode? sibling = node.PreviousSibling; 1982private static XmlNode? PreviousSiblingTail(XmlNode node, XmlNode? sibling) 1984XmlNode? current = node; 2003private XmlNode? PreviousText(XmlNode node) 2005XmlNode? text = node.PreviousText; 2014private static XmlNode? PreviousTextTail(XmlNode node, XmlNode? text) 2024XmlNode? sibling = node.PreviousSibling; 2025XmlNode? current = node; 2055internal static bool IsFollowingSibling(XmlNode left, [NotNullWhen(true)] XmlNode? right) 2057XmlNode? currentLeft = left; 2073private static bool IsDescendant(XmlNode top, XmlNode bottom) 2077XmlNode? parent = bottom.ParentNode; 2099private static bool IsValidChild(XmlNode parent, XmlNode child) 2133private XmlNode TextStart(XmlNode node) 2135XmlNode start; 2136XmlNode? current = node; 2148private XmlNode TextEnd(XmlNode node) 2150XmlNode end; 2151XmlNode? current = node; 2198protected abstract bool Match(XmlNode node); 2242XmlNode node = (XmlNode)_nav.UnderlyingObject; 2257Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2268protected override bool Match(XmlNode node) 2294XmlNode node = (XmlNode)nav.UnderlyingObject; 2311Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2324protected override bool Match(XmlNode node) 2351XmlNode node = (XmlNode)nav.UnderlyingObject; 2369Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2389protected override bool Match(XmlNode node) 2418XmlNode node = (XmlNode)nav.UnderlyingObject;
System\Xml\Dom\XmlAttribute.cs (27)
51public override XmlNode CloneNode(bool deep) 62public override XmlNode? ParentNode 168internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc) 223public override XmlNode? InsertBefore(XmlNode newChild, XmlNode? refChild) 225XmlNode? node; 240public override XmlNode? InsertAfter(XmlNode newChild, XmlNode? refChild) 242XmlNode? node; 257public override XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) 259XmlNode node; 273public override XmlNode RemoveChild(XmlNode oldChild) 275XmlNode node; 289public override XmlNode? PrependChild(XmlNode newChild) 291XmlNode? node; 306public override XmlNode? AppendChild(XmlNode newChild) 308XmlNode? node; 356for (XmlNode? node = FirstChild; node != null; node = node.NextSibling) 372internal override void SetParent(XmlNode? node)
System\Xml\Dom\XmlAttributeCollection.cs (14)
13internal XmlAttributeCollection(XmlNode parent) : base(parent) 115public override XmlNode? SetNamedItem(XmlNode? node) 130XmlNode oldNode = base.RemoveNodeAt(offset); 295array[index] = (XmlAttribute)(((XmlNode)nodes[i]).CloneNode(true)); 298internal override XmlNode AddNode(XmlNode node) 302XmlNode retNode = base.AddNode(node); 308internal override XmlNode InsertNodeAt(int i, XmlNode node) 310XmlNode retNode = base.InsertNodeAt(i, node); 315internal override XmlNode RemoveNodeAt(int i) 318XmlNode retNode = base.RemoveNodeAt(i); 420XmlNode retNode = base.AddNode(node);
System\Xml\Dom\XmlCDataSection.cs (4)
44public override XmlNode? ParentNode 56XmlNode parent = parentNode.parentNode!; 70public override XmlNode CloneNode(bool deep) 104public override XmlNode? PreviousText
System\Xml\Dom\XmlCharacterData.cs (7)
55XmlNode? parent = ParentNode; 101XmlNode? parent = ParentNode; 119XmlNode? parent = ParentNode; 148XmlNode? parent = ParentNode; 176XmlNode? parent = ParentNode; 193internal static bool DecideXPNodeTypeForTextNodes(XmlNode node, ref XPathNodeType xnt) 200XmlNode? n = node;
System\Xml\Dom\XmlChildEnumerator.cs (4)
10internal XmlNode container; 11internal XmlNode? child; 14internal XmlChildEnumerator(XmlNode container) 55internal XmlNode Current
System\Xml\Dom\XmlChildNodes.cs (5)
10private readonly XmlNode _container; 12public XmlChildNodes(XmlNode container) 17public override XmlNode? Item(int i) 23for (XmlNode? n = _container.FirstChild; n != null; n = n.NextSibling, i--) 37for (XmlNode? n = _container.FirstChild; n != null; n = n.NextSibling)
System\Xml\Dom\XmlComment.cs (1)
35public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlDeclaration.cs (1)
158public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlDocument.cs (42)
345public override XmlNode CloneNode(bool deep) 361public override XmlNode? ParentNode 493private static bool HasNodeTypeInPrevSiblings(XmlNodeType nt, XmlNode? refNode) 498XmlNode? node = null; 514private static bool HasNodeTypeInNextSiblings(XmlNodeType nt, XmlNode? refNode) 516XmlNode? node = refNode; 526internal override bool CanInsertBefore(XmlNode newChild, XmlNode? refChild) 568internal override bool CanInsertAfter(XmlNode newChild, XmlNode? refChild) 759protected internal virtual XPathNavigator? CreateNavigator(XmlNode node) 762XmlNode? parent; 844private static XmlNode? NormalizeText(XmlNode node) 846XmlNode? retnode = null; 847XmlNode? n = node; 856XmlNode intnode = retnode; 952public virtual XmlNode ImportNode(XmlNode node, bool deep) 957private XmlNode ImportNodeInternal(XmlNode node, bool deep) 965XmlNode newNode; 1030private void ImportAttributes(XmlNode fromElem, XmlNode toElem) 1040private void ImportChildren(XmlNode fromNode, XmlNode toNode, bool deep) 1043for (XmlNode? n = fromNode.FirstChild; n != null; n = n.NextSibling) 1111public virtual XmlNode CreateNode(XmlNodeType type, string? prefix, string name, string? namespaceURI) 1167public virtual XmlNode CreateNode(string nodeTypeString, string name, string? namespaceURI) 1174public virtual XmlNode CreateNode(XmlNodeType type, string name, string? namespaceURI) 1181public virtual XmlNode? ReadNode(XmlReader reader) 1183XmlNode? node = null; 1435XmlNode? n = this.FirstChild; 1476foreach (XmlNode n in this) 1487public void Validate(ValidationEventHandler? validationEventHandler, XmlNode nodeToValidate) 1582internal override XmlNodeChangedEventArgs? GetEventArgs(XmlNode node, XmlNode? oldParent, XmlNode? newParent, string? oldValue, string? newValue, XmlNodeChangedAction action) 1610internal XmlNodeChangedEventArgs? GetInsertEventArgsForLoad(XmlNode node, XmlNode newParent) 1770internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc)
System\Xml\Dom\XmlDocumentFragment.cs (8)
75public override XmlNode? ParentNode 107public override XmlNode CloneNode(bool deep) 144XmlNode? firstNode = FirstChild; 153internal override bool CanInsertAfter(XmlNode newChild, XmlNode? refChild) 169internal override bool CanInsertBefore(XmlNode newChild, XmlNode? refChild) 188foreach (XmlNode n in this)
System\Xml\Dom\XmlDocumentType.cs (1)
59public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlElement.cs (10)
52public override XmlNode CloneNode(bool deep) 115public override XmlNode? ParentNode 138internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc) 456XmlNode root = e; 457XmlNode? n = e; 526for (XmlNode? node = FirstChild; node != null; node = node.NextSibling) 533public virtual XmlNode? RemoveAttributeAt(int i) 615public override XmlNode? NextSibling 627internal override void SetParent(XmlNode? node)
System\Xml\Dom\XmlElementList.cs (25)
17private readonly XmlNode _rootNode; 20private XmlNode _curElem; // if sets to rootNode, means the starting point for a new search round 27private XmlElementList(XmlNode parent) 70internal XmlElementList(XmlNode parent, string name) : this(parent) 81internal XmlElementList(XmlNode parent, string localName, string namespaceURI) : this(parent) 106private XmlNode? NextElemInPreOrder(XmlNode curNode) 110XmlNode? retNode = curNode.FirstChild; 133private XmlNode? PrevElemInPreOrder(XmlNode curNode) 138XmlNode? retNode = curNode.PreviousSibling; 158private bool IsMatch(XmlNode curNode) 181private XmlNode? GetMatchingNode(XmlNode n, bool bNext) 184XmlNode? node = n; 195private XmlNode? GetNthMatchingNode(XmlNode n, bool bNext, int nCount) 198XmlNode? node = n; 210public XmlNode? GetNextNode(XmlNode? n) 214XmlNode node = n ?? _rootNode; 218public override XmlNode? Item(int index) 232XmlNode? node; 254XmlNode? node = _rootNode; 303private XmlNode? _curElem;
System\Xml\Dom\XmlEntity.cs (1)
27public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlEntityReference.cs (4)
82public override XmlNode CloneNode(bool deep) 107internal override void SetParent(XmlNode? node) 118internal override void SetParentForLoad(XmlNode node) 161foreach (XmlNode n in this)
System\Xml\Dom\XmlLinkedNode.cs (6)
17public override XmlNode? PreviousSibling 21XmlNode? parent = ParentNode; 24XmlNode? node = parent.FirstChild; 27XmlNode? nextSibling = node.NextSibling; 44public override XmlNode? NextSibling 48XmlNode? parent = ParentNode;
System\Xml\Dom\XmlLoader.cs (18)
59XmlNode? node; 68internal XmlNode? ReadCurrentNode(XmlDocument doc, XmlReader reader) 85XmlNode n = LoadNode(true)!; 97private XmlNode? LoadNode(bool skipOverWhitespace) 100XmlNode? parent = null; 105XmlNode? node; 268XmlNode node; 320private void LoadAttributeValue(XmlNode parent, bool direct) 325XmlNode node; 365XmlNode? node = direct ? LoadNodeDirect() : LoadNode(false); 456private XmlNode? LoadNodeDirect() 459XmlNode? parent = null; 462XmlNode? node; 680private XmlParserContext GetContext(XmlNode? node) 746internal XmlNamespaceManager ParsePartialContent(XmlNode parentNode, string innerxmltext, XmlNodeType nt) 762XmlNode? node; 770XmlNode? node; 850XmlNode? child = elem.FirstChild;
System\Xml\Dom\XmlNamedNodemap.cs (30)
11internal XmlNode parent; 14internal XmlNamedNodeMap(XmlNode parent) 20public virtual XmlNode? GetNamedItem(string name) 24return (XmlNode)nodes[offset]; 30public virtual XmlNode? SetNamedItem(XmlNode? node) 48public virtual XmlNode? RemoveNamedItem(string name) 69public virtual XmlNode? Item(int index) 75return (XmlNode)nodes[index]; 88public virtual XmlNode? GetNamedItem(string localName, string? namespaceURI) 92return (XmlNode)nodes[offset]; 98public virtual XmlNode? RemoveNamedItem(string localName, string? namespaceURI) 119XmlNode node = (XmlNode)nodes[i]; 133XmlNode node = (XmlNode)nodes[i]; 142internal virtual XmlNode AddNode(XmlNode node) 144XmlNode? oldParent; 165internal virtual XmlNode AddNodeForLoad(XmlNode node, XmlDocument doc) 183internal virtual XmlNode RemoveNodeAt(int i) 185XmlNode oldNode = (XmlNode)nodes[i]; 202internal XmlNode ReplaceNodeAt(int i, XmlNode node) 204XmlNode oldNode = RemoveNodeAt(i); 209internal virtual XmlNode InsertNodeAt(int i, XmlNode node) 211XmlNode? oldParent;
System\Xml\Dom\XmlNode.cs (80)
21internal XmlNode? parentNode; //this pointer is reused to save the userdata information, need to prevent internal user access the pointer directly. 49public XmlNode? SelectSingleNode(string xpath) 65public XmlNode? SelectSingleNode(string xpath, XmlNamespaceManager nsmgr) 124public virtual XmlNode? ParentNode 164public virtual XmlNode? PreviousSibling 170public virtual XmlNode? NextSibling 195public virtual XmlNode? FirstChild 208public virtual XmlNode? LastChild 224internal bool AncestorNode(XmlNode node) 226XmlNode? n = this.ParentNode; 241XmlNode? parent = ParentNode; 248public virtual XmlNode? InsertBefore(XmlNode newChild, XmlNode? refChild) 278XmlNode? first = newChild.FirstChild; 279XmlNode? node = first; 362public virtual XmlNode? InsertAfter(XmlNode newChild, XmlNode? refChild) 392XmlNode last = refChild; 393XmlNode? first = newChild.FirstChild; 394XmlNode? node = first; 397XmlNode? next = node.NextSibling; 479public virtual XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) 481XmlNode? nextNode = oldChild.NextSibling; 488public virtual XmlNode RemoveChild(XmlNode oldChild) 574public virtual XmlNode? PrependChild(XmlNode newChild) 580public virtual XmlNode? AppendChild(XmlNode newChild) 598XmlNode? first = newChild.FirstChild; 599XmlNode? node = first; 602XmlNode? next = node.NextSibling; 656internal virtual XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc) 699internal virtual bool CanInsertBefore(XmlNode newChild, XmlNode? refChild) 704internal virtual bool CanInsertAfter(XmlNode newChild, XmlNode? refChild) 716public abstract XmlNode CloneNode(bool deep); 718internal virtual void CopyChildren(XmlDocument doc, XmlNode container, bool deep) 720for (XmlNode? child = container.FirstChild; child != null; child = child.NextSibling) 735XmlNode? firstChildTextLikeNode = null; 737for (XmlNode? crtChild = this.FirstChild; crtChild != null;) 739XmlNode? nextChild = crtChild.NextSibling; 747XmlNode? winner = NormalizeWinner(firstChildTextLikeNode, crtChild); 786private static XmlNode? NormalizeWinner(XmlNode? firstNode, XmlNode secondNode) 855internal static bool HasReadOnlyParent(XmlNode? n) 878public virtual XmlNode Clone() 902for (XmlNode? child = FirstChild; child != null; child = child.NextSibling) 923XmlNode? fc = FirstChild; 948XmlNode? firstChild = FirstChild; 1019XmlNode? curNode = this.ParentNode; //save one while loop since if going to here, the nodetype of this node can't be document, entity and entityref 1047XmlNode? child = FirstChild; 1048XmlNode? sibling; 1088XmlNode? node = this; 1173XmlNode? node = this; 1242for (XmlNode? n = FirstChild; n != null; n = n.NextSibling) 1258for (XmlNode? n = FirstChild; n != null; n = n.NextSibling) 1268internal virtual void SetParent(XmlNode? node) 1280internal virtual void SetParentForLoad(XmlNode node) 1300internal virtual XmlNode? FindChild(XmlNodeType type) 1302for (XmlNode? child = FirstChild; child != null; child = child.NextSibling) 1313internal virtual XmlNodeChangedEventArgs? GetEventArgs(XmlNode node, XmlNode? oldParent, XmlNode? newParent, string? oldValue, string? newValue, XmlNodeChangedAction action) 1346XmlNode? node = this; 1376XmlNode? node = this; 1423public virtual XmlNode? PreviousText 1431internal static void NestTextNodes(XmlNode prevNode, XmlNode nextNode) 1439internal static void UnnestTextNodes(XmlNode prevNode, XmlNode nextNode) 1452private readonly XmlNode _node; 1454public DebuggerDisplayXmlNodeProxy(XmlNode node)
System\Xml\Dom\XmlNodeChangedEventArgs.cs (9)
9private readonly XmlNode? _node; 10private readonly XmlNode? _oldParent; 11private readonly XmlNode? _newParent; 15public XmlNodeChangedEventArgs(XmlNode? node, XmlNode? oldParent, XmlNode? newParent, string? oldValue, string? newValue, XmlNodeChangedAction action) 27public XmlNode? Node { get { return _node; } } 29public XmlNode? OldParent { get { return _oldParent; } } 31public XmlNode? NewParent { get { return _newParent; } }
System\Xml\Dom\XmlNodeList.cs (2)
12public abstract XmlNode? Item(int index); 23public virtual XmlNode? this[int i] { get { return Item(i); } }
System\Xml\Dom\XmlNodeReader.cs (17)
17private XmlNode _curNode; 18private XmlNode? _elemNode; 19private XmlNode _logNode; 71public XmlNodeReaderNavigator(XmlNode node) 699_curNode = (XmlNode)attr; 708_curNode = (XmlNode)attr; 777XmlNode? parent = _curNode.ParentNode; 790XmlNode? firstChild = _curNode.FirstChild; 802private bool MoveToNextSibling(XmlNode node) 804XmlNode? nextSibling = node.NextSibling; 872XmlNode? node = _curNode; 940XmlNode? node = _curNode; 992XmlNode? node = _curNode; 1065XmlNode? firstChild = _curNode.FirstChild; 1077XmlNode? nextSibling; 1092XmlNode? parentNode = _curNode.ParentNode; 1143public XmlNodeReader(XmlNode node)
System\Xml\Dom\XmlNotation.cs (1)
42public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlProcessingInstruction.cs (2)
50XmlNode? parent = ParentNode; 80public override XmlNode CloneNode(bool deep)
System\Xml\Dom\XmlSignificantWhiteSpace.cs (4)
45public override XmlNode? ParentNode 57XmlNode parent = parentNode.parentNode!; 70public override XmlNode CloneNode(bool deep) 122public override XmlNode? PreviousText
System\Xml\Dom\XmlText.cs (6)
48public override XmlNode? ParentNode 60XmlNode parent = parentNode.parentNode!; 74public override XmlNode CloneNode(bool deep) 90XmlNode? parent = parentNode; 106XmlNode? parentNode = this.ParentNode; 149public override XmlNode? PreviousText
System\Xml\Dom\XmlUnspecifiedAttribute.cs (19)
22public override XmlNode CloneNode(bool deep) 41public override XmlNode? InsertBefore(XmlNode newChild, XmlNode? refChild) 43XmlNode? node = base.InsertBefore(newChild, refChild); 48public override XmlNode? InsertAfter(XmlNode newChild, XmlNode? refChild) 50XmlNode? node = base.InsertAfter(newChild, refChild); 55public override XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) 57XmlNode node = base.ReplaceChild(newChild, oldChild); 62public override XmlNode RemoveChild(XmlNode oldChild) 64XmlNode node = base.RemoveChild(oldChild); 69public override XmlNode? AppendChild(XmlNode newChild) 71XmlNode? node = base.AppendChild(newChild);
System\Xml\Dom\XmlWhitespace.cs (4)
46public override XmlNode? ParentNode 58XmlNode parent = parentNode.parentNode!; 86public override XmlNode CloneNode(bool deep) 122public override XmlNode? PreviousText
System\Xml\Dom\XPathNodeList.cs (5)
13private readonly List<XmlNode?> _list; 20_list = new List<XmlNode?>(); 36private static XmlNode? GetNode(XPathNavigator n) 50XmlNode? n = GetNode(_nodeIterator.Current); 66public override XmlNode? Item(int index)
System\Xml\IHasXmlNode.cs (1)
8XmlNode GetNode();
System\Xml\Schema\Parser.cs (4)
34private XmlNode? _parentNode; 243XmlNode?[] markup = new XmlNode[list.Count]; 272XmlNode? currentNode = null;
System\Xml\Schema\SchemaBuilder.cs (1)
11internal abstract void ProcessMarkup(XmlNode?[] markup);
System\Xml\Schema\XdrBuilder.cs (1)
561internal override void ProcessMarkup(XmlNode?[] markup)
System\Xml\Schema\XmlSchemaAppInfo.cs (2)
12private XmlNode?[]? _markup; 22public XmlNode?[]? Markup
System\Xml\Schema\XmlSchemaDocumentation.cs (2)
15private XmlNode?[]? _markup; 34public XmlNode?[]? Markup
System\Xml\Schema\XsdBuilder.cs (4)
670private XmlNode?[]? _markup; 774internal override void ProcessMarkup(XmlNode?[] markup) 2270builder._markup = Array.Empty<XmlNode>(); 2294builder._markup = Array.Empty<XmlNode>();
System\Xml\Serialization\_Events.cs (2)
121private readonly XmlNode _xmlNode; 126internal XmlNodeEventArgs(XmlNode xmlNode, int lineNumber, int linePosition, object? o)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (3)
314((XmlNode)o).WriteTo(Writer); 446if (o is XmlNode node) 892WriteXmlAttribute((XmlNode)memberValue, container);
System\Xml\Serialization\SchemaObjectWriter.cs (8)
523XmlNode?[]? a = (XmlNode?[]?)o.@Markup; 528XmlNode ai = (XmlNode)a[ia]!; 542XmlNode?[]? a = (XmlNode?[]?)o.@Markup; 547XmlNode ai = (XmlNode)a[ia]!;
System\Xml\Serialization\Types.cs (2)
585else if (type == typeof(XmlNode[])) 863else if (typeof(XmlNode).IsAssignableFrom(type))
System\Xml\Serialization\XmlReflectionImporter.cs (2)
1660Type targetType = typeof(IXmlSerializable).IsAssignableFrom(arrayElementType) ? arrayElementType : typeof(XmlNode).IsAssignableFrom(arrayElementType) ? arrayElementType : typeof(XmlElement); 1901Type targetType = typeof(IXmlSerializable).IsAssignableFrom(accessorType) ? accessorType : typeof(XmlNode).IsAssignableFrom(accessorType) ? accessorType : typeof(XmlElement);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
1194appinfo.Markup = new XmlNode[] { e };
System\Xml\Serialization\XmlSchemaImporter.cs (5)
1152textMapping.TypeDesc = Scope.GetTypeDesc(typeof(XmlNode)); 1174mapping.TypeDesc = Scope.GetTypeDesc(makeElement ? typeof(XmlElement) : typeof(XmlNode)); 1360mapping.TypeDesc = Scope.GetTypeDesc(mixed ? typeof(XmlNode) : typeof(XmlElement)); 1485XmlNode?[]? nodes = ((XmlSchemaAppInfo)o).Markup; 1488foreach (XmlNode? node in nodes)
System\Xml\Serialization\XmlSerializationReader.cs (8)
874XmlNode? n = ReadXmlNode(wrapped); 890protected XmlNode? ReadXmlNode(bool wrapped) 892XmlNode? node = null; 1230private void UnknownNode(XmlNode? unknownNode, object? o, string? qnames) 1863var xmlNodeList = new List<XmlNode>(); 1870XmlNode? unknownNode; 1934XmlNode xmlNode = Document.ReadNode(_r)!; 1946XmlNode[] childNodes = xmlNodeList.ToArray();
System\Xml\Serialization\XmlSerializationWriter.cs (12)
243else if (type == typeof(XmlNode[])) 369else if (typeof(XmlNode[]).IsAssignableFrom(t)) 376XmlNode[] xmlNodes = (XmlNode[])o; 758protected void WriteElementEncoded(XmlNode? node, string name, string? ns, bool isNullable, bool any) 768protected void WriteElementLiteral(XmlNode? node, string name, string? ns, bool isNullable, bool any) 778private void WriteElement(XmlNode node, string name, string? ns, bool isNullable, bool any) 919protected void WriteXmlAttribute(XmlNode node) 924protected void WriteXmlAttribute(XmlNode node, object? container) 1335if (Type.GetTypeCode(t) == TypeCode.Object && !(o is Guid) && (t != typeof(XmlQualifiedName)) && !(o is XmlNode[]) && (t != typeof(byte[]))) 4146Writer.Write(typeof(XmlNode).FullName); 4153WriteElementCall("WriteElementLiteral", typeof(XmlNode), source, name, ns, element.IsNullable, element.Any);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (7)
1384new Type[] { typeof(XmlNode), typeof(object) } 1733MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1738MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 1803MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1808MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 2054ilg.IsInst(typeof(XmlNode)); 2065WriteElementCall("WriteElementLiteral", typeof(XmlNode), source, name, ns, element.IsNullable, element.Any);
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\ImportGlobals.cs (1)
100internal static Type TypeOfXmlNodeArray => s_typeOfXmlNodeArray ??= typeof(XmlNode[]);
System\Runtime\Serialization\Schema\XsdDataContractImporter.cs (3)
370XmlNode? nameAttribute = actualTypeElement.Attributes.GetNamedItem(ImportGlobals.ActualTypeNameAttribute); 373XmlNode? nsAttribute = actualTypeElement.Attributes.GetNamedItem(ImportGlobals.ActualTypeNamespaceAttribute); 384XmlNode?[]? markup = appInfo.Markup;
System.Security.Cryptography.Xml (135)
System\Security\Cryptography\Xml\AttributeSortOrder.cs (4)
16XmlNode? nodeA = a as XmlNode; 17XmlNode? nodeB = b as XmlNode;
System\Security\Cryptography\Xml\CanonicalizationDispatcher.cs (6)
13public static void Write(XmlNode node, StringBuilder strBuilder, DocPosition docPos, AncestralNamespaceContextManager anc) 25public static void WriteGenericNode(XmlNode node, StringBuilder strBuilder, DocPosition docPos, AncestralNamespaceContextManager anc) 33foreach (XmlNode childNode in childNodes) 39public static void WriteHash(XmlNode node, HashAlgorithm hash, DocPosition docPos, AncestralNamespaceContextManager anc) 51public static void WriteHashGenericNode(XmlNode node, HashAlgorithm hash, DocPosition docPos, AncestralNamespaceContextManager anc) 59foreach (XmlNode childNode in childNodes)
System\Security\Cryptography\Xml\CanonicalXml.cs (5)
61private static void MarkNodeAsIncluded(XmlNode node) 77XmlNode currentNode = (XmlNode)elementList[index]!; 78XmlNode currentNodeCanonical = (XmlNode)elementListCanonical[index]!;
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (2)
33foreach (XmlNode childNode in ChildNodes) 50foreach (XmlNode childNode in ChildNodes)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
85foreach (XmlNode childNode in childNodes) 158foreach (XmlNode childNode in childNodes)
System\Security\Cryptography\Xml\CanonicalXmlNodeList.cs (5)
18public override XmlNode Item(int index) 20return (XmlNode)_nodeArray[index]!; 36if (!(value is XmlNode)) 58if (!(value is XmlNode)) 88if (!(value is XmlNode))
System\Security\Cryptography\Xml\CipherData.cs (2)
109XmlNode? cipherValueNode = value.SelectSingleNode("enc:CipherValue", nsm); 110XmlNode? cipherReferenceNode = value.SelectSingleNode("enc:CipherReference", nsm);
System\Security\Cryptography\Xml\CipherReference.cs (1)
85XmlNode? transformsNode = value.SelectSingleNode("enc:Transforms", nsm);
System\Security\Cryptography\Xml\DataObject.cs (3)
86foreach (XmlNode node in value) 129foreach (XmlNode node in _elData) 149foreach (XmlNode node in value.ChildNodes)
System\Security\Cryptography\Xml\DSAKeyValue.cs (8)
171XmlNode? dsaKeyValueElement = value.SelectSingleNode($"{xmlDsigNamespacePrefix}:{DSAKeyValueElementName}", xmlNamespaceManager); 177XmlNode? yNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{YElementName}", xmlNamespaceManager); 181XmlNode? pNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{PElementName}", xmlNamespaceManager); 182XmlNode? qNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{QElementName}", xmlNamespaceManager); 188XmlNode? gNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{GElementName}", xmlNamespaceManager); 189XmlNode? jNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{JElementName}", xmlNamespaceManager); 191XmlNode? seedNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{SeedElementName}", xmlNamespaceManager); 192XmlNode? pgenCounterNode = dsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{PgenCounterElementName}", xmlNamespaceManager);
System\Security\Cryptography\Xml\EncryptedData.cs (5)
29XmlNode? encryptionMethodNode = value.SelectSingleNode("enc:EncryptionMethod", nsm); 38XmlNode? keyInfoNode = value.SelectSingleNode("ds:KeyInfo", nsm); 43XmlNode? cipherDataNode = value.SelectSingleNode("enc:CipherData", nsm); 51XmlNode? encryptionPropertiesNode = value.SelectSingleNode("enc:EncryptionProperties", nsm); 58foreach (XmlNode node in encryptionPropertyNodes)
System\Security\Cryptography\Xml\EncryptedKey.cs (9)
69XmlNode? encryptionMethodNode = value.SelectSingleNode("enc:EncryptionMethod", nsm); 78XmlNode? keyInfoNode = value.SelectSingleNode("ds:KeyInfo", nsm); 83XmlNode? cipherDataNode = value.SelectSingleNode("enc:CipherData", nsm); 91XmlNode? encryptionPropertiesNode = value.SelectSingleNode("enc:EncryptionProperties", nsm); 98foreach (XmlNode node in encryptionPropertyNodes) 108XmlNode? carriedKeyNameNode = value.SelectSingleNode("enc:CarriedKeyName", nsm); 115XmlNode? referenceListNode = value.SelectSingleNode("enc:ReferenceList", nsm); 122foreach (XmlNode node in dataReferenceNodes) 133foreach (XmlNode node in keyReferenceNodes)
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
124XmlNode? transformsNode = value.SelectSingleNode("ds:Transforms", nsm);
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
340foreach (XmlNode encryptedKeyNode in encryptedKeyList) 684foreach (XmlNode encryptedDataNode in encryptedDataList) 824XmlNode parent = inputElement.ParentNode!; 842XmlNode importedNode = inputElement.OwnerDocument.ImportNode(importDocument.DocumentElement!, true); 849XmlNode dummy = parent.OwnerDocument!.CreateElement(parent.Prefix, parent.LocalName, parent.NamespaceURI); 860XmlNode? child = dummy.FirstChild; 861XmlNode? sibling = inputElement.NextSibling; 863XmlNode? nextChild = null; 909XmlNode parentNode = inputElement.ParentNode!;
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
95XmlNode? keySizeNode = value.SelectSingleNode("enc:KeySize", nsm);
System\Security\Cryptography\Xml\ExcCanonicalXml.cs (5)
87XmlNode currentNode = (XmlNode)elementList[index]!; 88XmlNode currentNodeCanonical = (XmlNode)elementListCanonical[index]!; 117private static void MarkNodeAsIncluded(XmlNode node)
System\Security\Cryptography\Xml\KeyInfo.cs (2)
75XmlNode? child = keyInfoElement.FirstChild; 91foreach (XmlNode node2 in nodeList2)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (6)
298foreach (XmlNode issuerSerialNode in x509IssuerSerialNodes) 300XmlNode? x509IssuerNameNode = issuerSerialNode.SelectSingleNode("ds:X509IssuerName", nsm); 301XmlNode? x509SerialNumberNode = issuerSerialNode.SelectSingleNode("ds:X509SerialNumber", nsm); 307foreach (XmlNode node in x509SKINodes) 312foreach (XmlNode node in x509SubjectNameNodes) 317foreach (XmlNode node in x509CertificateNodes)
System\Security\Cryptography\Xml\NamespaceSortOrder.cs (4)
15XmlNode? nodeA = a as XmlNode; 16XmlNode? nodeB = b as XmlNode;
System\Security\Cryptography\Xml\Reference.cs (5)
252foreach (XmlNode transformNode in transformNodes) 273XmlNode? signatureTag = transformElement.SelectSingleNode("ancestor::ds:Signature[1]", nsm); 277XmlNode? referenceTarget = null; 299foreach (XmlNode node in signatureList) 436foreach (XmlNode node in refList)
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
126XmlNode? rsaKeyValueElement = value.SelectSingleNode($"{xmlDsigNamespacePrefix}:{RSAKeyValueElementName}", xmlNamespaceManager);
System\Security\Cryptography\Xml\Signature.cs (3)
185foreach (XmlNode node in keyInfoNodes) 199foreach (XmlNode node in objectNodes) 216foreach (XmlNode node in nodeList)
System\Security\Cryptography\Xml\SignedInfo.cs (1)
265foreach (XmlNode node in referenceNodes)
System\Security\Cryptography\Xml\Transform.cs (2)
136foreach (XmlNode node in children) 212foreach (XmlNode attrib in namespaces)
System\Security\Cryptography\Xml\Utils.cs (22)
53XmlNode? ancestorNode = ((XmlNode)element).ParentNode; 101internal static bool IsNamespaceNode(XmlNode n) 106internal static bool IsXmlNamespaceNode(XmlNode n) 112internal static bool IsDefaultNamespaceNode(XmlNode n) 119internal static bool IsEmptyDefaultNamespaceNode(XmlNode n) 249foreach (XmlNode node1 in nodeList) 257internal static XmlNodeList AllDescendantNodes(XmlNode node, bool includeComments) 269XmlNode rootNode = (XmlNode)elementList[index]!; 274foreach (XmlNode node1 in childNodes) 286foreach (XmlNode attribNode in rootNode.Attributes!) 296foreach (XmlNode elementNode in elementList) 300foreach (XmlNode attribNode in attribList) 304foreach (XmlNode namespaceNode in namespaceList) 312internal static bool NodeInList(XmlNode? node, XmlNodeList nodeList) 314foreach (XmlNode nodeElem in nodeList) 363XmlNode? child = inputElement.FirstChild; 364XmlNode? sibling; 462foreach (XmlNode node in nodeList) 474foreach (XmlNode attrib in namespaces) 507XmlNode? ancestorNode = elem;
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (10)
94foreach (XmlNode node in nodeList) 180XmlNode parent = encryptedDataElement.ParentNode!; 225foreach (XmlNode value in encryptedDatas) 229XmlNode? node = encryptedDatasQueue.Dequeue() as XmlNode; 236XmlNode sibling = encryptedDataElement.NextSibling!; 237XmlNode parent = encryptedDataElement.ParentNode!; 241XmlNode? child = parent.FirstChild; 249foreach (XmlNode value in nodes) 259node = encryptedDatasQueue.Dequeue() as XmlNode;
System\Security\Cryptography\Xml\XmlDsigBase64Transform.cs (2)
94foreach (XmlNode node in nodeList) 96XmlNode? result = node.SelectSingleNode("self::text()");
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (3)
134foreach (XmlNode? node in _inputNodeList) 148XmlNode result = node.SelectSingleNode("ancestor-or-self::dsig:Signature[1]", _nsm!)!; 150foreach (XmlNode node1 in signatureList)
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (1)
50foreach (XmlNode n in nodeList)
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (3)
41foreach (XmlNode node in nodeList) 172XmlNode node = ((IHasXmlNode)it.Current!).GetNode(); 183XmlNode node = ((IHasXmlNode)it.Current!).GetNode();
System\Security\Cryptography\Xml\XmlDsigXsltTransform.cs (1)
56foreach (XmlNode node in nodeList)
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
144XmlNode? signatureNode;
System.ServiceModel.Primitives (7)
System\IdentityModel\Tokens\GenericXmlSecurityKeyIdentifierClause.cs (2)
41private bool CompareNodes(XmlNode originalNode, XmlNode newNode)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
1175(!isArray && typeof(IEnumerable).IsAssignableFrom(member.MemberType) && member.MemberType != typeof(string) && !typeof(XmlNode).IsAssignableFrom(member.MemberType) && !typeof(IXmlSerializable).IsAssignableFrom(member.MemberType)))
System\ServiceModel\Security\WSSecureConversation.cs (1)
332foreach (XmlNode node in issuedTokenXml.ChildNodes)
System\ServiceModel\Security\XmlHelper.cs (3)
58XmlNode child = parent.ChildNodes[i]; 90XmlNode child = parent.ChildNodes[i]; 214internal static void OnUnexpectedChildNodeError(XmlElement parent, XmlNode n)
System.Web.Services.Description (110)
System\Web\Services\Description\ServiceDescription.cs (2)
385XmlNode child = documentation.FirstChild; 388XmlNode sibling = child.NextSibling;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (108)
50if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 51WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 60if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 61WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 146if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 147WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 156if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 157WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 210if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 211WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 233if ((elem) is System.Xml.XmlNode || elem == null) { 234WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 376if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 377WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 399if ((elem) is System.Xml.XmlNode || elem == null) { 400WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 459if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 460WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 482if ((elem) is System.Xml.XmlNode || elem == null) { 483WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 544if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 545WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 564if ((elem) is System.Xml.XmlNode || elem == null) { 565WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 710if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 711WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 748if ((elem) is System.Xml.XmlNode || elem == null) { 749WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 853if ((elem) is System.Xml.XmlNode || elem == null) { 854WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 1290if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1291WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1334if ((elem) is System.Xml.XmlNode || elem == null) { 1335WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 1659if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1660WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1669if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1670WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 1725if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1726WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1735if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1736WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 1810if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1811WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1820if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1821WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 1866if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1867WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1876if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1877WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 1922if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1923WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1932if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1933WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 1977if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 1978WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 1987if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 1988WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 2042if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 2043WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 2052if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 2053WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 2096if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 2097WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 2106if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 2107WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 2325global::System.Xml.XmlNode[] a = (global::System.Xml.XmlNode[])o.@Markup; 2328global::System.Xml.XmlNode ai = (global::System.Xml.XmlNode)a[ia]; 2332if ((elem) is System.Xml.XmlNode || elem == null) { 2333WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 2339else if (ai is global::System.Xml.XmlNode) { 2340((global::System.Xml.XmlNode)ai).WriteTo(Writer); 2380global::System.Xml.XmlNode[] a = (global::System.Xml.XmlNode[])o.@Markup; 2383global::System.Xml.XmlNode ai = (global::System.Xml.XmlNode)a[ia]; 2387if ((elem) is System.Xml.XmlNode || elem == null) { 2388WriteElementLiteral((System.Xml.XmlNode)elem, @"", null, false, true); 2394else if (ai is global::System.Xml.XmlNode) { 2395((global::System.Xml.XmlNode)ai).WriteTo(Writer); 4795if ((o.@DocumentationElement) is System.Xml.XmlNode || o.@DocumentationElement == null) { 4796WriteElementLiteral((System.Xml.XmlNode)o.@DocumentationElement, @"documentation", @"http://schemas.xmlsoap.org/wsdl/", false, true); 4805if ((a[ia]) is System.Xml.XmlNode || a[ia] == null) { 4806WriteElementLiteral((System.Xml.XmlNode)a[ia], @"", null, false, true); 8827global::System.Xml.XmlNode[] a_2 = null; 8848o.@Markup = (global::System.Xml.XmlNode[])ShrinkArray(a_2, ca_2, typeof(global::System.Xml.XmlNode), true); 8857a_2 = (global::System.Xml.XmlNode[])EnsureArrayIndex(a_2, ca_2, typeof(global::System.Xml.XmlNode)); a_2[ca_2++] = (global::System.Xml.XmlNode)ReadXmlNode(false); 8863a_2 = (global::System.Xml.XmlNode[])EnsureArrayIndex(a_2, ca_2, typeof(global::System.Xml.XmlNode)); a_2[ca_2++] = (global::System.Xml.XmlNode)Document.CreateTextNode(Reader.ReadString()); 8871o.@Markup = (global::System.Xml.XmlNode[])ShrinkArray(a_2, ca_2, typeof(global::System.Xml.XmlNode), true); 8900global::System.Xml.XmlNode[] a_3 = null; 8925o.@Markup = (global::System.Xml.XmlNode[])ShrinkArray(a_3, ca_3, typeof(global::System.Xml.XmlNode), true); 8934a_3 = (global::System.Xml.XmlNode[])EnsureArrayIndex(a_3, ca_3, typeof(global::System.Xml.XmlNode)); a_3[ca_3++] = (global::System.Xml.XmlNode)ReadXmlNode(false); 8940a_3 = (global::System.Xml.XmlNode[])EnsureArrayIndex(a_3, ca_3, typeof(global::System.Xml.XmlNode)); a_3[ca_3++] = (global::System.Xml.XmlNode)Document.CreateTextNode(Reader.ReadString()); 8948o.@Markup = (global::System.Xml.XmlNode[])ShrinkArray(a_3, ca_3, typeof(global::System.Xml.XmlNode), true);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
1467bool useXml = item is XmlNode; 1506XmlNode node = item as XmlNode;
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
949return item is XmlNode;
System.Xml (1)
System.Xml.cs (1)
212[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNode))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net9.0\System.Xml.ReaderWriter.Forwards.cs (1)
140[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNode))]
System.Xml.XmlDocument (1)
System.Xml.XmlDocument.cs (1)
16[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNode))]
WasmBuildTasks (2)
UpdateChromeVersions.cs (2)
121XmlNode? node = xmlDoc.SelectSingleNode($"/Project/PropertyGroup/{nodeName}"); 171XmlNode? node = xmlDoc.SelectSingleNode($"/Project/PropertyGroup/{nodeName}");