23 references to EmptyReadOnlyList
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
1121return SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 1221_ => SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(), 1250_ => SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(), 2136: SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 2155return statement?.Sections ?? SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 2463private static readonly IReadOnlyList<SyntaxNode> s_EmptyList = SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 2681return SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 2978_ => SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(),
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
NavigateTo\NavigateToItemDisplay.cs (1)
143=> SpecializedCollections.EmptyReadOnlyList<Span>();
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (9)
2923SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)) 2939Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode) 3120Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode) 3166Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)() 3245Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode) 3290Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)() 3383Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)() 3508Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)() 3830Return SpecializedCollections.EmptyReadOnlyList(Of SyntaxNode)
DirectiveSyntaxExtensions.vb (1)
127Return SpecializedCollections.EmptyReadOnlyList(Of DirectiveTriviaSyntax)()
Microsoft.CodeAnalysis.Workspaces (4)
AbstractSyntaxFormatting.cs (1)
45? SpecializedCollections.EmptyReadOnlyList<TextSpan>()
SpecializedTasks.cs (1)
191public static readonly Task<IReadOnlyList<T>> EmptyReadOnlyList = Task.FromResult(SpecializedCollections.EmptyReadOnlyList<T>());
Workspace\Solution\SourceGeneratedDocumentState.cs (1)
40folders: SpecializedCollections.EmptyReadOnlyList<string>(),
Workspace\Workspace.cs (1)
89_latestSolution = CreateSolution(info, emptyOptions, analyzerReferences: SpecializedCollections.EmptyReadOnlyList<AnalyzerReference>());