mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
16 lines
658 B
Plaintext
16 lines
658 B
Plaintext
import semmle.code.csharp.dataflow.FlowSummary
|
|
import semmle.code.csharp.dataflow.internal.FlowSummaryImpl::Private::TestOutput
|
|
private import semmle.code.csharp.dataflow.internal.DataFlowPrivate
|
|
|
|
abstract class IncludeSummarizedCallable extends RelevantSummarizedCallable {
|
|
IncludeSummarizedCallable() {
|
|
this.asSummarizedCallable() =
|
|
any(Callable c | [c.(Modifiable), c.(Accessor).getDeclaration()].isEffectivelyPublic())
|
|
}
|
|
|
|
/** Gets a string representing the callable in semi-colon separated format for use in flow summaries. */
|
|
final override string getCallableCsv() {
|
|
result = Csv::asPartialModel(this.asSummarizedCallable())
|
|
}
|
|
}
|