a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
40 lines
445 B
C#
40 lines
445 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Foo
|
|
{
|
|
|
|
static partial class Extensions
|
|
{
|
|
}
|
|
|
|
static partial class Extensions
|
|
{
|
|
|
|
public static string AsString (this IList<byte> bytes)
|
|
{
|
|
return "42";
|
|
}
|
|
}
|
|
}
|
|
|
|
namespace Bar
|
|
{
|
|
|
|
using Foo;
|
|
|
|
class Program
|
|
{
|
|
|
|
public static void Main ()
|
|
{
|
|
Console.WriteLine (Pan (new byte[0]));
|
|
}
|
|
|
|
internal static string Pan (byte[] bytes)
|
|
{
|
|
return bytes.AsString ();
|
|
}
|
|
}
|
|
}
|