Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure we run adapter tests for all supported TFMs #1267

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

Evangelink
Copy link
Member

No description provided.

@@ -160,7 +160,7 @@ internal static string GetLoadExceptionDetails(ReflectionTypeLoadException ex)
var map = new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase); // Exception -> null.
var errorDetails = new StringBuilder();

if (ex.LoaderExceptions != null)
if (ex.LoaderExceptions?.Length > 0)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a change of behavior on .NET where we now have empty array instead of null.

@Evangelink Evangelink merged commit f1db7e9 into microsoft:main Sep 22, 2022
@Evangelink Evangelink deleted the adapter-tests branch September 22, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant