Line Continuation Between Keywords

A ThunderCode inspection that locates certain specific instances of line continuations in places we'd never think to put them.

Remarks

Note that the inspection only checks a subset of possible "evil" line continatuions for both simplicity and performance reasons. Exhaustive inspection would likely take too much effort.

Reasoning

This inpection is flagging code we dubbed "ThunderCode", code our friend Andrew Jackson would have written to confuse Rubberduck's parser and/or resolver. While perfectly legal, these line continuations serve no purpose and should be removed.

Default severity

Warning

Inspection type

CodeQualityIssues

Examples


Rubberduck.CodeAnalysis.Inspections.Concrete.ThunderCode.LineContinuationBetweenKeywordsInspection.cs (Prerelease-v2.5.9.6289)