Visitar URL original
C#: LINQ recommendation queries. by michaelnebel · Pull Request #13885 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20230805024552/https://github.com/github/codeql/pull/13885
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#: LINQ recommendation queries. #13885

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

michaelnebel
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the C# label Aug 4, 2023
@@ -59,7 +71,7 @@
* block, and the access is a cast. The first statement needs to be a
* `LocalVariableDeclStmt`.
*/
predicate missedCastOpportunity(ForeachStmt fes, LocalVariableDeclStmt s) {
predicate missedCastOpportunity(RelevantForeachStmt fes, LocalVariableDeclStmt s) {

Check warning

Code scanning / CodeQL

Missing QLDoc for parameter Warning

The QLDoc has no documentation for s, but the QLDoc mentions foreach
@@ -76,7 +88,7 @@
* block, and the access is a cast with the `as` operator. The first statement
* needs to be a `LocalVariableDeclStmt`.
*/
predicate missedOfTypeOpportunity(ForeachStmt fes, LocalVariableDeclStmt s) {
predicate missedOfTypeOpportunity(RelevantForeachStmt fes, LocalVariableDeclStmt s) {

Check warning

Code scanning / CodeQL

Missing QLDoc for parameter Warning

The QLDoc has no documentation for s, but the QLDoc mentions as, and foreach
@@ -93,7 +105,7 @@
* block, and the access is not a cast. The first statement needs to be a
* `LocalVariableDeclStmt`.
*/
predicate missedSelectOpportunity(ForeachStmt fes, LocalVariableDeclStmt s) {
predicate missedSelectOpportunity(RelevantForeachStmt fes, LocalVariableDeclStmt s) {

Check warning

Code scanning / CodeQL

Missing QLDoc for parameter Warning

The QLDoc has no documentation for s, but the QLDoc mentions foreach
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.

None yet

1 participant