Merge pull request #3796 from ntherning/windows-backend-for-MemoryMappedFile
[mono.git] / mcs / mcs / ecore.cs
index 6f1b80596d04cf30d046b1c8439575558d1e2283..ad4faf3ce242d67a81f170f9c4620b757e438fac 100644 (file)
@@ -5050,7 +5050,7 @@ namespace Mono.CSharp {
 
                                                                // The slot has been taken by positional argument
                                                                if (temp != null && !(temp is NamedArgument))
-                                                                       break;
+                                                                       return NamedArgumentsMismatch - i - 1;
                                                        }
 
                                                        if (!arg_moved) {