mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
C#: exclude AnonymousFunctionExpr from DataFlowTargetApi
This commit is contained in:
@@ -38,7 +38,8 @@ private predicate isRelevantForModels(CS::Callable api) {
|
||||
api.getDeclaringType().getNamespace().getFullName() != "" and
|
||||
not api instanceof CS::ConversionOperator and
|
||||
not api instanceof Util::MainMethod and
|
||||
not api instanceof CS::Destructor
|
||||
not api instanceof CS::Destructor and
|
||||
not api instanceof CS::AnonymousFunctionExpr
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user