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

AssemblyLoader.Load should not throw if loading fails. #1072

Merged
merged 3 commits into from
Jan 29, 2018

Conversation

bjorkstromm
Copy link
Member

@filipw mentioned this in Slack.

Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

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

makes sense to me

Copy link

@rchande rchande left a comment

Choose a reason for hiding this comment

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

Looks like the

try
{
result = Assembly.Load(name);
_logger.LogTrace($"Assembly loaded: {name}");
Copy link

Choose a reason for hiding this comment

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

Looks like the only consumer of this method already checks for null; sounds good.

@rchande
Copy link

rchande commented Jan 3, 2018

(opening and closing to retrigger travis)

@rchande rchande closed this Jan 3, 2018
@rchande rchande reopened this Jan 3, 2018
@DustinCampbell
Copy link
Contributor

Looks like the macOS machines are slower and slower. I kicked Travis directly.

@filipw filipw merged commit b2079e1 into OmniSharp:master Jan 29, 2018
@bjorkstromm bjorkstromm deleted the assembly-load-not-throw branch January 29, 2018 09:17
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.

4 participants