Open brettpostin opened 5 years ago
Brett - Thanks for posting this. Based on the code above, it appears to be a bug in the analyzer. To confirm, we'd need to run this through a couple test cases and potentially adjust the rule.
Are you able to provide a sample / project / class that compiles for us to test with?
The rule documentation for SEC0108 recommends...
However the following code still causes a warning for usage of
ExecuteSqlCommand
andSqlQuery
...Is this a bug or are we doing something wrong?