Skip to content

Simple ComWrappers APIs#120114

Merged
rcj1 merged 27 commits intodotnet:mainfrom
rcj1:comwrappers
Feb 19, 2026
Merged

Simple ComWrappers APIs#120114
rcj1 merged 27 commits intodotnet:mainfrom
rcj1:comwrappers

Conversation

@rcj1
Copy link
Contributor

@rcj1 rcj1 commented Sep 25, 2025

  • Adding GetComWrappersCCWData, IsComWrappersCCW, and IsComWrappersRCW cDAC APIs

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 pull request implements cDAC (Contract-based Data Access Component) APIs for simple ComWrappers functionality. The main purpose is to add three new cDAC APIs: GetComWrappersCCWData, IsComWrappersCCW, and IsComWrappersRCW, while also fixing a DAC bug on ARM architecture and renaming GetPrimitiveType to GetBinderType for broader use.

Key changes include:

  • Implementation of three new ComWrappers cDAC APIs with full functionality
  • ARM DAC bug fix by removing incorrect thumb code clearing
  • Renaming and broadening the scope of type lookup functionality

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
SOSDacImpl.cs Implements the three new ComWrappers cDAC APIs and updates method name usage
ManagedObjectWrapperLayout.cs New data contract for managed object wrapper reference count
ManagedObjectWrapperHolderObject.cs New data contract for managed object wrapper holder
SignatureTypeProvider.cs Updates method call to use new GetBinderType name
RuntimeTypeSystem_1.cs Renames GetPrimitiveType to GetBinderType for broader usage
ComWrappers_1.cs Implements core ComWrappers contract functionality
Constants.cs Adds global constants for ComWrappers functionality
DataType.cs Adds new data types for managed object wrapper contracts
IRuntimeTypeSystem.cs Updates interface to use GetBinderType instead of GetPrimitiveType
IComWrappers.cs Adds new method signatures to ComWrappers interface
interoplibinterface_comwrappers.h Adds cdac_data template specialization for ManagedObjectWrapperHolderObject
datadescriptor.inc Adds new data type definitions and global variables
datadescriptor.h Includes ComWrappers header for feature support
appdomain.cpp Caches NativeObjectWrapper method table for cDAC usage
interoplibabi.h Adds cdac_data template specialization for ManagedObjectWrapperLayout
comwrappers.hpp Adds forward declarations for QueryInterface methods
request.cpp Fixes ARM DAC bug by removing thumb code clearing
SignatureDecoder.md Updates documentation to reflect GetBinderType rename
ComWrappers.md Updates documentation with new API definitions and implementation details

@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 11.0.0 milestone Oct 2, 2025
Copilot AI review requested due to automatic review settings February 18, 2026 23:08
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

Copilot reviewed 30 out of 30 changed files in this pull request and generated 7 comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 00:04
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

Copilot reviewed 30 out of 30 changed files in this pull request and generated 2 comments.

Copy link
Member

@jkoritzinsky jkoritzinsky left a comment

Choose a reason for hiding this comment

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

Looking good! Just one more thing and then its good!

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 00:42
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

Copilot reviewed 30 out of 30 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings February 19, 2026 02:36
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

Copilot reviewed 30 out of 30 changed files in this pull request and generated 1 comment.

rcj1 and others added 2 commits February 18, 2026 19:19
…er.Legacy/SOSDacImpl.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 19, 2026 03:21
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

Copilot reviewed 30 out of 30 changed files in this pull request and generated 4 comments.

@rcj1 rcj1 merged commit 1774582 into dotnet:main Feb 19, 2026
109 of 113 checks passed
@rcj1 rcj1 deleted the comwrappers branch February 19, 2026 07:05
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.

5 participants

Comments