projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
[mono.git]
/
mcs
/
errors
/
cs1031.cs
diff --git
a/mcs/errors/cs1031.cs
b/mcs/errors/cs1031.cs
index 349556248dc931d7b883080307bd80b2be698f9a..28f11a17660bee8e1b90ccf841769649da252a07 100644
(file)
--- a/
mcs/errors/cs1031.cs
+++ b/
mcs/errors/cs1031.cs
@@
-1,11
+1,13
@@
-//
cs1031.cs
: Type expected
+//
CS1031
: Type expected
// Line: 8
+using System;
+
class M
{
- public static void Main ()
- {
-
p = new this
;
- }
+
public static void Main ()
+
{
+
Type t = typeof (this)
;
+
}
}