cs0176.cs 197 B

1234567891011121314
  1. // cs0176.cs: cannot be accessed with an instance reference, use typename instead
  2. // Line: 12
  3. class X {
  4. static void void_method ()
  5. {
  6. }
  7. }
  8. class Y {
  9. void m (X arg)
  10. {
  11. arg.void_method ();
  12. }
  13. }