Skip to content

Commit 2afcc61

Browse files
committed
C#: Fix formatting.
1 parent 21aa025 commit 2afcc61

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,10 +2075,9 @@ predicate storeStep(Node node1, ContentSet c, Node node2) {
20752075
node1 = TExplicitParameterNode(p) and
20762076
node2 = TPrimaryConstructorThisAccessNode(p, true) and
20772077
exists(Type t | t = p.getCallable().getDeclaringType() |
2078-
if t instanceof RecordType then
2079-
c.(PropertyContent).getProperty().getName() = p.getName()
2080-
else
2081-
c.(PrimaryConstructorParameterContent).getParameter() = p
2078+
if t instanceof RecordType
2079+
then c.(PropertyContent).getProperty().getName() = p.getName()
2080+
else c.(PrimaryConstructorParameterContent).getParameter() = p
20822081
)
20832082
)
20842083
or

0 commit comments

Comments
 (0)