2004-10-14 Umadevi S <sumadevi@novell.com>
[mono.git] / mcs / gmcs / delegate.cs
index a17920bae929648597fa6ad794f5374447230d6c..617f4bc15610148790e2b615ab3890db215640bc 100644 (file)
@@ -879,7 +879,7 @@ namespace Mono.CSharp {
                        Type e_type = e.Type;
 
                        if (!TypeManager.IsDelegateType (e_type)) {
-                               e.Error_UnexpectedKind ("method");
+                               e.Error_UnexpectedKind ("method", loc);
                                return null;
                        }