Browse Source

Apply DebuggerDisplayAttribute to PEFile for easier debugging.

pull/1736/head
jkuehner 6 years ago committed by Siegfried Pammer
parent
commit
6bd12413ae
  1. 2
      ICSharpCode.Decompiler/Metadata/PEFile.cs

2
ICSharpCode.Decompiler/Metadata/PEFile.cs

@ -19,6 +19,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Diagnostics;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection.Metadata; using System.Reflection.Metadata;
@ -41,6 +42,7 @@ namespace ICSharpCode.Decompiler.Metadata
/// system from multiple PEFiles. This allows the caches to be shared across multiple /// system from multiple PEFiles. This allows the caches to be shared across multiple
/// decompiled type systems. /// decompiled type systems.
/// </remarks> /// </remarks>
[DebuggerDisplay("{FileName}")]
public class PEFile : IDisposable, TypeSystem.IModuleReference public class PEFile : IDisposable, TypeSystem.IModuleReference
{ {
public string FileName { get; } public string FileName { get; }

Loading…
Cancel
Save