Skip to content

Commit 4036604

Browse files
committed
C#: Fix inconsistent casing of Cs/CS.
1 parent 898d12b commit 4036604

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ module VariableCapture {
274274
}
275275

276276
private module CaptureInput implements Shared::InputSig<Location, BasicBlocks::BasicBlock> {
277-
private import csharp as Cs
277+
private import csharp as CS
278278
private import semmle.code.csharp.controlflow.ControlFlowGraph as Cfg
279279
private import TaintTrackingPrivate as TaintTrackingPrivate
280280

@@ -391,7 +391,7 @@ module VariableCapture {
391391
}
392392
}
393393

394-
class Callable extends Cs::Callable {
394+
class Callable extends CS::Callable {
395395
predicate isConstructor() { this instanceof Constructor }
396396
}
397397
}

csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ private module StepsInput implements Impl::Private::StepsInputSig {
215215
module SourceSinkInterpretationInput implements
216216
Impl::Private::External::SourceSinkInterpretationInputSig
217217
{
218-
private import csharp as Cs
218+
private import csharp as CS
219219

220-
class Element = Cs::Element;
220+
class Element = CS::Element;
221221

222222
predicate sourceElement(
223223
Element e, string output, string kind, Public::Provenance provenance, string model

csharp/ql/lib/semmle/code/csharp/dataflow/internal/SsaImpl.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,6 @@ string getToStringPrefix(Definition def) {
10421042
}
10431043

10441044
private module DataFlowIntegrationInput implements Impl::DataFlowIntegrationInputSig {
1045-
private import csharp as Cs
10461045
private import semmle.code.csharp.controlflow.BasicBlocks
10471046
private import codeql.util.Boolean
10481047

csharp/ql/lib/utils/test/InlineMadTest.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
private import csharp as Cs
1+
private import csharp as CS
22
private import codeql.mad.test.InlineMadTest
33

44
private module InlineMadTestLang implements InlineMadTestLangSig {
5-
class Callable = Cs::Callable;
5+
class Callable = CS::Callable;
66

77
string getComment(Callable c) {
8-
exists(Cs::CommentBlock block, Cs::Element after | after = block.getAfter() |
8+
exists(CS::CommentBlock block, CS::Element after | after = block.getAfter() |
99
(
1010
after = c or
11-
after = c.(Cs::Accessor).getDeclaration()
11+
after = c.(CS::Accessor).getDeclaration()
1212
) and
1313
result = block.getALine()
1414
)

0 commit comments

Comments
 (0)