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

            myStruct.count = 0;
        }