Permalink
Browse files

Fix #1384: NRE on VS2015 Tools\ILSpy command

  • Loading branch information...
siegfriedpammer committed Jan 7, 2019
1 parent 37a8156 commit 4919b11c30899874c355ffc783cdd888a1ece2ce
Showing with 3 additions and 7 deletions.
  1. +3 −7 ILSpy.AddIn/ILSpyInstance.cs
@@ -22,13 +22,9 @@ public ILSpyParameters(IEnumerable<string> assemblyFileNames, params string[] ar

class ILSpyInstance
{
ILSpyParameters parameters;
readonly ILSpyParameters parameters;

public ILSpyInstance()
{
}

public ILSpyInstance(ILSpyParameters parameters)
public ILSpyInstance(ILSpyParameters parameters = null)
{
this.parameters = parameters;
}
@@ -41,7 +37,7 @@ static string GetILSpyPath()

public void Start()
{
var commandLineArguments = parameters.AssemblyFileNames?.Concat(parameters.Arguments);
var commandLineArguments = parameters?.AssemblyFileNames?.Concat(parameters.Arguments);

var process = new Process() {
StartInfo = new ProcessStartInfo() {

0 comments on commit 4919b11

Please sign in to comment.