diff --git a/DecompilerNuGetDemos.workbook b/DecompilerNuGetDemos.workbook index 36a4562c9..498a46f2e 100644 --- a/DecompilerNuGetDemos.workbook +++ b/DecompilerNuGetDemos.workbook @@ -6,7 +6,7 @@ platforms: - DotNetCore packages: - id: ICSharpCode.Decompiler - version: 3.0.0.3362-beta3 + version: 3.0.0.3403-beta4 --- Setup: load the references required to work with the decompiler @@ -66,13 +66,13 @@ var module = decompiler.TypeSystem.GetCecil(type).Module Get the child namespaces ```csharp -var icsdns = decompiler.TypeSystem.Compilation.RootNamespace.ChildNamespaces.First(); -foreach (var ns in icsdns.ChildNamespaces.First().ChildNamespaces) Console.WriteLine(ns.FullName); +var icsdns = decompiler.TypeSystem.Compilation.RootNamespace; +foreach (var ns in icsdns.ChildNamespaces) Console.WriteLine(ns.FullName); ``` Get types in a single namespace ```csharp // ICSharpCode.Decompiler.TypeSystem is the first namespace -var typesInNamespace = icsdns.ChildNamespaces.First().ChildNamespaces.First().Types; +var typesInNamespace = icsdns.ChildNamespaces.First().Types; ``` \ No newline at end of file diff --git a/ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj b/ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj index 3cc0a0437..2f5654cb8 100644 --- a/ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj +++ b/ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj @@ -14,8 +14,8 @@ - - + + diff --git a/ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj b/ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj index 5c2e9caec..e3ac232a8 100644 --- a/ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj +++ b/ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj @@ -8,7 +8,7 @@ - +