Author: martin
Date: 2005-12-08 12:11:03 -0500 (Thu, 08 Dec 2005)
New Revision: 54114
Modified:
trunk/mcs/errors/gcs0411-4.cs
trunk/mcs/errors/gcs0425-2.cs
trunk/mcs/errors/gcs0425.cs
trunk/mcs/errors/gcs0452-2.cs
Log:
Updated error messages.
Modified: trunk/mcs/errors/gcs0411-4.cs
===================================================================
--- trunk/mcs/errors/gcs0411-4.cs 2005-12-08 17:06:56 UTC (rev 54113)
+++ trunk/mcs/errors/gcs0411-4.cs 2005-12-08 17:11:03 UTC (rev 54114)
@@ -1,4 +1,4 @@
-// gcs0411.cs: The type arguments for method `T X.G()' cannot be infered from
the usage. Try specifying the type arguments explicitly
+// gcs0411.cs: The type arguments for method `T X.G<T>()' cannot be infered
from the usage. Try specifying the type arguments explicitly
// Line: 17
using System;
Modified: trunk/mcs/errors/gcs0425-2.cs
===================================================================
--- trunk/mcs/errors/gcs0425-2.cs 2005-12-08 17:06:56 UTC (rev 54113)
+++ trunk/mcs/errors/gcs0425-2.cs 2005-12-08 17:11:03 UTC (rev 54114)
@@ -1,4 +1,4 @@
-// CS0425: The constraints for type parameter `V' of method `Foo<T>.Test()'
must match the constraints for type parameter `U' of interface method
`IFoo<T>.Test()'. Consider using an explicit interface implementation instead
+// CS0425: The constraints for type parameter `V' of method `Foo<T>.Test<V>()'
must match the constraints for type parameter `U' of interface method
`IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead
// Line: 13
interface IFoo<T>
{
Modified: trunk/mcs/errors/gcs0425.cs
===================================================================
--- trunk/mcs/errors/gcs0425.cs 2005-12-08 17:06:56 UTC (rev 54113)
+++ trunk/mcs/errors/gcs0425.cs 2005-12-08 17:11:03 UTC (rev 54114)
@@ -1,4 +1,4 @@
-// CS0425: The constraints for type parameter `V' of method `Foo<T>.Test()'
must match the constraints for type parameter `U' of interface method
`IFoo<T>.Test()'. Consider using an explicit interface implementation instead
+// CS0425: The constraints for type parameter `V' of method `Foo<T>.Test<V>()'
must match the constraints for type parameter `U' of interface method
`IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead
// Line: 12
interface IFoo<T>
{
Modified: trunk/mcs/errors/gcs0452-2.cs
===================================================================
--- trunk/mcs/errors/gcs0452-2.cs 2005-12-08 17:06:56 UTC (rev 54113)
+++ trunk/mcs/errors/gcs0452-2.cs 2005-12-08 17:11:03 UTC (rev 54114)
@@ -1,4 +1,4 @@
-// CS0452: The type 'int' must be a reference type in order to use it as type
parameter 'T' in the generic type or method 'Foo.Test<T>(ref T)'
+// CS0452: The type `int' must be a reference type in order to use it as type
parameter `T' in the generic type or method `Foo.Test<T>(ref T)'
// Line: 14
public class Foo
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches