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