object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { label_1: int num1 = 1262588566; object obj; while (true) { int num2 = 1417419787; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_1; case 1: obj = EnumDisplayer.\u206C(this.reverseValues, value); num1 = (int)num3 * -879907201 ^ 384742849; continue; default: goto label_4; } } label_4: return(obj); }
object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture) { label_1: int num1 = 1308622546; object obj; while (true) { int num2 = 790427120; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_1; case 1: obj = EnumDisplayer.\u206C(this.displayValues, value); num1 = (int)num3 * -252997162 ^ 1256075847; continue; default: goto label_4; } } label_4: return(obj); }
private string GetBackupDisplayStringValue(object enumValue) { label_1: int num1 = 1562312516; string str; while (true) { int num2 = 2031066544; uint num3; EnumDisplayEntry enumDisplayEntry; bool flag1; bool flag2; int num4; switch ((num3 = (uint)(num1 ^ num2)) % 17U) { case 0: int num5 = !enumDisplayEntry.ExcludeFromDisplay ? -253445085 : (num5 = -1701430289); int num6 = (int)num3 * 1766991599; num1 = num5 ^ num6; continue; case 1: num1 = (int)num3 * -560647738 ^ -2057305710; continue; case 2: str = EnumDisplayer.\u202B(this.type, enumValue); num1 = 859546488; continue; case 3: num1 = (int)num3 * -2050232411 ^ 809915170; continue; case 4: num1 = (int)num3 * 1348263302 ^ -1218646489; continue; case 5: str = enumDisplayEntry.DisplayString; num1 = 1216362591; continue; case 6: num4 = this.overriddenDisplayEntries.Count > 0 ? 1 : 0; break; case 7: int num7 = flag2 ? 281541071 : (num7 = 792874195); int num8 = (int)num3 * -301459149; num1 = num7 ^ num8; continue; case 8: int num9 = !flag1 ? -736608832 : (num9 = -651898937); int num10 = (int)num3 * -1271100938; num1 = num9 ^ num10; continue; case 10: flag2 = enumDisplayEntry != null; num1 = (int)num3 * 1857218749 ^ -1710311804; continue; case 11: num1 = 1956520040; continue; case 12: if (this.overriddenDisplayEntries != null) { num1 = (int)num3 * 384365123 ^ -1491816761; continue; } num4 = 0; break; case 13: goto label_1; case 14: num1 = (int)num3 * -2090641236 ^ 1553922600; continue; case 15: str = (string)null; num1 = (int)num3 * -7608983 ^ -1038558287; continue; case 16: enumDisplayEntry = this.overriddenDisplayEntries.Find((Predicate <EnumDisplayEntry>)(entry => { label_1: int num2 = -1643299051; bool flag; while (true) { int num3 = -1533895432; uint num4; object obj; switch ((num4 = (uint)(num2 ^ num3)) % 4U) { case 0: // ISSUE: reference to a compiler-generated method flag = EnumDisplayer.\u003C\u003Ec__DisplayClass14_0.\u206A(enumValue, obj); num2 = (int)num4 * 1472086931 ^ -1747827382; continue; case 1: // ISSUE: reference to a compiler-generated method obj = EnumDisplayer.\u003C\u003Ec__DisplayClass14_0.\u202A(this.type, entry.EnumValue); num2 = (int)num4 * -161051631 ^ -919322247; continue; case 3: goto label_1; default: goto label_5; } } label_5: return(flag); })); num1 = (int)num3 * 1926275068 ^ -2010827727; continue; default: goto label_21; } flag1 = num4 != 0; num1 = 1953296780; } label_21: return(str); }
private string GetDisplayStringValue(DisplayStringAttribute[] a) { label_1 : int num1 = -1721120555; string str; while (true) { int num2 = -1336548971; uint num3; DisplayStringAttribute displayStringAttribute; bool flag; int num4; switch ((num3 = (uint)(num1 ^ num2)) % 12U) { case 0: goto label_1; case 2: str = EnumDisplayer.\u206C(EnumDisplayer.\u200D(this.type), displayStringAttribute.ResourceKey); num1 = (int)num3 * -1457779634 ^ -1807636205; continue; case 3: num1 = (int)num3 * -132182014 ^ -1214905406; continue; case 4: str = (string)null; num1 = (int)num3 * 673234991 ^ 862930176; continue; case 5: displayStringAttribute = a[0]; num1 = -1771017488; continue; case 6: int num5 = !flag ? 248242922 : (num5 = 1122784719); int num6 = (int)num3 * -1896933807; num1 = num5 ^ num6; continue; case 7: num4 = a.Length == 0 ? 1 : 0; break; case 8: if (a != null) { num1 = (int)num3 * -1824535374 ^ 1958839502; continue; } num4 = 1; break; case 9: int num7 = EnumDisplayer.\u206A(displayStringAttribute.ResourceKey) ? 548424918 : (num7 = 1371863827); int num8 = (int)num3 * 836190504; num1 = num7 ^ num8; continue; case 10: num1 = (int)num3 * 2134580141 ^ 909862854; continue; case 11: str = displayStringAttribute.Value; num1 = -1939915942; continue; default: goto label_16; } flag = num4 != 0; num1 = -1797439413; } label_16: return(str); }