Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more interceptors tests #68462

Merged
merged 7 commits into from
Jun 12, 2023
Merged

Conversation

RikkiGibson
Copy link
Contributor

@RikkiGibson RikkiGibson commented Jun 6, 2023

Test plan: #67421

Added error when using UnmanagedCallersOnly on an interceptor.
Added warnings when tuple names differ between original and interceptor methods.
Added other misc tests.
Pack errors

The remaining prototype comments are either addressed or moved to the test plan under the relevant items. For example, the prototype comment in MemberSignatureComparer will likely be impacted when we make the generics changes for .NET 8, so I moved it to under a generics bullet in the test plan.

May be a good idea to review d47ca0d standalone as it is just a mechanical packing of the error codes.

@RikkiGibson RikkiGibson marked this pull request as ready for review June 9, 2023 21:31
@RikkiGibson RikkiGibson requested a review from a team as a code owner June 9, 2023 21:31
@RikkiGibson RikkiGibson marked this pull request as draft June 9, 2023 21:39
@RikkiGibson

This comment was marked as resolved.

@jcouv jcouv self-assigned this Jun 9, 2023
@RikkiGibson RikkiGibson marked this pull request as ready for review June 9, 2023 22:24
@RikkiGibson RikkiGibson requested a review from a team as a code owner June 9, 2023 22:24
@RikkiGibson RikkiGibson requested review from cston and jcouv and removed request for a team June 9, 2023 22:24
C.M(); // 1

class C
{
Copy link
Member

@jcouv jcouv Jun 12, 2023

Choose a reason for hiding this comment

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

nit: unnecessary blank line below #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed, thanks.

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

Done with review pass (iteration 6)

@RikkiGibson RikkiGibson requested a review from jcouv June 12, 2023 19:20
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 7)

@jcouv jcouv added this to the C# 12.0 milestone Jun 12, 2023
@RikkiGibson RikkiGibson merged commit 168b475 into dotnet:features/interceptors Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants