54 instantiations of LinkedList
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\MruCache.cs (1)
40_mruList = new LinkedList<TKey>();
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
761var expected = new LinkedList<int>(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 });
Microsoft.Build (10)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
74private LinkedList<Lookup.Scope> _lookupScopes = new LinkedList<Lookup.Scope>();
BackEnd\Components\Scheduler\SchedulingData.cs (1)
44private readonly LinkedList<SchedulableRequest> _unscheduledRequests = new LinkedList<SchedulableRequest>();
Collections\ItemDictionary.cs (3)
332list = new LinkedList<T>(); 372_itemLists.Add(itemType, new LinkedList<T>()); 398list = new LinkedList<T>();
Evaluation\Evaluator.cs (1)
756LinkedList<ProjectTargetElement> activeTargetsByEvaluationOrder = new LinkedList<ProjectTargetElement>();
Evaluation\ProjectRootElementCache.cs (4)
159_strongCache = new LinkedList<ProjectRootElement>(); 441_strongCache = new LinkedList<ProjectRootElement>(); 457_strongCache = new LinkedList<ProjectRootElement>(); 480_strongCache = new LinkedList<ProjectRootElement>();
Microsoft.CodeAnalysis (1)
InternalUtilities\ConcurrentLruCache.cs (1)
41_nodeList = new LinkedList<K>();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
109var nodes = new LinkedList<SyntaxNode>();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
22var nodes = new LinkedList<NameSyntax>();
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
ObjectFormatterTests.cs (3)
339var list = new LinkedList<object>(); 344var newList = new LinkedList<object>(); 620var obj = new LinkedList<int>();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
22var nodes = new LinkedList<NameSyntax>();
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
48private static readonly LinkedList<string> s_logs = new();
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Host\RemoteSolutionCache.cs (1)
59private readonly LinkedList<CacheNode> _cacheNodes = new();
Services\DiagnosticAnalyzer\PerformanceQueue.cs (1)
34_snapshots = new LinkedList<Snapshot>();
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
48private readonly LinkedList<(DocumentId id, ClassificationType type, Checksum checksum, ImmutableArray<ClassifiedSpan> classifiedSpans)> _cachedData = new();
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
109var nodes = new LinkedList<SyntaxNode>();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
41_nodeList = new LinkedList<K>();
Microsoft.Extensions.Http.Diagnostics.Tests (8)
HttpHeadersRedactorTests.cs (8)
32Add(new LinkedList<string>(new List<string> { "aaa", "bbb", "ccc" }), "Redacted:aaa,Redacted:bbb,Redacted:ccc"); 33Add(new LinkedList<string>(new List<string> { "aaa", "bbb", null! }), "Redacted:aaa,Redacted:bbb,"); 34Add(new LinkedList<string>(new List<string> { "aaa", null!, null! }), "Redacted:aaa,,"); 35Add(new LinkedList<string>(new List<string> { null!, null!, null! }), ",,"); 36Add(new LinkedList<string>(new List<string> { null! }), string.Empty); 37Add(new LinkedList<string>(new List<string> { "aaa" }), "Redacted:aaa"); 38Add(new LinkedList<string>(new List<string>()), string.Empty); 39Add(new LinkedList<string>(new List<string> { longStr, "bbb", "ccc" }), $"Redacted:{longStr},Redacted:bbb,Redacted:ccc");
Microsoft.Gen.Logging (1)
Model\LoggingMethodParameterExtensions.cs (1)
15var propertyChain = new LinkedList<LoggingProperty>();
Microsoft.ML.Core (1)
Utilities\LruCache.cs (1)
36_lru = new LinkedList<KeyValuePair<TKey, TValue>>();
Microsoft.ML.Data (1)
Model\Pfa\SavePfaCommand.cs (1)
106transforms = new LinkedList<ITransformCanSavePfa>();
Microsoft.ML.FastTree (2)
Training\Test.cs (2)
294_window = new LinkedList<double>(); 295_toleratedQueue = new LinkedList<ValueIterationPair>();
Microsoft.ML.OnnxConverter (1)
SaveOnnxCommand.cs (1)
145transforms = new LinkedList<ITransformCanSaveOnnx>();
Microsoft.ML.Tokenizers (1)
Utils\LruCache.cs (1)
18private readonly LinkedList<KeyValuePair<string, TValue>> _lruList = new();
Microsoft.VisualBasic.Core (2)
Microsoft\VisualBasic\CompilerServices\CacheDict.vb (1)
20_list = New LinkedList(Of TKey)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (1)
1569Private ReadOnly _list As New LinkedList(Of T)
Microsoft.VisualStudio.LanguageServices (3)
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (1)
35public readonly LinkedList<INamedTypeSymbol> History = new();
MoveToNamespace\VisualStudioMoveToNamespaceOptionsService.cs (1)
21public readonly LinkedList<string> History = new();
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
41_nodeList = new LinkedList<K>();
System.Data.Common (2)
System\Data\SortExpressionBuilder.cs (2)
41private readonly LinkedList<Func<T, object>> _selectors = new LinkedList<Func<T, object>>(); 42private readonly LinkedList<Comparison<object>> _comparers = new LinkedList<Comparison<object>>();
System.IO.Packaging (1)
System\IO\Packaging\OrderedDictionary.cs (1)
23_order = new LinkedList<TValue>();
System.Net.Requests (2)
System\Net\TimerThread.cs (2)
86private static readonly LinkedList<WeakReference> s_queues = new LinkedList<WeakReference>(); 87private static readonly LinkedList<WeakReference> s_newQueues = new LinkedList<WeakReference>();
System.Windows.Forms (3)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (1)
225_rowsAccessibleObjects = new();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (1)
68_cellsAccessibleObjects = new();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
53_calendarsAccessibleObjects = new();
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\EventHandlerService.cs (1)
16private readonly LinkedList<object> _handlers = new();
88 references to LinkedList
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\MruCache.cs (1)
13private LinkedList<TKey> _mruList;
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Binding\FormDataMapperTests.cs (3)
761var expected = new LinkedList<int>(new[] { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }); 762CanDeserialize_Collection<LinkedList<int>, LinkedList<int>, int>(expected);
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\Binders\CollectionModelBinderTest.cs (1)
432{ typeof(LinkedList<int>), true },
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
253[InlineData(typeof(LinkedList<IFormFile>))]
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
65[InlineData(typeof(LinkedList<string>))] 198[InlineData(typeof(LinkedList<string>))]
ModelBinding\ModelBindingHelperTest.cs (2)
1342[InlineData(typeof(LinkedList<int>))] 1379[InlineData(typeof(LinkedList<int>))]
Microsoft.Build (15)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
74private LinkedList<Lookup.Scope> _lookupScopes = new LinkedList<Lookup.Scope>();
BackEnd\Components\Scheduler\SchedulingData.cs (1)
44private readonly LinkedList<SchedulableRequest> _unscheduledRequests = new LinkedList<SchedulableRequest>();
Collections\ItemDictionary.cs (9)
41private readonly Dictionary<string, LinkedList<T>> _itemLists; 56_itemLists = new Dictionary<string, LinkedList<T>>(MSBuildNameIgnoreCaseComparer.Default); 67_itemLists = new Dictionary<string, LinkedList<T>>(initialItemTypesCapacity, MSBuildNameIgnoreCaseComparer.Default); 77_itemLists = new Dictionary<string, LinkedList<T>>(MSBuildNameIgnoreCaseComparer.Default); 118LinkedList<T> list; 276LinkedList<T> list = node.List; 330if (!_itemLists.TryGetValue(itemType, out LinkedList<T> list)) 385if (_itemLists.TryGetValue(itemType, out LinkedList<T> list) && list.Count == 0) 396if (!_itemLists.TryGetValue(projectItem.Key, out LinkedList<T> list))
Evaluation\Evaluator.cs (2)
756LinkedList<ProjectTargetElement> activeTargetsByEvaluationOrder = new LinkedList<ProjectTargetElement>(); 1030private void ReadTargetElement(ProjectTargetElement targetElement, LinkedList<ProjectTargetElement> activeTargetsByEvaluationOrder, Dictionary<string, LinkedListNode<ProjectTargetElement>> activeTargets)
Evaluation\ProjectRootElementCache.cs (2)
137private LinkedList<ProjectRootElement> _strongCache; 479LinkedList<ProjectRootElement> oldStrongCache = _strongCache;
Microsoft.CodeAnalysis (1)
InternalUtilities\ConcurrentLruCache.cs (1)
29private readonly LinkedList<K> _nodeList;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\LinkedListExtensions.cs (1)
11public static void AddRangeAtHead<T>(this LinkedList<T> list, IEnumerable<T> values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
109var nodes = new LinkedList<SyntaxNode>();
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
49nameof(LinkedList<int>),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
22var nodes = new LinkedList<NameSyntax>();
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
49nameof(LinkedList<int>),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
ObjectFormatterTests.cs (3)
339var list = new LinkedList<object>(); 344var newList = new LinkedList<object>(); 620var obj = new LinkedList<int>();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
22var nodes = new LinkedList<NameSyntax>();
Microsoft.CodeAnalysis.EditorFeatures (1)
Classification\Syntactic\SyntacticClassificationTaggerProvider.ClassifiedLineCache.cs (1)
77private readonly LinkedList<SpanAndClassifiedSpans> _lruList = [];
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
48private static readonly LinkedList<string> s_logs = new();
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Host\RemoteSolutionCache.cs (1)
59private readonly LinkedList<CacheNode> _cacheNodes = new();
Services\DiagnosticAnalyzer\PerformanceQueue.cs (1)
23private readonly LinkedList<Snapshot> _snapshots;
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
48private readonly LinkedList<(DocumentId id, ClassificationType type, Checksum checksum, ImmutableArray<ClassifiedSpan> classifiedSpans)> _cachedData = new();
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\LinkedListExtensions.cs (1)
11public static void AddRangeAtHead<T>(this LinkedList<T> list, IEnumerable<T> values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
109var nodes = new LinkedList<SyntaxNode>();
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
29private readonly LinkedList<K> _nodeList;
Microsoft.Gen.Logging (2)
Model\LoggingMethodParameterExtensions.cs (2)
15var propertyChain = new LinkedList<LoggingProperty>(); 34LinkedList<LoggingProperty> propertyChain,
Microsoft.ML.Core (1)
Utilities\LruCache.cs (1)
19private readonly LinkedList<KeyValuePair<TKey, TValue>> _lru;
Microsoft.ML.Data (2)
Model\Pfa\SavePfaCommand.cs (2)
101private void GetPipe(IChannel ch, IDataView end, out IDataView source, out IDataView trueEnd, out LinkedList<ITransformCanSavePfa> transforms) 141LinkedList<ITransformCanSavePfa> transforms;
Microsoft.ML.FastTree (2)
Training\Test.cs (2)
276private readonly LinkedList<double> _window; 280private readonly LinkedList<ValueIterationPair> _toleratedQueue;
Microsoft.ML.OnnxConverter (4)
OnnxExportExtensions.cs (1)
21LinkedList<ITransformCanSaveOnnx> transforms = null;
SaveOnnxCommand.cs (3)
139internal static void GetPipe(OnnxContextImpl ctx, IChannel ch, IDataView end, out IDataView source, out IDataView trueEnd, out LinkedList<ITransformCanSaveOnnx> transforms) 165LinkedList<ITransformCanSaveOnnx> transforms, HashSet<string> inputColumnNamesToDrop = null, HashSet<string> outputColumnNamesToDrop = null) 333LinkedList<ITransformCanSaveOnnx> transforms;
Microsoft.ML.Tests (2)
OnnxConversionTest.cs (2)
803LinkedList<ITransformCanSaveOnnx> transforms = null; 1614LinkedList<ITransformCanSaveOnnx> transforms = null;
Microsoft.ML.Tokenizers (1)
Utils\LruCache.cs (1)
18private readonly LinkedList<KeyValuePair<string, TValue>> _lruList = new();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\CacheDict.vb (1)
14Private ReadOnly _list As LinkedList(Of TKey)
Microsoft.VisualStudio.LanguageServices (5)
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (3)
35public readonly LinkedList<INamedTypeSymbol> History = new(); 97LinkedList<INamedTypeSymbol> history, 169LinkedList<INamedTypeSymbol> history,
MoveToNamespace\VisualStudioMoveToNamespaceOptionsService.cs (1)
21public readonly LinkedList<string> History = new();
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
29private readonly LinkedList<K> _nodeList;
netstandard (1)
netstandard.cs (1)
126[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.LinkedList<>))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
135[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.LinkedList<>))]
System.Collections (5)
System\Collections\Generic\LinkedList.cs (5)
505private readonly LinkedList<T> _list; 511internal Enumerator(LinkedList<T> list) 589internal LinkedList<T>? list; 599internal LinkedListNode(LinkedList<T> list, T value) 605public LinkedList<T>? List
System.Data.Common (2)
System\Data\SortExpressionBuilder.cs (2)
41private readonly LinkedList<Func<T, object>> _selectors = new LinkedList<Func<T, object>>(); 42private readonly LinkedList<Comparison<object>> _comparers = new LinkedList<Comparison<object>>();
System.IO.Packaging (1)
System\IO\Packaging\OrderedDictionary.cs (1)
18private readonly LinkedList<TValue> _order;
System.Net.Requests (2)
System\Net\TimerThread.cs (2)
86private static readonly LinkedList<WeakReference> s_queues = new LinkedList<WeakReference>(); 87private static readonly LinkedList<WeakReference> s_newQueues = new LinkedList<WeakReference>();
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (1)
13/// Used to support O(1) append of two lists that is currently not possible by using <see cref="LinkedList{T}"/>.
System.Windows.Forms (7)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarBodyAccessibleObject.cs (2)
26private LinkedList<CalendarRowAccessibleObject>? _rowsAccessibleObjects; 219internal LinkedList<CalendarRowAccessibleObject>? RowsAccessibleObjects
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarRowAccessibleObject.cs (2)
28private LinkedList<CalendarCellAccessibleObject>? _cellsAccessibleObjects; 62internal LinkedList<CalendarCellAccessibleObject>? CellsAccessibleObjects
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (3)
22private LinkedList<CalendarAccessibleObject>? _calendarsAccessibleObjects; 42internal LinkedList<CalendarAccessibleObject>? CalendarsAccessibleObjects 342LinkedList<CalendarRowAccessibleObject>? rows = calendar.CalendarBodyAccessibleObject.RowsAccessibleObjects;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\EventHandlerService.cs (1)
16private readonly LinkedList<object> _handlers = new();
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarAccessibleObjectTests.cs (2)
354LinkedList<CalendarAccessibleObject> calendars = controlAccessibleObject.CalendarsAccessibleObjects; 396LinkedList<CalendarAccessibleObject> calendars = controlAccessibleObject.CalendarsAccessibleObjects;
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarDayOfWeekCellAccessibleObjectTests.cs (2)
143LinkedList<CalendarCellAccessibleObject> days = daysOfWeekRow.CellsAccessibleObjects; 187LinkedList<CalendarCellAccessibleObject> days = daysOfWeekRow.CellsAccessibleObjects;