Better error reporting for async delegates
[mono.git] / mcs / mcs / convert.cs
index 020c842755bf3d1c86cf09fa865cb1e7d15db426..73361860f4d2628218d15a02a0b95d880bdf14b3 100644 (file)
@@ -8,6 +8,7 @@
 //
 // Copyright 2001, 2002, 2003 Ximian, Inc.
 // Copyright 2003-2008 Novell, Inc.
+// Copyright 2011 Xamarin, Inc (http://www.xamarin.com)
 //
 
 using System;
@@ -198,7 +199,7 @@ namespace Mono.CSharp {
                        return ImplicitReferenceConversionExists (expr_type, target_type, true);
                }
 
-               static bool ImplicitReferenceConversionExists (TypeSpec expr_type, TypeSpec target_type, bool refOnlyTypeParameter)
+               public static bool ImplicitReferenceConversionExists (TypeSpec expr_type, TypeSpec target_type, bool refOnlyTypeParameter)
                {
                        // It's here only to speed things up
                        if (target_type.IsStruct)