Exemplo n.º 1
0
 public static void M(ref MyStruct @this)
 {
     @this.SomeMethod();
 }
Exemplo n.º 2
0
 public static int M(ref MyStruct @this)
 {
     return(@this.ROField);
 }
Exemplo n.º 3
0
        public static void M(ref MyStruct @this)
        {
            MyStruct myStruct = @this;

            myStruct.count = 0;
        }