2 REM ExpectedError: BC30002
3 REM ErrorMessage: Type 'Int' is not defined.
6 REM ExpectedError: BC30002
7 REM ErrorMessage: Type 'Int' is not defined.
10 REM ExpectedError: BC30002
11 REM ErrorMessage: Type 'Int' is not defined.
13 ' Force an error to visually examine whether errors within #ExternalSource directives are properly reported
16 Module ExternalSourceDirective
18 #
ExternalSource("/home/main.aspx",100)
20 'Compiler should report error in "/home/main.aspx" at line 102
27 #
ExternalSource("/home/a.aspx",200)
29 'Compiler should report error in "/home/a.aspx" at line 202
35 'Compiler should report error in "ExternalSourceDirectivesC4.vb" at line 24