Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dd575a

Browse files
committed
spelling: dereference
Signed-off-by: Josh Soref <[email protected]>
1 parent 14ce0ea commit 5dd575a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • csharp/ql/lib/semmle/code/csharp/exprs

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ class SizeofExpr extends UnaryOperation, @sizeof_expr {
776776
* struct A {
777777
* public void M() { }
778778
*
779-
* unsafe int DirectDerefence() {
779+
* unsafe int DirectDereference() {
780780
* int n = 10;
781781
* int *pn = &n;
782782
* return *pn;
@@ -788,7 +788,7 @@ class SizeofExpr extends UnaryOperation, @sizeof_expr {
788788
* pa->M();
789789
* }
790790
*
791-
* unsafe void ArrayDerefence() {
791+
* unsafe void ArrayDereference() {
792792
* char* cp = stackalloc char[10];
793793
* cp[1] = 'a';
794794
* }
@@ -813,7 +813,7 @@ class PointerIndirectionExpr extends UnaryOperation, @pointer_indirection_expr {
813813
*
814814
* ```csharp
815815
* class A {
816-
* unsafe int DirectDerefence() {
816+
* unsafe int DirectDereference() {
817817
* int n = 10;
818818
* int *pn = &n;
819819
* return *pn;

0 commit comments

Comments
 (0)