Skip to content

Commit be2dbe7

Browse files
committed
spelling: initializer
Signed-off-by: Josh Soref <[email protected]>
1 parent 29ea496 commit be2dbe7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ private predicate arrayStore(Expr e, Expr src, Expr a, boolean postUpdate) {
702702
e = a and
703703
postUpdate = false
704704
or
705-
// Member initalizer, `new C { Array = { [i] = src } }`
705+
// Member initializer, `new C { Array = { [i] = src } }`
706706
exists(MemberInitializer mi |
707707
mi = a.(ObjectInitializer).getAMemberInitializer() and
708708
mi.getLValue() instanceof ArrayAccess and

csharp/ql/lib/semmle/code/csharp/exprs/Call.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class ConstructorInitializer extends Call, @constructor_init_expr {
417417
}
418418

419419
/**
420-
* Holds if this initialier is a `this` initializer, for example `this(0)`
420+
* Holds if this initializer is a `this` initializer, for example `this(0)`
421421
* in
422422
*
423423
* ```csharp
@@ -431,7 +431,7 @@ class ConstructorInitializer extends Call, @constructor_init_expr {
431431
predicate isThis() { this.getTargetType() = this.getConstructorType() }
432432

433433
/**
434-
* Holds if this initialier is a `base` initializer, for example `base(0)`
434+
* Holds if this initializer is a `base` initializer, for example `base(0)`
435435
* in
436436
*
437437
* ```csharp

0 commit comments

Comments
 (0)