10 references to Create
Microsoft.CodeAnalysis.Workspaces (10)
Options\GlobalOptionService.cs (1)
184=> SetGlobalOptions(OneOrMany.Create(KeyValuePairUtil.Create(optionKey, value)));
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);
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
1129return OneOrMany.Create(fullPath); 1172return OneOrMany.Create(fullPath);
Workspace\Solution\TextDocumentStates.cs (1)
369: OneOrMany.Create(documentId);