14 references to Create
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1357return OneOrMany.Create((oldModel.GetDeclaredSymbol(oldVariables[0], cancellationToken), newModel.GetDeclaredSymbol(newVariables[0], cancellationToken), EditKind.Update)); 1421: OneOrMany.Create((oldSymbol, newSymbol, editKind));
Microsoft.CodeAnalysis.VisualBasic.Features (8)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (8)
56declarations = OneOrMany.Create(current) 63declarations = OneOrMany.Create(current) 72declarations = OneOrMany.Create(current) 82declarations = OneOrMany.Create(current) 1291Return OneOrMany.Create((oldSymbols(0).ContainingSymbol, newSymbols(0).ContainingSymbol, EditKind.Update)) 1313Return OneOrMany.Create((oldSymbols(0), newSymbols(0), editKind)) 1341Return OneOrMany.Create((oldSymbol, newSymbol, editKind)) 1398symbols = OneOrMany.Create(symbol)
Microsoft.CodeAnalysis.Workspaces (4)
OneOrMany.cs (2)
131OneOrMany.Create(selector(_one)) : 138OneOrMany.Create(selector(_one, arg)) :
Options\GlobalOptionService.cs (1)
168=> SetGlobalOptions(OneOrMany.Create(KeyValuePairUtil.Create(optionKey, value)));
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
1008return OneOrMany.Create(fullPath);