public void NotOK(SelfAssigns obj, int y) { this[4] = this[4]; y = y; obj.y = obj.y; z = this.z; this.z = z; obj.Normal1 = obj.Normal1; obj.Normal2 = obj.Normal2; base.IntField = IntField; this.BoolProp = base.BoolProp; this.Self.Self.Self.StringProp = Self.Self.Self.StringProp; intArray[1] = this.intArray[1 + 0]; }
public void OK(SelfAssigns obj, int x) { obj.x = x; x = this.x; this.x = x; obj.Weird1 = obj.Weird1; obj.Weird2 = obj.Weird2; base.StringProp = this.StringProp; this.Self.Self.Self.IntField = Self.Self.IntField; intArray[0] = intArray[1]; new SelfAssigns { StringProp = StringProp }; }