File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ private SummaryComponent delegateSelf() {
169
169
private predicate mayInvokeCallback ( Callable c , int n ) {
170
170
c .getParameter ( n ) .getType ( ) instanceof SystemLinqExpressions:: DelegateExtType and
171
171
not c .hasBody ( ) and
172
- ( if c instanceof AddEventAccessor then not c .fromSource ( ) else any ( ) )
172
+ ( if c instanceof Accessor then not c .fromSource ( ) else any ( ) )
173
173
}
174
174
175
175
private class SummarizedCallableWithCallback extends SummarizedCallable {
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ private module CallGraph {
314
314
target = c .getTarget ( ) and
315
315
not target .hasBody ( )
316
316
|
317
- if target instanceof AddEventAccessor then not target .fromSource ( ) else any ( )
317
+ if target instanceof Accessor then not target .fromSource ( ) else any ( )
318
318
) and
319
319
e = c .getAnArgument ( ) and
320
320
e .getType ( ) instanceof SystemLinqExpressions:: DelegateExtType and
You can’t perform that action at this time.
0 commit comments