示例#1
0
 /// <summary>
 /// Method test.
 /// </summary>
 /// <param name="param1">Ref struct param 1.</param>
 /// <param name="param2">Ref struct param 2.</param>
 /// <returns>Ref struct value.</returns>
 public RefStruct Method(RefStruct param1, RefStruct param2)
 {
     return(param1);
 }
示例#2
0
 /// <summary>
 /// Method.
 /// </summary>
 /// <param name="other">Ref struct param.</param>
 /// <returns>Ref struct return value.</returns>
 public RefStruct Method(RefStruct other)
 {
     return(new RefStruct(other.Field, other.Property));
 }
示例#3
0
 /// <summary>
 /// Method test.
 /// </summary>
 /// <param name="param">Ref struct param.</param>
 /// <returns>Ref struct value.</returns>
 public RefStruct Method(RefStruct param)
 {
     return(param);
 }