6 references to SingletonEnumerable
Microsoft.CodeAnalysis (6)
CodeGen\PrivateImplementationDetails.cs (1)
425
return SpecializedCollections.
SingletonEnumerable
(_compilerGeneratedAttribute);
Collections\TopologicalSort.cs (1)
27
return TryIterativeSort(SpecializedCollections.
SingletonEnumerable
(node), addSuccessors, out result);
DiagnosticAnalyzer\AnalysisResult.cs (1)
77
return GetDiagnostics(SpecializedCollections.
SingletonEnumerable
(analyzer));
DiagnosticAnalyzer\AnalyzerManager.cs (1)
39
_analyzerExecutionContextMap = CreateAnalyzerExecutionContextMap(SpecializedCollections.
SingletonEnumerable
(analyzer));
src\Compilers\Core\AnalyzerDriver\DeclarationComputer.cs (1)
34
return GetDeclarationInfo(model, node, getSymbol, SpecializedCollections.
SingletonEnumerable
(executableCodeBlock), cancellationToken);
Syntax\SyntaxNodeOrTokenList.cs (1)
315
return InsertRange(index, SpecializedCollections.
SingletonEnumerable
(nodeOrToken));