linux-packaging-mono/mcs/tests/gtest-exmethod-28.cs

29 lines
290 B
C#
Raw Normal View History

using System;
class Foo { }
static partial class Extensions
{
public static bool IsFoo (this Foo self)
{
return true;
}
}
class Bar { }
partial class Extensions
{
public static bool IsBar (this Bar self)
{
return true;
}
}
class Program
{
public static void Main ()
{
}
}