public HashSetDebugView(RetrievableEntryHashSet <T> set) { if (set == null) { throw new ArgumentNullException("set"); } _set = set; }
public HashSetDebugView(RetrievableEntryHashSet <T> set) { _set = set ?? throw new ArgumentNullException(nameof(set)); }
/// <summary> /// Creates empty dictionary, specifying a comparer /// </summary> internal PropertyDictionary(MSBuildNameIgnoreCaseComparer comparer) { _properties = new RetrievableEntryHashSet <T>(comparer); }
/// <summary> /// Creates empty dictionary, optionally specifying initial capacity /// </summary> internal PropertyDictionary(int capacity) { _properties = new RetrievableEntryHashSet <T>(capacity, MSBuildNameIgnoreCaseComparer.Default); }
/// <summary> /// Creates empty dictionary /// </summary> public PropertyDictionary() { _properties = new RetrievableEntryHashSet <T>(MSBuildNameIgnoreCaseComparer.Default); }
/// <summary> /// Creates empty dictionary, optionally specifying initial capacity /// </summary> internal PropertyDictionary(int capacity) { _properties = new RetrievableEntryHashSet <T>(capacity, _comparer); }
/// <summary> /// Creates empty dictionary /// </summary> public PropertyDictionary() { _properties = new RetrievableEntryHashSet <T>(_comparer); }
/// <summary> /// Creates empty dictionary, optionally specifying initial capacity /// </summary> internal PropertyDictionary(int capacity) { _comparer = MSBuildNameIgnoreCaseComparer.Mutable; _properties = new RetrievableEntryHashSet <T>(capacity, _comparer); }
/// <summary> /// Creates empty dictionary /// </summary> public PropertyDictionary() { _comparer = MSBuildNameIgnoreCaseComparer.Mutable; _properties = new RetrievableEntryHashSet <T>(_comparer); }