-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 () {
+}
+}