Browse Source

Improve debugging display for Type type.

pull/982/head
Joao Matos 9 years ago
parent
commit
5dc239a9ef
  1. 2
      src/AST/Type.cs

2
src/AST/Type.cs

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq; using System.Linq;
using CppSharp.AST.Extensions; using CppSharp.AST.Extensions;
@ -8,6 +9,7 @@ namespace CppSharp.AST
/// <summary> /// <summary>
/// Represents a C++ type. /// Represents a C++ type.
/// </summary> /// </summary>
[DebuggerDisplay("{ToString()} [{GetType().Name}]")]
public abstract class Type : ICloneable public abstract class Type : ICloneable
{ {
public static Func<Type, string> TypePrinterDelegate; public static Func<Type, string> TypePrinterDelegate;

Loading…
Cancel
Save