File tree Expand file tree Collapse file tree
csharp/ql/src/semmle/code/csharp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,20 +388,19 @@ class RecursivePatternCase extends LabeledStmt, CaseStmt {
388388 * For example, `string` in `case string { Length: 0 } empty:`.
389389 */
390390 TypeAccess getTypeAccess ( ) { result = getChild ( 1 ) }
391-
391+
392392 /**
393393 * Gets the checked type of this recursive pattern, if any.
394394 * For example, `string` in `case string { Length: 0 } empty:`.
395395 */
396396 Type getCheckedType ( ) { result = getTypeAccess ( ) .getType ( ) }
397-
398- /**
397+
398+ /**
399399 * Gets the recursive pattern of this case.
400400 * For example, `{ Length: 0 }` in `case string { Length: 0 } empty:`.
401401 */
402-
403402 RecursivePatternExpr getRecursivePattern ( ) { result = pattern }
404-
403+
405404 LocalVariableDeclExpr getVariableDeclExpr ( ) { result = getChild ( 0 ) }
406405}
407406
You can’t perform that action at this time.
0 commit comments