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] Add test using the System.Threading.Lock type. #18348

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Dec 20, 2024

This is a test only PR (no extractor or library development required).
In this PR we add a test using the new System.Threading.Lock type. The new type is described here.

@github-actions github-actions bot added the C# label Dec 20, 2024
@michaelnebel michaelnebel marked this pull request as ready for review January 2, 2025 10:27
@Copilot Copilot bot review requested due to automatic review settings January 2, 2025 10:27
@michaelnebel michaelnebel requested a review from a team as a code owner January 2, 2025 10:27

Choose a reason for hiding this comment

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

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

Files not reviewed (20)
  • csharp/ql/test/library-tests/statements/Block4.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Break1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Checked1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/CompilerGenerated.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Continue1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Do2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Expr1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/For2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/For3.expected: Language not supported
  • csharp/ql/test/library-tests/statements/For4.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Foreach2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Foreach3.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Goto1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Goto2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/If2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/Labeled1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/LocalConstDecl1.expected: Language not supported
  • csharp/ql/test/library-tests/statements/LocalConstDecl2.expected: Language not supported
  • csharp/ql/test/library-tests/statements/LocalConstDecl3.expected: Language not supported
  • csharp/ql/test/library-tests/statements/LocalVarDecl1.expected: Language not supported

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@michaelnebel michaelnebel changed the title C#: [TEST ONLY] Add test using the System.Threading.Lock type. C# 13: [TEST ONLY] Add test using the System.Threading.Lock type. Jan 2, 2025
from Method m, LockStmt ls, Expr lockExpr
where
ls.getEnclosingCallable() = m and
m.getName() = "LockMethod" and
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: we probably don't need to filter the statements to be inside this method.

@michaelnebel michaelnebel merged commit 49abfdf into github:main Jan 3, 2025
15 checks passed
@michaelnebel michaelnebel deleted the csharp/locktype branch January 3, 2025 14:08
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