Browse Source

Change scope to public

pull/523/head
Sebastien LEBRETON 11 years ago
parent
commit
1c31eff7af
  1. 7
      ILSpy/MainWindow.xaml.cs

7
ILSpy/MainWindow.xaml.cs

@ -481,7 +481,8 @@ namespace ICSharpCode.ILSpy
} }
#region Node Selection #region Node Selection
internal void SelectNode(SharpTreeNode obj)
public void SelectNode(SharpTreeNode obj)
{ {
if (obj != null) { if (obj != null) {
if (!obj.AncestorsAndSelf().Any(node => node.IsHidden)) { if (!obj.AncestorsAndSelf().Any(node => node.IsHidden)) {
@ -500,7 +501,7 @@ namespace ICSharpCode.ILSpy
/// <summary> /// <summary>
/// Retrieves a node using the .ToString() representations of its ancestors. /// Retrieves a node using the .ToString() representations of its ancestors.
/// </summary> /// </summary>
SharpTreeNode FindNodeByPath(string[] path, bool returnBestMatch) public SharpTreeNode FindNodeByPath(string[] path, bool returnBestMatch)
{ {
if (path == null) if (path == null)
return null; return null;
@ -522,7 +523,7 @@ namespace ICSharpCode.ILSpy
/// <summary> /// <summary>
/// Gets the .ToString() representation of the node's ancestors. /// Gets the .ToString() representation of the node's ancestors.
/// </summary> /// </summary>
string[] GetPathForNode(SharpTreeNode node) public string[] GetPathForNode(SharpTreeNode node)
{ {
if (node == null) if (node == null)
return null; return null;

Loading…
Cancel
Save