示例#1
0
        public HashSetDebugView(RetrievableEntryHashSet <T> set)
        {
            if (set == null)
            {
                throw new ArgumentNullException("set");
            }

            _set = set;
        }
示例#2
0
 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);
 }
示例#6
0
 /// <summary>
 /// Creates empty dictionary, optionally specifying initial capacity
 /// </summary>
 internal PropertyDictionary(int capacity)
 {
     _properties = new RetrievableEntryHashSet <T>(capacity, _comparer);
 }
示例#7
0
 /// <summary>
 /// Creates empty dictionary
 /// </summary>
 public PropertyDictionary()
 {
     _properties = new RetrievableEntryHashSet <T>(_comparer);
 }
示例#8
0
 /// <summary>
 /// Creates empty dictionary, optionally specifying initial capacity
 /// </summary>
 internal PropertyDictionary(int capacity)
 {
     _comparer   = MSBuildNameIgnoreCaseComparer.Mutable;
     _properties = new RetrievableEntryHashSet <T>(capacity, _comparer);
 }
示例#9
0
 /// <summary>
 /// Creates empty dictionary
 /// </summary>
 public PropertyDictionary()
 {
     _comparer   = MSBuildNameIgnoreCaseComparer.Mutable;
     _properties = new RetrievableEntryHashSet <T>(_comparer);
 }