diff --git a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PropertyGrid/TypeHelper.cs b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PropertyGrid/TypeHelper.cs
index 6af5d1e222..f975780533 100644
--- a/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PropertyGrid/TypeHelper.cs
+++ b/src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/PropertyGrid/TypeHelper.cs
@@ -102,7 +102,6 @@ namespace ICSharpCode.WpfDesign.PropertyGrid
}
else
{
- var l=TypeDescriptor.GetProperties(element);
foreach(PropertyDescriptor p in TypeDescriptor.GetProperties(element)){
if (!p.IsBrowsable) continue;
if (p.IsReadOnly && !typeof(ICollection).IsAssignableFrom(p.PropertyType)) continue;
@@ -111,7 +110,7 @@ namespace ICSharpCode.WpfDesign.PropertyGrid
}
}
}
-
+
///
/// Gets common properties between . Includes attached properties too.
///
@@ -119,32 +118,14 @@ namespace ICSharpCode.WpfDesign.PropertyGrid
///
public static IEnumerable GetCommonAvailableProperties(IEnumerable