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

A bunch of random improvements #58

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Windows10CE
Copy link
Contributor

No description provided.

@@ -115,12 +117,13 @@ await GetPackageDependencies(

foreach (var path in libraries)
{
var assembly = Assembly.LoadFrom(path);
if (context.TryAddReferenceAssembly(assembly))
var asm = Assembly.LoadFile(path);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
var asm = Assembly.LoadFile(path);
var assembly = Assembly.LoadFile(path);

CSharpRepl/Eval/Globals.cs Show resolved Hide resolved
CSharpRepl/Eval/Globals.cs Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think these should be split into separate files at this point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can do that, was just leaving it as I found it originally

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I think we should for the sake of maintainability for now.

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.

2 participants