Skip to content

Conversation

@Hug0Vincent
Copy link
Contributor

Add the getASupertype() predicate in ValueOrRefType like in Java: https://codeql.github.com/codeql-standard-libraries/java/semmle/code/java/Type.qll/predicate.Type$RefType$getASupertype.0.html

It's my first PR for CodeQL let me know if I did something wrong :)

Add the getASupertype() predicate in ValueOrRefType.
@Hug0Vincent Hug0Vincent requested a review from a team as a code owner July 10, 2025 00:20
@github-actions github-actions bot added the C# label Jul 10, 2025
Create 2025-06-10-getasupertype.md
@michaelnebel
Copy link
Contributor

DCA looks good.

Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

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

Thank you very much for doing this! 😄

@Hug0Vincent
Copy link
Contributor Author

Let me know if it's good now

@michaelnebel
Copy link
Contributor

Let me know if it's good now

Excellent! 🎉 Thank you! 😄

Copy link
Contributor

@michaelnebel michaelnebel left a comment

Choose a reason for hiding this comment

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

LGTM!

@michaelnebel michaelnebel merged commit c5357ff into github:main Jul 16, 2025
23 checks passed
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.

2 participants