Remove workaround for old versions of mono.

This commit is contained in:
RoosterDragon
2023-03-05 12:40:23 +00:00
committed by Pavel Penev
parent f6e5bee334
commit c916a00624
3 changed files with 0 additions and 9 deletions

View File

@@ -20,10 +20,7 @@ namespace OpenRA.Primitives
{
public event Action<IObservableCollection, object> OnAdd = (x, k) => { };
// TODO Workaround for https://github.com/OpenRA/OpenRA/issues/6101
#pragma warning disable 67
public event Action<IObservableCollection, object> OnRemove = (x, k) => { };
#pragma warning restore
public event Action<IObservableCollection, int> OnRemoveAt = (x, i) => { };
public event Action<IObservableCollection, object, object> OnSet = (x, o, n) => { };
public event Action<IObservableCollection> OnRefresh = x => { };

View File

@@ -36,11 +36,8 @@ namespace OpenRA.Primitives
public event Action<IObservableCollection, object> OnAdd = (x, k) => { };
public event Action<IObservableCollection, object> OnRemove = (x, k) => { };
// TODO Workaround for https://github.com/OpenRA/OpenRA/issues/6101
#pragma warning disable 67
public event Action<IObservableCollection, int> OnRemoveAt = (x, i) => { };
public event Action<IObservableCollection, object, object> OnSet = (x, o, n) => { };
#pragma warning restore
public event Action<IObservableCollection> OnRefresh = x => { };
protected void FireOnRefresh()

View File

@@ -22,11 +22,8 @@ namespace OpenRA.Primitives
public event Action<IObservableCollection, object> OnAdd = (x, k) => { };
public event Action<IObservableCollection, object> OnRemove = (x, k) => { };
// TODO Workaround for https://github.com/OpenRA/OpenRA/issues/6101
#pragma warning disable 67
public event Action<IObservableCollection, int> OnRemoveAt = (x, i) => { };
public event Action<IObservableCollection, object, object> OnSet = (x, o, n) => { };
#pragma warning restore
public event Action<IObservableCollection> OnRefresh = x => { };
protected void FireOnRefresh()