Пример #1
0
 public static Data op_Addition(Data data1, Data data2)
 {
     Trace.WriteLine(Functions.GetCurrentName()); // op_Addition
     return(new Data(data1.value + data2.value));
 }
Пример #2
0
 public static int op_Explicit(Data data)
 {
     Trace.WriteLine(Functions.GetCurrentName()); // op_Explicit
     return(data.value);
 }
Пример #3
0
 internal static long ExtensionAdd(this Data @this, int value1, long value2)
 {
     return(@this.value + value1 + value2);
 }