Skip to content

System.Numerics docs for .NET 10.0 APIs #120500

Open

Description

@ericstj

System.Numerics docs for .NET 10.0 APIs

Description

This issue tracks the porting of documentation for 187 APIs in the System.Numerics namespace that were added in .NET 10.0.

Instructions

Please follow the instructions in the main tracking issue (#120483) for documenting these APIs.

Undocumented APIs

The following APIs need documentation:

This namespace has been split into multiple comments below due to GitHub's size limits. Please see the individual class comments for the complete API list.

Total APIs to document: 187

Activity

  1. ericstj commented on Oct 7, 2025

    @ericstj
    MemberAuthor
  2. ericstj commented on Oct 7, 2025

    @ericstj
    MemberAuthor

    Vector

  3. ericstj commented on Oct 7, 2025

    @ericstj
    MemberAuthor

    Vector2

  4. ericstj commented on Oct 7, 2025

    @ericstj
    MemberAuthor

    Vector3

  5. ericstj commented on Oct 7, 2025

    @ericstj
    MemberAuthor

    Vector4

  6. added
    untriaged
    on Oct 7, 2025
  7. added
    needs-area-label
    on Oct 7, 2025
  8. MihuBot commented on Oct 7, 2025

    @MihuBot

    I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):

  9. added and removed
    needs-area-label
    on Oct 8, 2025
  10. dotnet-policy-service commented on Oct 8, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/area-system-numerics
    See info in area-owners.md if you want to be subscribed.

  11. added this to the 10.0.0 milestone on Oct 9, 2025
  12. added
    documentation
    and removed
    untriaged
    on Oct 9, 2025
  13. tannergooding commented on Oct 13, 2025

    @tannergooding
    Member

    @ericstj this looks like a tooling issue?

    Most, if not all, of these have inheritdoc tags in the source.

  14. ericstj commented on Oct 14, 2025

    @ericstj
    MemberAuthor

    Did you check if they were actually documented on learn.microsoft.com? If not, then its still an issue. Our customers can't follow inheritdoc tags.

    I spot checked one of them and it looks there is an inheritance cycle:
    https://github.com/dotnet/dotnet-api-docs/blob/3260f8442b354d78766b4564c10e7f13a7abaf21/xml/System.Runtime.Intrinsics/Vector128.xml#L12437
    https://github.com/dotnet/dotnet-api-docs/blob/3260f8442b354d78766b4564c10e7f13a7abaf21/xml/System.Runtime.Intrinsics/Vector64.xml#L10889

    This seems to have been introduced in dotnet/dotnet-api-docs@7c766c4

    I noticed this when tracing from Vector4.Truncate method.

    I did trace a few others where they looked correct in the XML, but the docs were still not showing the inherited information. Maybe when there is more than one hop it's not honored? If that's the case, do you think it would make sense for you to normalize all your references to treat a single location as the source and have all the docs inherit from there with a single inheritance (EG make 128 the source of truth and have Vector, Vector2, Vector3, Vector4, Vector64 all point there)? @gewarren does this sound like any known issue you are aware of?

  15. tannergooding commented on Oct 14, 2025

    @tannergooding
    Member

    The source C# files have correct entries and this is all working as expected in VS itself (or other tools that directly consume the Roslyn emitted xml output).

    Any cycles or inheritdoc issues here would be a tooling issue in how we port the xml “source” or on the dotnet-api-docs side.

    We should look at fixing such issues to ensure that our docs work with what is officially supported by the language functionality and tools that consume what Roslyn emits

  16. gewarren commented on Oct 14, 2025

    @gewarren
    Contributor

    Yes, agree with Tanner. This is a known issue in the Learn tooling. cc @kexugit

  17. ericstj commented on Oct 14, 2025

    @ericstj
    MemberAuthor

    Any cycles or inheritdoc issues here would be a tooling issue in how we port the xml “source” or on the dotnet-api-docs side.

    It looked to me like you introduced that cycle when you made this change @tannergooding -- dotnet/dotnet-api-docs@7c766c4

    If you'd like to try to overwrite what's currently in dotnet-api-docs with what you currently have in /// I think you can do that. Have a look at https://github.com/dotnet/api-docs-sync. The regular processes we have for source porting is not going to fix this since the inheritance was already ported once and the tooling doesn't overwrite what's there -- once it's committed the source of truth is dotnet-api-docs.

    Yes, agree with Tanner. This is a known issue in the Learn tooling. cc @kexugit

    Known issue, but still customers don't have the docs. I bet you could workaround it if you took a systematic approach to adjusting the inheritdoc links. Your call here if you want to do a little bit of extra work to get that fixed in .NET 10. It might make the source easier to maintain too if you had a consistent answer for what to link to for inheritdoc. For instance -- designate Vector128 as the type that's documented and have every other one inherit directly from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Numericsdocumentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions