[mcs] Don't do constraints on fabricated generic methods. Fixes #47672
[mono.git] / mcs / tests / test-pattern-01.cs
index f9d627f0e67d4326b4920b3b643b8f8075fd5e35..6db67fb16726fcc16c64a92e004451554f8ff008 100644 (file)
@@ -7,7 +7,7 @@ class TypePattern
        public static int Main ()
        {
                object o = 3;
-               bool r = o is string t1;
+               bool r = o is System.String t1;
                if (t1 != null)
                        return 1;