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)
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);
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
1129
return OneOrMany.
Create
(fullPath);
1172
return OneOrMany.
Create
(fullPath);
Workspace\Solution\TextDocumentStates.cs (1)
369
: OneOrMany.
Create
(documentId);