[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs1502-7.cs
blob524c98240d4b3ecea408bd3b17043fb1855cd23b
1 // CS1502: The best overloaded method match for `TestCase.TestS(ref object)' has some invalid arguments
2 // Line: 21
4 using System;
6 public struct Struct {
7 public int x, y, z;
10 public class TestCase {
12 public static void Main() {
14 Struct s = new Struct();
16 s.x = 1;
17 s.y = 2;
19 System.Console.WriteLine("{0} {1} {2}", s.x, s.y, s.z);
21 TestS(ref s);
24 public static void TestS(ref object ino) {
25 System.Console.WriteLine("{0}", ((Struct)(ino)).x);