Skip to content

Commit 6a000aa

Browse files
Update to -beta4 NuGet, fix Workbook errors
1 parent d1c503e commit 6a000aa

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

DecompilerNuGetDemos.workbook

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ platforms:
66
- DotNetCore
77
packages:
88
- id: ICSharpCode.Decompiler
9-
version: 3.0.0.3362-beta3
9+
version: 3.0.0.3403-beta4
1010
---
1111

1212
Setup: load the references required to work with the decompiler
@@ -66,13 +66,13 @@ var module = decompiler.TypeSystem.GetCecil(type).Module
6666
Get the child namespaces
6767

6868
```csharp
69-
var icsdns = decompiler.TypeSystem.Compilation.RootNamespace.ChildNamespaces.First();
70-
foreach (var ns in icsdns.ChildNamespaces.First().ChildNamespaces) Console.WriteLine(ns.FullName);
69+
var icsdns = decompiler.TypeSystem.Compilation.RootNamespace;
70+
foreach (var ns in icsdns.ChildNamespaces) Console.WriteLine(ns.FullName);
7171
```
7272

7373
Get types in a single namespace
7474

7575
```csharp
7676
// ICSharpCode.Decompiler.TypeSystem is the first namespace
77-
var typesInNamespace = icsdns.ChildNamespaces.First().ChildNamespaces.First().Types;
77+
var typesInNamespace = icsdns.ChildNamespaces.First().Types;
7878
```

ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.0.1" />
17-
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" />
18-
17+
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
18+
1919
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
2020
<PackageReference Include="System.Runtime.Handles" Version="4.3.0" />
2121
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />

ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<ItemGroup>
1010
<PackageReference Include="PowerShellStandard.Library" Version="3.0.0-preview-01" />
11-
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" />
11+
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)