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