Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

Updated remarks to clarify COM object casting behavior in .NET versions.

See dotnet/runtime#121635 and dotnet/docs#49921

Updated remarks to clarify COM object casting behavior in .NET versions.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation for the IReflect interface to clarify how COM object casting behavior has changed across different versions of .NET, addressing issues raised in the linked GitHub discussions.

  • Adds version-specific guidance for .NET 10, .NET 5-9, and .NET Framework
  • Clarifies that COM casting to IReflect is no longer supported in .NET 10
  • Retains original .NET Framework behavior documentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@AaronRobinsonMSFT
Copy link
Member Author

/cc @ClearScriptLib

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting/wording suggestion.

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 9894846 into main Nov 17, 2025
6 checks passed
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the AaronRobinsonMSFT-patch-1 branch November 17, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants