Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74f6e37

Browse files
committed
Sync with latest ReClass.NET changes.
1 parent fe1de97 commit 74f6e37

2 files changed

Lines changed: 7 additions & 13 deletions

File tree

‎Forms/ScriptEditorForm.Designer.cs‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎PythonScriptingPluginExt.cs‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Drawing;
4-
using System.Linq;
54
using System.Windows.Forms;
65
using IronPython.Hosting;
76
using Microsoft.Scripting.Hosting;
@@ -27,12 +26,7 @@ public override bool Initialize(IPluginHost pluginHost)
2726
Terminate();
2827
}
2928

30-
if (pluginHost == null)
31-
{
32-
throw new ArgumentNullException(nameof(pluginHost));
33-
}
34-
35-
host = pluginHost;
29+
host = pluginHost ?? throw new ArgumentNullException(nameof(pluginHost));
3630

3731
engine = Python.CreateEngine();
3832
engine.Runtime.LoadAssembly(typeof(IntPtr).Assembly); // System.dll

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /