projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[msvc] Update csproj files (#4846)
[mono.git]
/
mcs
/
errors
/
cs0026-2.cs
diff --git
a/mcs/errors/cs0026-2.cs
b/mcs/errors/cs0026-2.cs
index a4f41cdb51d44157d8e65cb9cfc53b0731ac5e80..052e9bffadc27024cb5a9f932b10997a4ef79fb8 100644
(file)
--- a/
mcs/errors/cs0026-2.cs
+++ b/
mcs/errors/cs0026-2.cs
@@
-1,5
+1,5
@@
-//
cs0026: use of this is not allowed in a
static field initializer
-//
+//
CS0026: Keyword `this' is not valid in a static property, static method, or
static field initializer
+//
Line: 4
class X {
static object o = this;