@@ -682,31 +682,31 @@ public void TrimmingOptions_are_defaulted_correctly_on_trimmed_apps(string targe
682682 {
683683 JObject runtimeConfig = JObject . Parse ( runtimeConfigContents ) ;
684684 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
685- [ "Internal.Runtime.InteropServices.ComponentActivator.IsSupported " ] . Value < bool > ( )
685+ [ "System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization " ] . Value < bool > ( )
686686 . Should ( ) . BeFalse ( ) ;
687687 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
688- [ "Internal.Runtime.InteropServices.InMemoryAssemblyLoader.IsSupported " ] . Value < bool > ( )
688+ [ "System.Resources.ResourceManager.AllowCustomResourceTypes " ] . Value < bool > ( )
689689 . Should ( ) . BeFalse ( ) ;
690690 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
691- [ "System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization " ] . Value < bool > ( )
691+ [ "System.Runtime.InteropServices.BuiltInComInterop.IsSupported " ] . Value < bool > ( )
692692 . Should ( ) . BeFalse ( ) ;
693693 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
694- [ "System.Resources.ResourceManager.AllowCustomResourceTypes " ] . Value < bool > ( )
694+ [ "System.Runtime.InteropServices.CallingManagedFunctionFromNativeHosting.IsSupported " ] . Value < bool > ( )
695695 . Should ( ) . BeFalse ( ) ;
696696 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
697- [ "System.Runtime.InteropServices.BuiltInComInterop .IsSupported" ] . Value < bool > ( )
697+ [ "System.Runtime.InteropServices.CPlusPlusCLIHostActivation .IsSupported" ] . Value < bool > ( )
698698 . Should ( ) . BeFalse ( ) ;
699699 runtimeConfig [ "runtimeOptions" ] [ "configProperties" ]
700700 [ "System.StartupHookProvider.IsSupported" ] . Value < bool > ( )
701701 . Should ( ) . BeFalse ( ) ;
702702 }
703703 else
704704 {
705- runtimeConfigContents . Should ( ) . NotContain ( "Internal.Runtime.InteropServices.ComponentActivator.IsSupported" ) ;
706- runtimeConfigContents . Should ( ) . NotContain ( "Internal.Runtime.InteropServices.InMemoryAssemblyLoader.IsSupported" ) ;
707705 runtimeConfigContents . Should ( ) . NotContain ( "System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization" ) ;
708706 runtimeConfigContents . Should ( ) . NotContain ( "System.Resources.ResourceManager.AllowCustomResourceTypes" ) ;
709707 runtimeConfigContents . Should ( ) . NotContain ( "System.Runtime.InteropServices.BuiltInComInterop.IsSupported" ) ;
708+ runtimeConfigContents . Should ( ) . NotContain ( "System.Runtime.InteropServices.CallingManagedFunctionFromNativeHosting.IsSupported" ) ;
709+ runtimeConfigContents . Should ( ) . NotContain ( "System.Runtime.InteropServices.CPlusPlusCLIHostActivation.IsSupported" ) ;
710710 runtimeConfigContents . Should ( ) . NotContain ( "System.StartupHookProvider.IsSupported" ) ;
711711 }
712712 }
0 commit comments