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