9 references to EmptyReadOnlyList
Microsoft.CodeAnalysis (8)
Diagnostic\Diagnostic.cs (1)
484get { return SpecializedCollections.EmptyReadOnlyList<object?>(); }
Diagnostic\Diagnostic_SimpleDiagnostic.cs (1)
51_additionalLocations = additionalLocations?.ToImmutableArray() ?? SpecializedCollections.EmptyReadOnlyList<Location>();
Diagnostic\DiagnosticInfo.cs (1)
295return SpecializedCollections.EmptyReadOnlyList<Location>();
PEWriter\RootModuleType.cs (1)
40return _methods ??= SpecializedCollections.EmptyReadOnlyList<IMethodDefinition>();
Syntax\SyntaxNodeExtensions_Tracking.cs (2)
134return SpecializedCollections.EmptyReadOnlyList<SyntaxNode>(); 232return SpecializedCollections.EmptyReadOnlyList<SyntaxNode>();
Text\TextChange.cs (1)
98public static IReadOnlyList<TextChange> NoChanges => SpecializedCollections.EmptyReadOnlyList<TextChange>();
Text\TextChangeRange.cs (1)
94public static IReadOnlyList<TextChangeRange> NoChanges => SpecializedCollections.EmptyReadOnlyList<TextChangeRange>();
Microsoft.CodeAnalysis.CSharp (1)
Errors\CSDiagnosticInfo.cs (1)
43_additionalLocations = additionalLocations.IsDefaultOrEmpty ? SpecializedCollections.EmptyReadOnlyList<Location>() : additionalLocations;