6 references to Create
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (6)
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (6)
96OneOrMany.Create(_many.Add(item)); 120return OneOrMany.Create(_many.WhereAsArray(static (value, item) => !EqualityComparer<T>.Default.Equals(value, item), item)); 127OneOrMany.Create(_many.SelectAsArray(selector)); 134OneOrMany.Create(_many.SelectAsArray(selector, arg)); 206=> SequenceEqual(OneOrMany.Create(other), comparer); 281=> Create(array).SequenceEqual(other, comparer);