a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
407 B
C#
30 lines
407 B
C#
// Compiler options: -doc:xml-019.xml
|
|
using System;
|
|
|
|
namespace Testing
|
|
{
|
|
public class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// comment for unary operator
|
|
/// </summary>
|
|
public static bool operator ! (Test t)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/// <summary>
|
|
/// comment for binary operator
|
|
/// </summary>
|
|
public static int operator + (Test t, int b)
|
|
{
|
|
return b;
|
|
}
|
|
}
|
|
}
|
|
|