Skip to content

Commit 91bbbe2

Browse files
committed
C#: Address more review comments.
1 parent 8efe349 commit 91bbbe2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,10 +1803,10 @@ class FlowSummaryNode extends NodeImpl, TFlowSummaryNode {
18031803
* public void SetParam(object value) => o = value; // (2)
18041804
* }
18051805
* ```
1806-
* the first access to o (1) is modeled as this.o_backing_field and
1807-
* the second access to o (2) is modeled as this.o_backing_field = value.
1806+
* the first access to o (1) is modeled as `this.o_backing_field` and
1807+
* the second access to o (2) is modeled as `this.o_backing_field = value`.
18081808
* Both models need a pre-update this node, and the latter need an additional post-update this access,
1809-
* all of which are represented by an InstanceParameterAccessNode node.
1809+
* all of which are represented by an `InstanceParameterAccessNode` node.
18101810
*/
18111811
class InstanceParameterAccessNode extends NodeImpl, TInstanceParameterAccessNode {
18121812
private ControlFlow::Node cfn;
@@ -1853,11 +1853,11 @@ class InstanceParameterAccessNode extends NodeImpl, TInstanceParameterAccessNode
18531853
* ```csharp
18541854
* public class C(object o) { }
18551855
* ```
1856-
* we synthesize the primary constructor for C as
1856+
* we synthesize the primary constructor for `C` as
18571857
* ```csharp
18581858
* public C(object o) => this.o_backing_field = o;
18591859
* ```
1860-
* The synthesized (pre/post-update) this access is represented an PrimaryConstructorThisAccessNode node.
1860+
* The synthesized (pre/post-update) this access is represented an `PrimaryConstructorThisAccessNode` node.
18611861
*/
18621862
class PrimaryConstructorThisAccessNode extends NodeImpl, TPrimaryConstructorThisAccessNode {
18631863
private Parameter p;

0 commit comments

Comments
 (0)