linux-packaging-mono/mcs/tests/gtest-partial-010.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

40 lines
372 B
C#

using System;
namespace A
{
interface IA<T>
{
int Foo (T value);
}
internal partial class C : IA<C.NA>
{
private abstract class NA
{
}
int IA<NA>.Foo (NA value)
{
return 0;
}
static void Main ()
{
}
}
}
namespace A
{
internal partial class C : IA<C.NB>
{
private class NB
{
}
int IA<NB>.Foo (NB value)
{
return 0;
}
}
}