You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
25
external/api-doc-tools/mdoc/Test/DocTest-InternalInterface.cs
vendored
Normal file
25
external/api-doc-tools/mdoc/Test/DocTest-InternalInterface.cs
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user