Skip to content

Commit 92bf830

Browse files
committed
C#: Avoid bad magic in UselessUpcast.ql
1 parent c7f7769 commit 92bf830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

csharp/ql/src/Language Abuse/UselessUpcast.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class StaticCall extends Call {
3131
}
3232

3333
/** Holds `t` has instance callable `c` as a member, with name `name`. */
34-
pragma[noinline]
34+
pragma[nomagic]
3535
predicate hasInstanceCallable(ValueOrRefType t, InstanceCallable c, string name) {
3636
t.hasMember(c) and
3737
name = c.getName()

0 commit comments

Comments
 (0)