dotnet / dotnet/dotnet-api-docs
Document when XmlNode.SelectNodes() can return null
Open
area-System.Xml
Pri3
untriaged
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Intellisense warns me `XmlNode.SelectNodes()` may return null. I was interested in what circumstances that happens in - but there doesn't seem to be any mention of this method returning null in the docs.
Google seems to suggest it can happen in various unusual situations, but the information seems to be sparse. ([link](https://social.msdn.microsoft.com/Forums/en-US/ae0e751f-5220-4bde-8c3c-0f507403159b/selectnodes-return-null?forum=xmlandnetfx)).
Could this be documented? (If it's not instead an Intellisense error instead, of course!)
Contributor guide
Assessment
This issue has not been assessed yet.