Skip to content

Commit cdda400

Browse files
committed
C#: Add missing hasProvenance overrides.
1 parent 813ffa4 commit cdda400

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/FlowSummary.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ private class RecordConstructorFlow extends SummarizedCallable {
137137
preservesValue = true
138138
)
139139
}
140+
141+
override predicate hasProvenance(string provenance) { provenance = "manual" }
140142
}
141143

142144
class RequiredSummaryComponentStack = Impl::Public::RequiredSummaryComponentStack;

csharp/ql/lib/semmle/code/csharp/frameworks/EntityFramework.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ module EntityFramework {
8686
abstract class EFSummarizedCallable extends SummarizedCallable {
8787
bindingset[this]
8888
EFSummarizedCallable() { any() }
89+
90+
override predicate hasProvenance(string provenance) { provenance = "manual" }
8991
}
9092

9193
private class DbSetAddOrUpdateRequiredSummaryComponentStack extends RequiredSummaryComponentStack {

0 commit comments

Comments
 (0)