Skip to content

Commit f7a1a4a

Browse files
committed
C#: Add some missing this qualifiers.
1 parent 38e906f commit f7a1a4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/ql/lib/semmle/code/asp/AspNet.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class PageDirective extends AspDirective {
215215
*/
216216
class CodeBehindFile extends File {
217217
CodeBehindFile() {
218-
getExtension() = "aspx" and
218+
this.getExtension() = "aspx" and
219219
exists(PageDirective pageDir | pageDir.getLocation().getFile() = this)
220220
}
221221

@@ -227,5 +227,5 @@ class CodeBehindFile extends File {
227227
/**
228228
* Gets the 'CodeBehind' class from which this page inherits.
229229
*/
230-
ValueOrRefType getInheritedType() { result = getPageDirective().getInheritedType() }
230+
ValueOrRefType getInheritedType() { result = this.getPageDirective().getInheritedType() }
231231
}

0 commit comments

Comments
 (0)