> @retailcoder the code snippet is causing a different exception
``Exception thrown: 'Rubberduck.Parsing.Symbols.SyntaxErrorException' in Rubberduck.Parsing.dll
Rubberduck.Parsing.Symbols.SyntaxErrorException: extraneous input 'End Sub' expecting {END_PROPERTY, NEWLINE, REMCOMMENT, COMMENT, ':', WS}
at Rubberduck.Parsing.Symbols.ExceptionErrorListener.SyntaxError(IRecognizer recognizer, IToken offendingSymbol, Int32 line, Int32 charPositionInLine, String msg, RecognitionException e) in C