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