We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65ab1c commit c55ffedCopy full SHA for c55ffed
src/System.Private.CoreLib/shared/System/Runtime/Loader/AssemblyLoadContext.cs
@@ -511,7 +511,7 @@ public ContextualReflectionScope EnterContextualReflection()
511
public static ContextualReflectionScope EnterContextualReflection(Assembly? activating)
512
{
513
return activating != null ?
514
- GetLoadContext(activating)?.EnterContextualReflection() ?? default :
+ GetLoadContext(activating)!.EnterContextualReflection() : // TODO-NULLABLE: https://github.com/dotnet/coreclr/issues/23952
515
new ContextualReflectionScope(null);
516
}
517
0 commit comments