projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
In tests/expressions:
[mono.git]
/
mcs
/
mbas
/
Test
/
errors
/
MethodDeclarationC7.vb
1
'Author:
2
' V. Sudharsan (vsudharsan@novell.com)
3
'
4
' (C) 2005 Novell, Inc.
5
6
REM LineNo: 19
\r
7
REM ExpectedError: BC30043
\r
8
REM ErrorMessage: 'Me' is valid only within an instance method
\r
9
\r
10
Imports System
\r
11
\r
12
Module MethodDeclarationA
\r
13
Class A
\r
14
Public i as Integer
\r
15
Sub A1()
\r
16
Me.i = 10
\r
17
End Sub
\r
18
Shared Sub A()
\r
19
Me.i = 10
\r
20
End SUb
\r
21
end Class
\r
22
Sub Main()
\r
23
End Sub
\r
24
End Module
\r
25