Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2018-04-10 20:52:07 +0300
committerMarek Safar <marek.safar@gmail.com>2018-04-11 12:03:49 +0300
commit0d2609c11cdabf22c51a2734e47cad2717d3e93e (patch)
tree92452ccefdb3fbc49a51758850fb74d0e1c9cfcf /mcs/errors
parente3d8bdbf47f9675680f1472b30dc68804a6617ad (diff)
[mcs] Fixes parameter check for interface types used with default parameters
Diffstat (limited to 'mcs/errors')
-rw-r--r--mcs/errors/cs1763-2.cs2
-rw-r--r--mcs/errors/cs1763.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/mcs/errors/cs1763-2.cs b/mcs/errors/cs1763-2.cs
index 72f5370949a..7e4d091fc72 100644
--- a/mcs/errors/cs1763-2.cs
+++ b/mcs/errors/cs1763-2.cs
@@ -1,4 +1,4 @@
-// CS1763: Optional parameter `o' of type `object' can only be initialized with `null'
+// CS1763: Optional parameter `o' of type `object' can only be initialized with default value
// Line: 6
class C
diff --git a/mcs/errors/cs1763.cs b/mcs/errors/cs1763.cs
index d10a7bf2c20..03b5f28a19d 100644
--- a/mcs/errors/cs1763.cs
+++ b/mcs/errors/cs1763.cs
@@ -1,4 +1,4 @@
-// CS1763: Optional parameter `o' of type `object' can only be initialized with `null'
+// CS1763: Optional parameter `o' of type `object' can only be initialized with default value
// Line: 6
class C