7 references to SingletonEnumerable
Microsoft.CodeAnalysis (5)
CodeGen\PrivateImplementationDetails.cs (1)
487
return SpecializedCollections.
SingletonEnumerable
(_compilerGeneratedAttribute);
Collections\TopologicalSort.cs (1)
27
return TryIterativeSort(SpecializedCollections.
SingletonEnumerable
(node), addSuccessors, out result);
DiagnosticAnalyzer\AnalysisResult.cs (1)
78
return GetDiagnostics(SpecializedCollections.
SingletonEnumerable
(analyzer));
DiagnosticAnalyzer\AnalyzerManager.cs (1)
40
_analyzerExecutionContextMap = CreateAnalyzerExecutionContextMap(SpecializedCollections.
SingletonEnumerable
(analyzer));
Syntax\SyntaxNodeOrTokenList.cs (1)
316
return InsertRange(index, SpecializedCollections.
SingletonEnumerable
(nodeOrToken));
Microsoft.CodeAnalysis.CSharp (2)
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
141
? SpecializedCollections.
SingletonEnumerable
(SingletonCache)
Symbols\Source\SourceFixedFieldSymbol.cs (1)
216
get { return SpecializedCollections.
SingletonEnumerable
(FixedElementFieldName); }