Clone( this MingwCommon.ICommonCompilerSettings settings, MingwCommon.ICommonCompilerSettings other) { settings.AllWarnings = other.AllWarnings; settings.ExtraWarnings = other.ExtraWarnings; settings.Pedantic = other.Pedantic; settings.Visibility = other.Visibility; }
Delta( this MingwCommon.ICommonCompilerSettings delta, MingwCommon.ICommonCompilerSettings lhs, MingwCommon.ICommonCompilerSettings rhs) { delta.AllWarnings = (lhs.AllWarnings != rhs.AllWarnings) ? lhs.AllWarnings : null; delta.ExtraWarnings = (lhs.ExtraWarnings != rhs.ExtraWarnings) ? lhs.ExtraWarnings : null; delta.Pedantic = (lhs.Pedantic != rhs.Pedantic) ? lhs.Pedantic : null; delta.Visibility = (lhs.Visibility != rhs.Visibility) ? lhs.Visibility : null; }
Intersect( this MingwCommon.ICommonCompilerSettings shared, MingwCommon.ICommonCompilerSettings other) { if (shared.AllWarnings != other.AllWarnings) { shared.AllWarnings = null; } if (shared.ExtraWarnings != other.ExtraWarnings) { shared.ExtraWarnings = null; } if (shared.Pedantic != other.Pedantic) { shared.Pedantic = null; } if (shared.Visibility != other.Visibility) { shared.Visibility = null; } }