1 interface inheriting from IReadOnlySet
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\Collections\IOrderedReadOnlySet.cs (1)
9internal interface IOrderedReadOnlySet<T> : IReadOnlySet<T>, IReadOnlyList<T>
3 implementations of IReadOnlySet
Microsoft.CodeAnalysis.CodeStyle (3)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Set.cs (1)
14internal class Set<T> : Collection<T>, ISet<T>, IReadOnlySet<T>
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Set.cs (1)
14internal class Set<TUnderlying, T> : Collection<TUnderlying, T>, ISet<T>, IReadOnlySet<T>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledHashSet.cs (1)
9internal sealed partial class PooledHashSet<T> : IPooled, IReadOnlySet<T>
4 references to IReadOnlySet
Microsoft.CodeAnalysis.CodeStyle (4)
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (2)
98private IReadOnlySet<T> Set 99=> (IReadOnlySet<T>?)_set ?? SpecializedCollections.EmptyReadOnlySet<T>();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.cs (2)
46public static IReadOnlySet<T> EmptyReadOnlySet<T>() 107public static IReadOnlySet<T> StronglyTypedReadOnlySet<T>(ISet<T>? set)