1 write to _set
Microsoft.CodeAnalysis (1)
InternalUtilities\SetWithInsertionOrder.cs (1)
27_set = new HashSet<T>();
9 references to _set
Microsoft.CodeAnalysis (9)
InternalUtilities\SetWithInsertionOrder.cs (9)
25if (_set == null) 31if (!_set.Add(value)) 42if (_set == null) 52if (!_set.Add(value)) 63_set.Remove(value); 72if (_set is null) 77if (!_set.Remove(value)) 87public bool Contains(T value) => _set?.Contains(value) ?? false; 99=> (IReadOnlySet<T>?)_set ?? SpecializedCollections.EmptyReadOnlySet<T>();