dotnet / dotnet/dotnet-api-docs

Missing information: Can Exception.Data be null?

Open
#4,045 0 comments 1 reaction 0 assignees View on GitHub
area-System.Runtime discussion Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

In the old .NET Framework 4 offline help in Visual Studio, the documentation for the property `Exception.Data` contained the following note:

> The `ExecutionEngineException`, `OutOfMemoryException`, `StackOverflowException` and `ThreadAbortException` classes always return **null** for the value of the **Data** property.

This note apparently never made it into the new documentation structure in this repository. I checked the initial checkin for the file `xml/System/Exception.xml` (commit cd8c56990ee) and it doesn't include the note.

So the question is: Was this a deliberate decision (e.g. because the note was not true)? Or was the note simply forgotten and should still be in the documentation?

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.