mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
C#: Bi-directional import of synthetic field declarations.
This commit is contained in:
@@ -2212,6 +2212,15 @@ predicate allowParameterReturnInSelf(ParameterNode p) {
|
||||
FlowSummaryImpl::Private::summaryAllowParameterReturnInSelf(p)
|
||||
}
|
||||
|
||||
/**
|
||||
* A module importing the modules that provide synthetic field declarations,
|
||||
* ensuring that they are visible to the taint tracking / data flow library.
|
||||
*/
|
||||
private module SyntheticFields {
|
||||
private import semmle.code.csharp.frameworks.system.threading.Tasks
|
||||
private import semmle.code.csharp.frameworks.system.runtime.CompilerServices
|
||||
}
|
||||
|
||||
/** A synthetic field. */
|
||||
abstract class SyntheticField extends string {
|
||||
bindingset[this]
|
||||
|
||||
Reference in New Issue
Block a user