Skip to content

Commit f0d6088

Browse files
committed
Added missing header.
1 parent 9509fa8 commit f0d6088

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Microsoft.Toolkit.Graph.Controls/TestObservableCollection.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System;
26
using System.Collections;
37
using System.Collections.Generic;
48
using System.Collections.ObjectModel;
@@ -111,7 +115,7 @@ protected virtual void MoveItem(int oldIndex, int newIndex)
111115
TestBindableVector<T> newItem = new TestBindableVector<T>(oldItem);
112116

113117
T item = this[oldIndex];
114-
base.RemoveAt(oldIndex);
118+
RemoveAt(oldIndex);
115119
base.InsertItem(newIndex, item);
116120
OnCollectionChanged(
117121
global::System.Collections.Specialized.NotifyCollectionChangedAction.Move,
@@ -173,7 +177,9 @@ protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
173177
}
174178
}
175179

180+
#pragma warning disable CS0067
176181
public event PropertyChangedEventHandler PropertyChanged;
182+
#pragma warning restore CS0067
177183
}
178184

179185
#pragma warning disable SA1402 // File may only contain a single class

0 commit comments

Comments
 (0)