Skip to content

Commit bd9d1de

Browse files
committed
REMOVE AGAIN: Introduce some mistakes that should be caught by QL4QL.
1 parent ba5318f commit bd9d1de

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ class ElementInitializer extends MethodCall {
177177
* }
178178
* }
179179
* ```
180+
* Introduce a specific spelling error: abbout
180181
*/
181182
class ObjectCreation extends Call, LateBindableExpr, @object_creation_expr {
182183
/** Gets the type of the newly created object. */
@@ -259,6 +260,13 @@ class DelegateCreation extends Expr, @delegate_creation_expr {
259260
override string toString() { result = "delegate creation of type " + this.getType().getName() }
260261
}
261262

263+
/**
264+
* A delegate creation.
265+
*
266+
* Introduce a specific spelling error: abbout
267+
*/
268+
class CommentDelegateCreation extends DelegateCreation { }
269+
262270
/**
263271
* An explicit delegate creation, for example `new D(M)` on line 6 in
264272
*

csharp/ql/src/Bad Practices/UseOfHtmlInputHidden.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* @description Finds uses of hidden fields on forms
44
* @kind problem
55
* @problem.severity recommendation
6-
* @security-severity 7.5
76
* @precision medium
87
* @id cs/web/html-hidden-input
98
* @tags security

0 commit comments

Comments
 (0)