mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
C#: Add isAutoGenerated predicate to SummarizedCallable.
This commit is contained in:
@@ -219,6 +219,11 @@ module Public {
|
||||
*/
|
||||
pragma[nomagic]
|
||||
predicate clearsContent(ParameterPosition pos, ContentSet content) { none() }
|
||||
|
||||
/**
|
||||
* Gets whether the summary is auto generated or not.
|
||||
*/
|
||||
boolean isAutoGenerated() { result = false }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -898,6 +903,8 @@ module Private {
|
||||
kind = "taint" and preservesValue = false
|
||||
)
|
||||
}
|
||||
|
||||
override boolean isAutoGenerated() { summaryElement(this, _, _, _, result) }
|
||||
}
|
||||
|
||||
/** Holds if component `c` of specification `spec` cannot be parsed. */
|
||||
|
||||
Reference in New Issue
Block a user