6 references to Create
Microsoft.CodeAnalysis.CodeStyle (6)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
162return valueSet.Count == 1 ? OneOrMany.Create(valueSet[0]) : OneOrMany.Create(valueSet.Items);
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
287var result = OneOrMany.Create(this[0]);
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (3)
95IsEmpty ? OneOrMany.Create(item) : 126OneOrMany.Create(selector(_one)) : 133OneOrMany.Create(selector(_one, arg)) :
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.cs (1)
215return OneOrMany.Create(namedType);