Skip to content

Commit 66e4940

Browse files
committed
C#: Remove bad magic
1 parent d5163ca commit 66e4940

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

csharp/ql/src/semmle/code/csharp/Member.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ class Virtualizable extends Member, @virtualizable {
331331
* (An example where `getOverridee*().getImplementee()` would be incorrect.)
332332
* - If this member is `D.M` then `I.M = getAnUltimateImplementee()`.
333333
*/
334+
pragma[nomagic]
334335
Virtualizable getAnUltimateImplementee() {
335336
exists(Virtualizable implementation, ValueOrRefType implementationType |
336337
implements(implementation, result, implementationType)

0 commit comments

Comments
 (0)