Browse Source

typo, removed using

pull/4587/head
Luis von der Eltz 6 years ago
parent
commit
3cdfa305b5
  1. 3
      src/Avalonia.Diagnostics/Diagnostics/ViewModels/PropertyViewModel.cs

3
src/Avalonia.Diagnostics/Diagnostics/ViewModels/PropertyViewModel.cs

@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Reflection;
@ -26,7 +25,7 @@ namespace Avalonia.Diagnostics.ViewModels
return "(null)";
}
//Check if there's an user provided ToString(), prefer that over the TypeDescriptor conversion
//Check if there's an user-provided ToString(), prefer that over the TypeDescriptor conversion
if (value.GetType().GetMethod(nameof(ToString), System.Type.EmptyTypes)
.DeclaringType != typeof(object))
{

Loading…
Cancel
Save