linux-packaging-mono/external/api-doc-tools/mdoc/Test/DocTest-InternalInterface.cs
Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

26 lines
662 B
C#

namespace MyNamespace {
internal interface MyInternalInterface {
bool Foo {get;set;}
string FooSet {set;}
void FooMeth ();
void BarMeth ();
}
public class MyClass : MyInternalInterface {
[System.ComponentModel.DefaultValue ('\0')]
public string Bar {get;set;}
public void BarMeth () {} // part of the interface, but publicly implemented
string MyInternalInterface.FooSet {set {}}
bool MyInternalInterface.Foo {get;set;}
void MyInternalInterface.FooMeth () {}
}
public static class ArrayX10 {
public static bool IsAligned<T> (this T[] vect, int index) where T : struct
{
return false;
}
}
}