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