mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Re-factor TestOutput into a param module.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl::Private
|
||||
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl::Public
|
||||
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl::Private::TestOutput
|
||||
private import semmle.code.csharp.dataflow.internal.ExternalFlow
|
||||
|
||||
abstract class IncludeSummarizedCallable extends RelevantSummarizedCallable {
|
||||
class IncludeSummarizedCallable instanceof SummarizedCallableImpl {
|
||||
IncludeSummarizedCallable() {
|
||||
[this.(Modifiable), this.(Accessor).getDeclaration()].isEffectivelyPublic()
|
||||
}
|
||||
|
||||
/** Gets a string representing the callable in semi-colon separated format for use in flow summaries. */
|
||||
final override string getCallableCsv() { result = asPartialModel(this) }
|
||||
final string getCallableCsv() { result = asPartialModel(this) }
|
||||
|
||||
string toString() { result = super.toString() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user