projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finally remove RootContext.ToplevelTypes hacking from GlobalAttribute (what a joy!)
[mono.git]
/
mcs
/
errors
/
cs1763-2.cs
diff --git
a/mcs/errors/cs1763-2.cs
b/mcs/errors/cs1763-2.cs
index b4c0ef5fafa46a0ea3f7610a46263c3106e1d274..72f5370949af197f112bc9dd97baeb4e1212ceeb 100644
(file)
--- a/
mcs/errors/cs1763-2.cs
+++ b/
mcs/errors/cs1763-2.cs
@@
-1,14
+1,9
@@
-// CS1763: Optional parameter `c' of type `C' can only be initialized with `null'
-// Line: 10
-// Compiler options: -langversion:future
-
-struct S
-{
-}
+// CS1763: Optional parameter `o' of type `object' can only be initialized with `null'
+// Line: 6
class C
{
class C
{
- public static void Test (
C c = new S ()
)
+ public static void Test (
object o = 9, params object[] args
)
{
}
}
{
}
}