8 references to EmptyReadOnlyList
Microsoft.CodeAnalysis (8)
Diagnostic\Diagnostic.cs (1)
483
get { return SpecializedCollections.
EmptyReadOnlyList
<object?>(); }
Diagnostic\Diagnostic_SimpleDiagnostic.cs (1)
50
_additionalLocations = additionalLocations?.ToImmutableArray() ?? SpecializedCollections.
EmptyReadOnlyList
<Location>();
Diagnostic\DiagnosticInfo.cs (1)
294
return SpecializedCollections.
EmptyReadOnlyList
<Location>();
PEWriter\RootModuleType.cs (1)
38
return _methods ??= SpecializedCollections.
EmptyReadOnlyList
<IMethodDefinition>();
Syntax\SyntaxNodeExtensions_Tracking.cs (2)
134
return SpecializedCollections.
EmptyReadOnlyList
<SyntaxNode>();
232
return SpecializedCollections.
EmptyReadOnlyList
<SyntaxNode>();
Text\TextChange.cs (1)
97
public static IReadOnlyList<TextChange> NoChanges => SpecializedCollections.
EmptyReadOnlyList
<TextChange>();
Text\TextChangeRange.cs (1)
93
public static IReadOnlyList<TextChangeRange> NoChanges => SpecializedCollections.
EmptyReadOnlyList
<TextChangeRange>();