Skip to content

Conversation

GrabYourPitchforks
Copy link
Member

Recent versions of C# allow Task and Task<int>-returning main methods. This updates the MainMethod class to understand these new syntaxes.

There already exist limited regression tests at https://github.com/microsoft/codeql/blob/e1949c7d69ec0a5f6afd98a51aa2305dd7442394/csharp/ql/test/library-tests/csharp9-standalone/GlobalStmt.cs.

bdrodes pushed a commit that referenced this pull request Jan 9, 2025
feat(queries): Improve Use Of Vulnerable Actions query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant