Merge pull request #2757 from akoeplinger/fix-coreclr-test
[mono.git] / mcs / tools / mdoc / Test / DocTest-InternalInterface.cs
1 namespace MyNamespace {
2         internal interface MyInternalInterface {
3                 bool Foo {get;set;}
4                 string FooSet {set;}
5                 void FooMeth ();
6                 void BarMeth ();
7         }
8
9         public class MyClass : MyInternalInterface {
10                 public string Bar {get;set;}
11                 public void BarMeth () {} // part of the interface, but publicly implemented
12
13                 string MyInternalInterface.FooSet {set {}}
14                 bool MyInternalInterface.Foo {get;set;}
15                 void MyInternalInterface.FooMeth () {}
16         }
17 }