File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/tests/Loader/AssemblyLoadContext30Extensions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11// Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
3+
34using System ;
45using System . Reflection ;
56using System . Reflection . Emit ;
@@ -218,7 +219,7 @@ public static void GetLoadContextForDynamicAssembly(bool isCollectible)
218219 assemblyBuilder = AssemblyBuilder . DefineDynamicAssembly ( assemblyName , AssemblyBuilderAccess . RunAndCollect ) ;
219220 }
220221
221- AssemblyLoadContext ? context = AssemblyLoadContext . GetLoadContext ( assemblyBuilder ) ;
222+ AssemblyLoadContext context = AssemblyLoadContext . GetLoadContext ( assemblyBuilder ) ;
222223
223224 Assert ( context != null ) ;
224225 Assert ( alc == context ) ;
You can’t perform that action at this time.
0 commit comments