dotnet / dotnet/dotnet-api-docs

What happens if the given node is null?

Open
#1,580 0 comments 0 reactions 0 assignees View on GitHub
area-System.Xml dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Will it throw a NullReferenceException or just do nothing and return?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 1f419e22-0fd3-8488-57a3-a20969d1d128
* Version Independent ID: dfe2e3e3-8550-a5b6-e12b-c4e8cbca5559
* Content: [XmlNode.RemoveChild(XmlNode) Method (System.Xml)](https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmlnode.removechild?redirectedfrom=MSDN&view=netframework-4.7.2#System_Xml_XmlNode_RemoveChild_System_Xml_XmlNode_)
* Content Source: [xml/System.Xml/XmlNode.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Xml/XmlNode.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.