-
Notifications
You must be signed in to change notification settings - Fork 1.7k
C# 13: [TEST ONLY] Add test using the System.Threading.Lock type. #18348
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
Conversation
There was a problem hiding this comment.
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
from Method m, LockStmt ls, Expr lockExpr | ||
where | ||
ls.getEnclosingCallable() = m and | ||
m.getName() = "LockMethod" and |
There was a problem hiding this comment.
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.
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.