Browse Source

Fix compile error.

pull/1136/head
Steven Kirk 9 years ago
parent
commit
fe957d8093
  1. 4
      src/Avalonia.Base/Collections/AvaloniaDictionary.cs

4
src/Avalonia.Base/Collections/AvaloniaDictionary.cs

@ -62,8 +62,6 @@ namespace Avalonia.Collections
public object SyncRoot => ((IDictionary)_inner).SyncRoot; public object SyncRoot => ((IDictionary)_inner).SyncRoot;
public object this[object key] { get => ((IDictionary)_inner)[key]; set => ((IDictionary)_inner)[key] = value; }
/// <summary> /// <summary>
/// Gets or sets the named resource. /// Gets or sets the named resource.
/// </summary> /// </summary>
@ -102,6 +100,8 @@ namespace Avalonia.Collections
} }
} }
object IDictionary.this[object key] { get => ((IDictionary)_inner)[key]; set => ((IDictionary)_inner)[key] = value; }
/// <inheritdoc/> /// <inheritdoc/>
public void Add(TKey key, TValue value) public void Add(TKey key, TValue value)
{ {

Loading…
Cancel
Save