private static Color ToColor(LateBindColors value) { switch (value) { case LateBindColors.Empty: return Color.Empty; case LateBindColors.Window: return SystemColors.Window; case LateBindColors.WindowText: return SystemColors.WindowText; } Debug.Assert(false, "should not reach here"); return Color.Empty; }
private static Color ToColor(LateBindColors value) { switch (value) { case LateBindColors.Empty: return(Color.Empty); case LateBindColors.Window: return(SystemColors.Window); case LateBindColors.WindowText: return(SystemColors.WindowText); } Debug.Assert(false, "should not reach here"); return(Color.Empty); }