9 references to Create
Microsoft.CodeAnalysis (9)
Collections\ArrayBuilderExtensions.cs (1)
263
var result = OneOrMany.
Create
(builder[0]);
Collections\OrderPreservingMultiDictionary.cs (1)
162
return valueSet.Count == 1 ? OneOrMany.
Create
(valueSet[0]) : OneOrMany.Create(valueSet.Items);
Collections\TemporaryArray`1.cs (1)
287
var result = OneOrMany.
Create
(this[0]);
InternalUtilities\OneOrMany.cs (3)
95
IsEmpty ? OneOrMany.
Create
(item) :
126
OneOrMany.
Create
(selector(_one)) :
133
OneOrMany.
Create
(selector(_one, arg)) :
MetadataReference\AssemblyIdentityMap.cs (1)
103
_map[identity.Name] = _map.TryGetValue(identity.Name, out sameName) ? sameName.Add(pair) : OneOrMany.
Create
(pair);
SourceGeneration\Nodes\NodeStateTable.cs (2)
339
_states.Add(new TableEntry(OneOrMany.
Create
(chosen), state));
450
_states.Add(new TableEntry(OneOrMany.
Create
(value), state));