dotnet / dotnet/dotnet-api-docs

References to DBNull.Value are confusing

Open
#9,437 1 comment 0 reactions 0 assignees View on GitHub
area-System.Reflection doc-enhancement Pri3
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

i.e. https://learn.microsoft.com/en-us/dotnet/api/system.reflection.parameterinfo.defaultvalue?view=net-7.0
> The default value of the parameter, or Value if the parameter has no default value.

Here Value refers to `DBNull.Value`, but it's very confusing without following the link.

Related https://github.com/dotnet/dotnet-api-docs/pull/9080

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.