Beispiel #1
0
 public static void CallMethodViaField()
 {
     ValueTypes.ReadOnlyS.SetField();
     ValueTypes.MutableS.SetField();
     ValueTypes.S mutableS = ValueTypes.MutableS;
     mutableS.SetField();
 }
Beispiel #2
0
 public static ValueTypes.S OnlyChangeTheCopy(ValueTypes.S p)
 {
     ValueTypes.S s = p;
     s.SetField();
     return(p);
 }