Browse Source

Dp not create entries in tree view for fake methods

pull/1030/head
Siegfried Pammer 7 years ago
parent
commit
0bdd1b0be7
  1. 1
      ILSpy/TreeNodes/TypeTreeNode.cs

1
ILSpy/TreeNodes/TypeTreeNode.cs

@ -90,6 +90,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
this.Children.Add(new EventTreeNode(ev)); this.Children.Add(new EventTreeNode(ev));
} }
foreach (var method in TypeDefinition.Methods.OrderBy(m => m.Name, NaturalStringComparer.Instance)) { foreach (var method in TypeDefinition.Methods.OrderBy(m => m.Name, NaturalStringComparer.Instance)) {
if (method.MetadataToken.IsNil) continue;
this.Children.Add(new MethodTreeNode(method)); this.Children.Add(new MethodTreeNode(method));
} }
} }

Loading…
Cancel
Save