dotnet / dotnet/dotnet-api-docs

Type.DefinedTypes inherits the semantics of Type.GetTypes() - how should this be called out?

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

Description

In particular, it throws `ReflectionTypeLoadException` if some of the types cannot be loaded, but the docs don't call that out. What is the preferred way to note that a particular member effectively wraps another, and that readers of the documentation should refer to the second member for detailed information? Should the info be copied from `Type.GetTypes()` to `Type.DefinedTypes` (effectively duplicating it)?

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.