diff --git a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsinks/AllSinks.qll b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsinks/AllSinks.qll index b0af48947479..bf601bdf9b66 100644 --- a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsinks/AllSinks.qll +++ b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsinks/AllSinks.qll @@ -2,6 +2,11 @@ private import semmle.code.csharp.dataflow.internal.ExternalFlow +/** + * A data flow sink node. + */ +abstract class SinkNode extends DataFlow::Node { } + /** * Module that adds all sinks to `SinkNode`, excluding sinks for cryptography based * queries, and queries where sinks are not succifiently explicit. @@ -77,8 +82,3 @@ private module AllSinks { SinkNodeExternal() { sinkNode(this, _) } } } - -/** - * A data flow sink node. - */ -abstract class SinkNode extends DataFlow::Node { } diff --git a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/AllSources.qll b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/AllSources.qll index 11ff5ae2a553..7d05500446a4 100644 --- a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/AllSources.qll +++ b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/AllSources.qll @@ -2,6 +2,11 @@ private import semmle.code.csharp.dataflow.internal.ExternalFlow +/** + * A data flow source node. + */ +abstract class SourceNode extends DataFlow::Node { } + /** * Module that adds all sources to `SourceNode`, excluding source for cryptography based * queries, and queries where sources are not succifiently explicit or mainly hardcoded constants. @@ -70,8 +75,3 @@ private module AllSources { SourceNodeExternal() { sourceNode(this, _) } } } - -/** - * A data flow source node. - */ -abstract class SourceNode extends DataFlow::Node { }