23 references to Empty
Microsoft.CodeAnalysis (19)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
383_lazyAnalyzerGateMap = ImmutableSegmentedDictionary<DiagnosticAnalyzer, SemaphoreSlim>.Empty;
DiagnosticAnalyzer\AnalyzerDriver.GroupedAnalyzerActionsForAnalyzer.cs (2)
79ImmutableSegmentedDictionary<TLanguageKindEnum, ImmutableArray<SyntaxNodeAnalyzerAction<TLanguageKindEnum>>>.Empty; 97ImmutableSegmentedDictionary<OperationKind, ImmutableArray<OperationAnalyzerAction>>.Empty;
Emit\EditAndContinue\EmitBaseline.cs (2)
193synthesizedMembers: ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty, 194deletedMembers: ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty,
Emit\EditAndContinue\SymbolChanges.cs (1)
470elementSelector: static e => e.Value.ToImmutableAndFree()) ?? ImmutableSegmentedDictionary<ISymbolInternal, ImmutableArray<ISymbolInternal>>.Empty;
Emit\EditAndContinue\SynthesizedTypeMaps.cs (3)
24= anonymousTypeMap ?? ImmutableSegmentedDictionary<AnonymousTypeKey, AnonymousTypeValue>.Empty; 31= anonymousDelegates ?? ImmutableSegmentedDictionary<SynthesizedDelegateKey, SynthesizedDelegateValue>.Empty; 38= anonymousDelegatesWithIndexedNames ?? ImmutableSegmentedDictionary<AnonymousDelegateWithIndexedNamePartialKey, ImmutableArray<AnonymousTypeValue>>.Empty;
SourceGeneration\Nodes\StateTableStore.cs (1)
14public static readonly StateTableStore Empty = new StateTableStore(ImmutableSegmentedDictionary<object, IStateTable>.Empty);
src\Dependencies\Collections\ImmutableSegmentedDictionary.cs (6)
19=> ImmutableSegmentedDictionary<TKey, TValue>.Empty; 23=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer); 35=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.AddRange(items); 39=> ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).AddRange(items); 63return ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer).AddRange(items); 80return ImmutableSegmentedDictionary<TKey, TValue>.Empty.WithComparer(keyComparer)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (3)
178return Empty.WithComparer(self.KeyComparer); 277if (keyComparer == Empty.KeyComparer) 279return Empty;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\NamedTypeSymbol.cs (1)
32/// <see langword="default"/> if uninitialized. <see cref="RequiredMembersErrorSentinel"/> if there are errors. <see cref="ImmutableSegmentedDictionary{TKey, TValue}.Empty"/> if
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\NamedTypeSymbol.vb (3)
31''' <see cref="ImmutableSegmentedDictionary(Of String, Symbol).Empty"/> if there are no required members. Otherwise, 1102''' this will be <see cref="ImmutableSegmentedDictionary(Of String, Symbol).Empty"/>. 1114''' true, <see cref="AllRequiredMembers"/> will be <see cref="ImmutableSegmentedDictionary(Of String, Symbol).Empty"/>