Browse Source

Implement a few required members.

pull/9677/head
Steven Kirk 4 years ago
parent
commit
f042127290
  1. 4
      src/Avalonia.Diagnostics/Diagnostics/ViewModels/TreeNodeCollection.cs

4
src/Avalonia.Diagnostics/Diagnostics/ViewModels/TreeNodeCollection.cs

@ -88,8 +88,8 @@ namespace Avalonia.Diagnostics.ViewModels
int IList.Add(object? value) => throw new NotImplementedException();
void IList.Clear() => throw new NotImplementedException();
bool IList.Contains(object? value) => throw new NotImplementedException();
int IList.IndexOf(object? value) => throw new NotImplementedException();
bool IList.Contains(object? value) => EnsureInitialized().Contains((TreeNode)value!);
int IList.IndexOf(object? value) => EnsureInitialized().IndexOf((TreeNode)value!);
void IList.Insert(int index, object? value) => throw new NotImplementedException();
void IList.Remove(object? value) => throw new NotImplementedException();
void IList.RemoveAt(int index) => throw new NotImplementedException();

Loading…
Cancel
Save