private void SetStatProperty(ref int field, int value) { if (field != value) IsDirty = true; field = value; }