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() {
169169private predicate mayInvokeCallback ( Callable c , int n ) {
170170 c .getParameter ( n ) .getType ( ) instanceof SystemLinqExpressions:: DelegateExtType and
171171 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 ( ) )
173173}
174174
175175private class SummarizedCallableWithCallback extends SummarizedCallable {
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ private module CallGraph {
314314 target = c .getTarget ( ) and
315315 not target .hasBody ( )
316316 |
317- if target instanceof AddEventAccessor then not target .fromSource ( ) else any ( )
317+ if target instanceof Accessor then not target .fromSource ( ) else any ( )
318318 ) and
319319 e = c .getAnArgument ( ) and
320320 e .getType ( ) instanceof SystemLinqExpressions:: DelegateExtType and
You can’t perform that action at this time.
0 commit comments