You've already forked linux-packaging-mono
Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
This commit is contained in:
parent
cf815e07e0
commit
95fdb59ea6
49
external/api-doc-tools/mdoc/mdoc.Test/SampleClasses/TestClass.cs
vendored
Normal file
49
external/api-doc-tools/mdoc/mdoc.Test/SampleClasses/TestClass.cs
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
using System;
|
||||
namespace mdoc.Test.SampleClasses
|
||||
{
|
||||
public class TestClass
|
||||
{
|
||||
public TestClass () { }
|
||||
// private constructor
|
||||
TestClass (TestPrivateClass arg) { }
|
||||
|
||||
// Unary Operators
|
||||
public static TestClass operator + (TestClass c1) { return new TestClass (); }
|
||||
public static TestClass operator - (TestClass c1) { return new TestClass (); }
|
||||
public static TestClass operator ! (TestClass c1) { return new TestClass (); }
|
||||
public static TestClass operator ~ (TestClass c1) { return new TestClass (); }
|
||||
public static TestClass operator ++ (TestClass c1) { return new TestClass (); }
|
||||
public static TestClass operator -- (TestClass c1) { return new TestClass (); }
|
||||
|
||||
// Binary Operators
|
||||
public static TestClass operator + (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator - (TestClass c1, TestClass c2) {return new TestClass (); }
|
||||
public static TestClass operator / (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator * (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator % (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator & (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator | (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator ^ (TestClass c1, TestClass c2) { return new TestClass (); }
|
||||
public static TestClass operator << (TestClass c1, int c2) { return new TestClass (); }
|
||||
public static TestClass operator >> (TestClass c1, int c2) { return new TestClass (); }
|
||||
|
||||
// Comparison Operators
|
||||
public static bool operator true (TestClass c1) { return false; }
|
||||
public static bool operator false (TestClass c1) { return false; }
|
||||
public static bool operator == (TestClass c1, TestClass c2) { return true; }
|
||||
public static bool operator != (TestClass c1, TestClass c2) { return true; }
|
||||
public static bool operator < (TestClass c1, TestClass c2) { return true; }
|
||||
public static bool operator > (TestClass c1, TestClass c2) { return true; }
|
||||
public static bool operator <= (TestClass c1, TestClass c2) { return true; }
|
||||
public static bool operator >= (TestClass c1, TestClass c2) { return true; }
|
||||
|
||||
// Conversion Operators
|
||||
public static implicit operator TestClassTwo (TestClass c1) { return new TestClassTwo (); }
|
||||
public static implicit operator TestClass (TestClassTwo c1) { return new TestClass (); }
|
||||
public static explicit operator int (TestClass c1) { return 0; }
|
||||
public static explicit operator TestClass (int c1) { return new TestClass (); }
|
||||
|
||||
public void DoSomethingWithParams (params int[] values) { }
|
||||
public void RefAndOut (ref int a, out int b) { b = 1; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user