mirror of https://github.com/icsharpcode/ILSpy.git
19 changed files with 139 additions and 63 deletions
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
// Dummy types so that we can use compile some ICS.Decompiler classes in the AddIn context
|
||||
// without depending on SRM etc.
|
||||
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Text; |
||||
|
||||
namespace ICSharpCode.Decompiler |
||||
{ |
||||
public class ReferenceLoadInfo |
||||
{ |
||||
public void AddMessage(params object[] args) { } |
||||
} |
||||
|
||||
enum MessageKind { Warning } |
||||
|
||||
public static class MetadataExtensions |
||||
{ |
||||
public static string ToHexString(this IEnumerable<byte> bytes, int estimatedLength) |
||||
{ |
||||
if (bytes == null) |
||||
throw new ArgumentNullException(nameof(bytes)); |
||||
|
||||
StringBuilder sb = new StringBuilder(estimatedLength * 2); |
||||
foreach (var b in bytes) |
||||
sb.AppendFormat("{0:x2}", b); |
||||
return sb.ToString(); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<Project> |
||||
<!-- Centrally define the versions of the NuGet packages we use --> |
||||
<PropertyGroup> |
||||
<HumanizerVersion>2.2.0</HumanizerVersion> |
||||
<SystemCollectionsImmutableVersion>5.0.0-preview.8.20407.11</SystemCollectionsImmutableVersion> |
||||
<SystemReflectionMetadataVersion>5.0.0-preview.8.20407.11</SystemReflectionMetadataVersion> |
||||
<RoslynVersion>3.8.0-3.final</RoslynVersion> |
||||
<MonoCecilVersion>0.10.3</MonoCecilVersion> |
||||
<AvalonEditVersion>6.1.0-preview1</AvalonEditVersion> |
||||
<NUnitVersion>3.12.0</NUnitVersion> |
||||
<NUnitAdapterVersion>3.13.0</NUnitAdapterVersion> |
||||
<MoqVersion>4.14.1</MoqVersion> |
||||
<DiffLibVersion>2017.7.26.1241</DiffLibVersion> |
||||
</PropertyGroup> |
||||
</Project> |
Loading…
Reference in new issue