Skip to content

Commit 0c78fb2

Browse files
authored
Merge pull request github#4855 from madneal/fix-for-csharp-docs
Fix for csharp docs
2 parents 0a0137b + ee02578 commit 0c78fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/codeql/codeql-language-guides/analyzing-data-flow-in-csharp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ Exercise 4
480480
Configuration() { this="Environment to System.Uri" }
481481
482482
override predicate isSource(DataFlow::Node src) {
483-
src.asExpr() instanceof EnvironmentVariableFlowSource
483+
src instanceof EnvironmentVariableFlowSource
484484
}
485485
486486
override predicate isSink(DataFlow::Node sink) {

0 commit comments

Comments
 (0)