Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1673,8 +1673,8 @@ public class ImplementerOfIDictionaryClass<TKey, TValue> : IDictionary<TKey, TVa

System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => _dict.GetEnumerator();

// The following are members which has same names as the IDictionary<,> members.
// Adding these to the test to ensure not getting System.Reflection.AmbiguousMatchException when we bind the dictionary.
// The following are members which have the same names as the IDictionary<,> members.
// The following members test that there's no System.Reflection.AmbiguousMatchException when binding to the dictionary.
private string? v;
public string? this[string key] { get => v; set => v = value; }
public bool TryGetValue() { return true; }
Expand Down