// Token: 0x06000339 RID: 825 RVA: 0x000091F8 File Offset: 0x000073F8
 private static void SetDisableLegacyDangerousXamlDeserializationMode(NameValueCollection appSettings)
 {
     if (appSettings == null || !FrameworkCompatibilityPreferences.SetDisableLegacyDangerousXamlDeserializationModeFromAppSettings(appSettings))
     {
         FrameworkCompatibilityPreferences.SetDisableLegacyDangerousXamlDeserializationModeFromRegistry();
     }
 }
        // Token: 0x0600031C RID: 796 RVA: 0x00008D1C File Offset: 0x00006F1C
        static FrameworkCompatibilityPreferences()
        {
            FrameworkCompatibilityPreferences._targetsDesktop_V4_0 = (BinaryCompatibility.AppWasBuiltForFramework == TargetFrameworkId.NetFramework && !BinaryCompatibility.TargetsAtLeast_Desktop_V4_5);
            NameValueCollection nameValueCollection = null;

            try
            {
                nameValueCollection = ConfigurationManager.AppSettings;
            }
            catch (ConfigurationErrorsException)
            {
            }
            if (nameValueCollection != null)
            {
                FrameworkCompatibilityPreferences.SetHandleTwoWayBindingToPropertyWithNonPublicSetterFromAppSettings(nameValueCollection);
                FrameworkCompatibilityPreferences.SetUseSetWindowPosForTopmostWindowsFromAppSettings(nameValueCollection);
                FrameworkCompatibilityPreferences.SetVSP45CompatFromAppSettings(nameValueCollection);
                FrameworkCompatibilityPreferences.SetScrollingTraceFromAppSettings(nameValueCollection);
                FrameworkCompatibilityPreferences.SetShouldThrowOnCopyOrCutFailuresFromAppSettings(nameValueCollection);
                FrameworkCompatibilityPreferences.SetDisableLegacyDangerousXamlDeserializationMode(nameValueCollection);
                FrameworkCompatibilityPreferences.SetShouldThrowOnDataGridCopyOrCutFailuresFromAppSettings(nameValueCollection);
            }
        }
 // Token: 0x06000320 RID: 800 RVA: 0x00008E7C File Offset: 0x0000707C
 internal static bool GetAreInactiveSelectionHighlightBrushKeysSupported()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.AreInactiveSelectionHighlightBrushKeysSupported);
 }
 // Token: 0x0600033E RID: 830 RVA: 0x000092F0 File Offset: 0x000074F0
 internal static bool GetShouldThrowOnDataGridCopyOrCutFailure()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.ShouldThrowOnDataGridCopyOrCutFailure);
 }
 // Token: 0x06000331 RID: 817 RVA: 0x00009149 File Offset: 0x00007349
 internal static string GetScrollingTraceFile()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences._scrollingTraceFile);
 }
 // Token: 0x0600032E RID: 814 RVA: 0x00009108 File Offset: 0x00007308
 internal static bool GetVSP45Compat()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.VSP45Compat);
 }
 // Token: 0x0600032A RID: 810 RVA: 0x00009060 File Offset: 0x00007260
 internal static bool GetUseSetWindowPosForTopmostWindows()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.UseSetWindowPosForTopmostWindows);
 }
 // Token: 0x06000326 RID: 806 RVA: 0x00008F9C File Offset: 0x0000719C
 internal static FrameworkCompatibilityPreferences.HandleBindingOptions GetHandleTwoWayBindingToPropertyWithNonPublicSetter()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.HandleTwoWayBindingToPropertyWithNonPublicSetter);
 }
 // Token: 0x06000323 RID: 803 RVA: 0x00008EFC File Offset: 0x000070FC
 internal static bool GetKeepTextBoxDisplaySynchronizedWithTextProperty()
 {
     FrameworkCompatibilityPreferences.Seal();
     return(FrameworkCompatibilityPreferences.KeepTextBoxDisplaySynchronizedWithTextProperty);
 }