Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
carldybdahl-microsoft committed Mar 3, 2025
1 parent b344795 commit 2f7cdf1
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions csharp/ql/src/Bad Practices/PathCombine.ql
Original file line number Diff line number Diff line change
@@ -6,12 +6,11 @@
* @precision very-high
* @id cs/path-combine
* @tags reliability
* readability
*/

import csharp
import semmle.code.csharp.frameworks.System

from MethodCall call
where call.getTarget().hasFullyQualifiedName("System.IO", "Path", "Combine")
select call, "Call to System.IO.Path.Combine."
select call, "Call to 'System.IO.Path.Combine'."
Original file line number Diff line number Diff line change
@@ -1 +1 @@
| PathCombine.cs:7:9:7:54 | call to method Combine | Call to System.IO.Path.Combine. |
| PathCombine.cs:7:9:7:54 | call to method Combine | Call to 'System.IO.Path.Combine'. |

0 comments on commit 2f7cdf1

Please sign in to comment.