diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-10-12 05:24:02 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-10-12 05:24:02 +0400 |
commit | eeffa700cfcda5b8977beb45da24b24b4cabc011 (patch) | |
tree | 51365c88ab6320034157b4c2207eb8fe78e85511 /mcs/errors/cs0026.cs | |
parent | d6c8f01231476177ae7c63cd16a138c4fc3a62f6 (diff) |
Add more tests
svn path=/trunk/mcs/; revision=1153
Diffstat (limited to 'mcs/errors/cs0026.cs')
-rwxr-xr-x | mcs/errors/cs0026.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs0026.cs b/mcs/errors/cs0026.cs new file mode 100755 index 00000000000..e4b5ca7e580 --- /dev/null +++ b/mcs/errors/cs0026.cs @@ -0,0 +1,8 @@ +// cs0026: use of this is not allowed in static methods +// Line: 6 +class X { + static void A () + { + this = null; + } +} |