I’ve checked your project. Current Item refers to the whole Window1 source item, including all its methods. Since m1, m2 and m3 each contain an invalid declaration, both All and Current Item correctly show three errors. Selecting App with Current Item enabled clears the list.
The three errors are separate occurrences, although each says “Line 1” because the line numbers are relative to its method.
However, “Expected end of line” is unhelpful here. It should explain that the = is missing:
Var s As String = "hello"
I’ve logged a bug to improve that diagnostic, so it identifies the missing = directly.