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

C# 13: [TEST ONLY] ref structs are allowed to implement interfaces. #18495

Merged

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Jan 15, 2025

ref struct types are now allowed to implement interfaces as described here.
In this PR we add some tests for this. Some testing of data flow and viable callable was already made in #18385

@github-actions github-actions bot added the C# label Jan 15, 2025
@michaelnebel michaelnebel force-pushed the csharp/refstrucinterfacetests branch from 4d7f923 to 8b6e552 Compare January 15, 2025 12:08
@michaelnebel michaelnebel marked this pull request as ready for review January 15, 2025 14:23
@Copilot Copilot bot review requested due to automatic review settings January 15, 2025 14:23
@michaelnebel michaelnebel requested a review from a team as a code owner January 15, 2025 14:23

Choose a reason for hiding this comment

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

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

Files not reviewed (2)
  • csharp/ql/test/library-tests/implements/Implements.expected: Language not supported
  • csharp/ql/test/library-tests/implements/Implements.ql: Language not supported

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@michaelnebel michaelnebel merged commit 9021214 into github:main Jan 16, 2025
15 checks passed
@michaelnebel michaelnebel deleted the csharp/refstrucinterfacetests branch January 16, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants