47 references to Empty
Aspire.Hosting.Dapr (1)
DaprSidecarOptions.cs (1)
66public IImmutableList<string> Command { get; init; } = ImmutableList<string>.Empty;
Microsoft.AspNetCore.App.Analyzers (1)
Infrastructure\VirtualChars\VirtualCharSequence.cs (1)
30public static readonly VirtualCharSequence Empty = Create(ImmutableList<VirtualChar>.Empty);
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
402var excludes = ImmutableList<string>.Empty.ToBuilder();
Graph\ProjectGraph.cs (1)
614var targetLists = ProjectNodes.ToDictionary(node => node, node => ImmutableList<string>.Empty);
Microsoft.Build.Framework (1)
ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (15)
CodeGen\CodeGenCapturing.cs (15)
122return GenerateAll(sum, 0, ImmutableList<int>.Empty); 154ImmutableList<int>.Empty.Add(0), 155ImmutableList<int>.Empty.Add(1), 156ImmutableList<int>.Empty.Add(2), 157ImmutableList<int>.Empty.Add(3) 161ImmutableList<int>.Empty.Add(0).Add(0), 162ImmutableList<int>.Empty.Add(0).Add(1), 163ImmutableList<int>.Empty.Add(0).Add(2), 164ImmutableList<int>.Empty.Add(0).Add(3), 165ImmutableList<int>.Empty.Add(1).Add(0), 166ImmutableList<int>.Empty.Add(1).Add(1), 167ImmutableList<int>.Empty.Add(1).Add(2), 168ImmutableList<int>.Empty.Add(2).Add(0), 169ImmutableList<int>.Empty.Add(2).Add(1), 170ImmutableList<int>.Empty.Add(3).Add(0)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
TestExtensionErrorHandler.cs (1)
20public ImmutableList<Exception> Exceptions { get; private set; } = ImmutableList<Exception>.Empty;
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
CodeGen\CodeGenNullable.vb (2)
6776Yield ImmutableList(Of SyntaxKind).Empty 6788Yield ImmutableList(Of ExpressionSyntax).Empty
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\InternalsVisibleToCompletionProvider.vb (1)
44Return If(builder Is Nothing, ImmutableList(Of SyntaxNode).Empty, builder.ToImmutable())
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
73/// <inheritdoc cref="ImmutableList{T}.Empty"/>
Microsoft.DotNet.Build.Tasks.Feed (3)
src\model\SetupTargetFeedConfigV3.cs (1)
60FilesToExclude = filesToExclude ?? ImmutableList<string>.Empty;
src\model\TargetChannelConfig.cs (1)
65FilenamesToExclude = filenamesToExclude?.ToImmutableList() ?? ImmutableList<string>.Empty;
src\model\TargetFeedConfig.cs (1)
88FilenamesToExclude = filenamesToExclude?.ToImmutableList() ?? ImmutableList<string>.Empty;
Microsoft.VisualStudio.LanguageServices (2)
UnusedReferences\Dialog\UnusedReferencesTableProvider.DataSource.cs (1)
25private ImmutableList<SinkManager> _managers = ImmutableList<SinkManager>.Empty;
Workspace\VisualStudioActiveDocumentTracker.cs (1)
40private ImmutableList<FrameListener> _visibleFrames = ImmutableList<FrameListener>.Empty;
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
MockVsFileChangeEx.vb (2)
18Private _watchedFiles As ImmutableList(Of WatchedEntity) = ImmutableList(Of WatchedEntity).Empty 19Private _watchedDirectories As ImmutableList(Of WatchedEntity) = ImmutableList(Of WatchedEntity).Empty
System.Collections.Immutable (11)
System\Collections\Immutable\ImmutableList.cs (5)
18public static ImmutableList<T> Create<T>() => ImmutableList<T>.Empty; 26public static ImmutableList<T> Create<T>(T item) => ImmutableList<T>.Empty.Add(item); 34public static ImmutableList<T> CreateRange<T>(IEnumerable<T> items) => ImmutableList<T>.Empty.AddRange(items); 55public static ImmutableList<T> Create<T>(params ReadOnlySpan<T> items) => ImmutableList<T>.Empty.AddRange(items); 77return ImmutableList<TSource>.Empty.AddRange(source);
System\Collections\Immutable\ImmutableList_1.cs (4)
51public ImmutableList<T> Clear() => Empty; 240return Empty; 1101? ImmutableList<T>.Empty 1185return Empty;
System\Collections\Immutable\ImmutableList_1.Node.cs (2)
1049return ImmutableList<T>.Empty; 1065ImmutableList<T>.Empty;