Remove workaround for old versions of mono.
This commit is contained in:
committed by
Pavel Penev
parent
f6e5bee334
commit
c916a00624
@@ -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 => { };
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user