Browse Source

Merge branch 'master' of https://github.com/icsharpcode/ILSpy

pull/1010/head
Christoph Wille 8 years ago
parent
commit
6aefbdf63e
  1. 2
      ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs

2
ICSharpCode.Decompiler/DotNetCore/DotNetCorePathFinder.cs

@ -93,7 +93,7 @@ namespace ICSharpCode.Decompiler
foreach (var library in libraries) { foreach (var library in libraries) {
var type = library.Value["type"].AsString; var type = library.Value["type"].AsString;
var path = library.Value["path"].AsString; var path = library.Value["path"].AsString;
var runtimeInfo = runtimeInfos[library.Key]["runtime"].AsJsonObject; var runtimeInfo = runtimeInfos[library.Key].AsJsonObject?["runtime"].AsJsonObject;
string[] components = new string[runtimeInfo?.Count ?? 0]; string[] components = new string[runtimeInfo?.Count ?? 0];
if (runtimeInfo != null) { if (runtimeInfo != null) {
int i = 0; int i = 0;

Loading…
Cancel
Save