Skip to content

Commit

Permalink
Update to -beta4 NuGet, fix Workbook errors
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwille committed Dec 4, 2017
1 parent d1c503e commit 6a000aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions DecompilerNuGetDemos.workbook
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
```
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.0.1" />
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" />

<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
<PackageReference Include="System.Runtime.Handles" Version="4.3.0" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="PowerShellStandard.Library" Version="3.0.0-preview-01" />
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" />
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
</ItemGroup>

</Project>

0 comments on commit 6a000aa

Please sign in to comment.