From c45f35fd6245eccc36a8bfed96196c618c74ef04 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 31 Oct 2017 10:43:26 +0100 Subject: [PATCH] Fix bug in UniversalAssemblyResolver --- ICSharpCode.Decompiler/DotNetCore/UniversalAssemblyResolver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler/DotNetCore/UniversalAssemblyResolver.cs b/ICSharpCode.Decompiler/DotNetCore/UniversalAssemblyResolver.cs index d8f62d5ff..4d7fc2d22 100644 --- a/ICSharpCode.Decompiler/DotNetCore/UniversalAssemblyResolver.cs +++ b/ICSharpCode.Decompiler/DotNetCore/UniversalAssemblyResolver.cs @@ -14,7 +14,7 @@ namespace ICSharpCode.Decompiler readonly string mainAssemblyFileName; readonly string baseDirectory; readonly Dictionary loadedAssemblyReferences; - readonly List directories; + readonly List directories = new List(); readonly List gac_paths = GetGacPaths(); public static readonly bool OnMono = Type.GetType("Mono.Runtime") != null;