[msvc] Update csproj files
[mono.git] / mcs / tests / test-542.cs
index 46e44c8a4fb18f99c474ceff5fb381869ba5b48f..6acf8e3df3a36c5dcb1068e6caadb2db75b29d76 100644 (file)
@@ -1,18 +1,27 @@
-class C
-{
-       static void Test (C arg)
+//
+// See bug 78113
+//     
+
+public struct ARec
        {
+               decimal mVal;
+               public ARec(decimal val)
+               {
+                       mVal = Round(val, 1); 
+               }
+
+               decimal Round(int digits)
+               {
+                       return Round(mVal, digits);
+               }
+
+               static decimal Round(decimal val, int digits)
+               {
+                       return 0;
+               }
        }
-       
-       public static void Main ()
-       {
-               object value = null;
-               C.Test(
-#if true
-               (C)
-#else
-               no error here
-#endif
-               value);
-       }
-}
\ No newline at end of file
+
+class X {
+public static void Main () {
+}
+}