File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Regressions/coreclr/GitHub_115667 Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,16 @@ public async Task<bool> M8()
1919 }
2020}
2121
22- public class Program
22+ public class Runtime_115667
2323{
2424 [ Fact ]
25- public static int TestEntryPoint ( )
25+ public static void TestEntryPoint ( )
2626 {
2727 System . Runtime . Loader . AssemblyLoadContext alc = new CollectibleALC ( ) ;
2828 System . Reflection . Assembly asm = alc . LoadFromAssemblyPath ( System . Reflection . Assembly . GetExecutingAssembly ( ) . Location ) ;
2929 System . Reflection . MethodInfo mi = asm . GetType ( typeof ( Program ) . FullName ) . GetMethod ( nameof ( MainInner ) ) ;
3030 System . Type runtimeTy = asm . GetType ( typeof ( Runtime ) . FullName ) ;
3131 mi . Invoke ( null , new object [ ] { System . Activator . CreateInstance ( runtimeTy ) } ) ;
32-
33- return 100 ;
3432 }
3533
3634 public static void MainInner ( IRuntime rt )
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3+ <Optimize >True</Optimize >
34 <CLRTestPriority >1</CLRTestPriority >
45 </PropertyGroup >
56 <ItemGroup >
Original file line number Diff line number Diff line change 952952 <ExcludeList Include =" $(XunitTestBinBase)/JIT/Regression/JitBlue/Runtime_90219/Runtime_90219/**" >
953953 <Issue >https://github.com/dotnet/runtimelab/issues/155: Assembly.Load</Issue >
954954 </ExcludeList >
955+ <ExcludeList Include =" $(XunitTestBinBase)/Regressions/coreclr/GitHub_115667/**" >
956+ <Issue >https://github.com/dotnet/runtimelab/issues/155: Assembly.Load</Issue >
957+ </ExcludeList >
955958 <ExcludeList Include =" $(XunitTestBinBase)/reflection\DefaultInterfaceMethods\Emit\*" >
956959 <Issue >https://github.com/dotnet/runtimelab/issues/155: Reflection.Emit</Issue >
957960 </ExcludeList >
30643067 <ExcludeList Include =" $(XunitTestBinBase)/JIT/Regression/JitBlue/Runtime_90219/Runtime_90219/*" >
30653068 <Issue >Loads an assembly from file</Issue >
30663069 </ExcludeList >
3070+ <ExcludeList Include =" $(XunitTestBinBase)/Regressions/coreclr/GitHub_115667/**" >
3071+ <Issue >Loads an assembly from file</Issue >
3072+ </ExcludeList >
30673073 </ItemGroup >
30683074
30693075 <!-- Apple mobile NativeAOT -->
You can’t perform that action at this time.
0 commit comments