Skip to content

Commit c55ffed

Browse files
committed
PR Feedback
1 parent e65ab1c commit c55ffed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public ContextualReflectionScope EnterContextualReflection()
511511
public static ContextualReflectionScope EnterContextualReflection(Assembly? activating)
512512
{
513513
return activating != null ?
514-
GetLoadContext(activating)?.EnterContextualReflection() ?? default :
514+
GetLoadContext(activating)!.EnterContextualReflection() : // TODO-NULLABLE: https://github.com/dotnet/coreclr/issues/23952
515515
new ContextualReflectionScope(null);
516516
}
517517

0 commit comments

Comments
 (0)