Skip to content

Clarify which BCL types have automatic xref resolution #10912

@glopesdev

Description

@glopesdev

I was really surprised to find out that System.UInt32 does not resolve automatically, whereas System.String, System.Boolean and System.Int32 all resolve without the need for the xrefmap.

Therefore, the below documentation note requires more clarification to help understand exactly which types might require xrefmap resolution:

> For API reference documentations, docfx automatically resolves .NET base class library types and other types published to <https://learn.microsoft.com> by default, without cross reference map.

To reproduce, set the below reference style links in any markdown file and note that UInt32 fails to resolve without an explicit reference to the .xrefmap.json file from learn:

[`Boolean`]: xref:System.Boolean
[`String`]: xref:System.String
[`Int32`]: xref:System.UInt32
[`UInt32`]: xref:System.UInt32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions