C#: Implement missingArgumentCallExclude and multipleArgumentCallExclude

This commit is contained in:
Tom Hvitved
2023-08-31 13:36:20 +02:00
parent b470c36c82
commit 53302117a1
3 changed files with 42 additions and 1 deletions

View File

@@ -2032,7 +2032,7 @@ abstract class PostUpdateNode extends Node {
abstract Node getPreUpdateNode();
}
private module PostUpdateNodes {
module PostUpdateNodes {
class ObjectCreationNode extends PostUpdateNode, ExprNode, TExprNode {
private ObjectCreation oc;

View File

@@ -50,6 +50,9 @@ class DispatchCall extends Internal::TDispatchCall {
RuntimeCallable getADynamicTargetInCallContext(DispatchCall ctx) {
result = Internal::getADynamicTargetInCallContext(this, ctx)
}
/** Holds if this call uses reflection. */
predicate isReflection() { this instanceof Internal::TDispatchReflectionCall }
}
/** Internal implementation details. */