mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
spelling: initializer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -702,7 +702,7 @@ private predicate arrayStore(Expr e, Expr src, Expr a, boolean postUpdate) {
|
||||
e = a and
|
||||
postUpdate = false
|
||||
or
|
||||
// Member initalizer, `new C { Array = { [i] = src } }`
|
||||
// Member initializer, `new C { Array = { [i] = src } }`
|
||||
exists(MemberInitializer mi |
|
||||
mi = a.(ObjectInitializer).getAMemberInitializer() and
|
||||
mi.getLValue() instanceof ArrayAccess and
|
||||
|
||||
@@ -417,7 +417,7 @@ class ConstructorInitializer extends Call, @constructor_init_expr {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this initialier is a `this` initializer, for example `this(0)`
|
||||
* Holds if this initializer is a `this` initializer, for example `this(0)`
|
||||
* in
|
||||
*
|
||||
* ```csharp
|
||||
@@ -431,7 +431,7 @@ class ConstructorInitializer extends Call, @constructor_init_expr {
|
||||
predicate isThis() { this.getTargetType() = this.getConstructorType() }
|
||||
|
||||
/**
|
||||
* Holds if this initialier is a `base` initializer, for example `base(0)`
|
||||
* Holds if this initializer is a `base` initializer, for example `base(0)`
|
||||
* in
|
||||
*
|
||||
* ```csharp
|
||||
|
||||
Reference in New Issue
Block a user