2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-exmethod-27.cs
blob1220220cf4bcf5f40e5f14da4f9ded86ffe9c453
1 using System;
2 using System.Collections.Generic;
4 namespace Foo
7 static partial class Extensions
11 static partial class Extensions
14 public static string AsString (this IList<byte> bytes)
16 return "42";
21 namespace Bar
24 using Foo;
26 class Program
29 static void Main ()
31 Console.WriteLine (Pan (new byte[0]));
34 internal static string Pan (byte[] bytes)
36 return bytes.AsString ();