25 references to Queue
ILCompiler.Compiler (1)
Compiler\DependencyAnalysis\ModuleInitializerListNode.cs (1)
66var modulesToExpand = new Queue<ModuleGraphNode>(allModules);
illink (1)
Microsoft.CodeAnalysis.Features (1)
Shared\Utilities\ExtractTypeHelpers.cs (1)
142var unanalyzedTypeParameters = new Queue<ITypeParameterSymbol>(directlyReferencedTypeParameters);
Microsoft.DotNet.PackageValidation (1)
Package.cs (1)
228Queue<NuGetFramework> tfmQueue = new(AssemblyReferences.Keys);
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
817yield return new TestData<Queue<double>>(new([1.1, 2.2, 3.3]), """{"type":["array","null"],"items":{"type":"number"}}""");
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\FunctionInvokingChatClientApprovalsTests.cs (6)
782Func<Queue<List<ChatMessage>>> expectedDownstreamClientInput = () => new Queue<List<ChatMessage>>( 796Func<Queue<List<ChatMessage>>> downstreamClientOutput = () => new Queue<List<ChatMessage>>( 1219new Queue<List<ChatMessage>>(new[] { downstreamClientOutput }), 1221expectedDownstreamClientInput is null ? null : new Queue<List<ChatMessage>>(new[] { expectedDownstreamClientInput }), 1307new Queue<List<ChatMessage>>(new[] { downstreamClientOutput }), 1309expectedDownstreamClientInput is null ? null : new Queue<List<ChatMessage>>(new[] { expectedDownstreamClientInput }),
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Logging\FakeLogCollectorTests.LogEnumeration.cs (5)
37new Queue<string>(["Log A", "Log B", "Sync"]), // Wait for event A and B followed by Sync 53new Queue<string>(["Log C", "Sync"]), // Wait for another Log C followed by Sync 78var containsSequence = ContainsNonContinuousSequence(snapshot, new Queue<string>(["Log A", "Log B", "Sync", "Log C", "Sync"])); 95new Queue<string>(["A", "B"]), 104new Queue<string>(["A", "B", "C"]),
Microsoft.ML.AutoML (1)
Tuner\SmacTuner.cs (1)
107_candidates = new Queue<Parameter>(GenerateCandidateConfigurations(_fitModelEveryNTrials, _histories, model));
Microsoft.TemplateEngine.Utils (2)
DirectedGraph.cs (2)
52Queue<T> noDependenciesQueue = new(inDegreeLookup.Where(kp => kp.Value == 0).Select(kp => kp.Key)); 98Queue<T> directDependents = new(vertices);
NuGet.Commands (2)
RestoreCommand\RestoreRunner.cs (2)
69var requests = new Queue<RestoreSummaryRequest>(restoreRequests); 135var requests = new Queue<RestoreSummaryRequest>(restoreRequests);
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
817yield return new TestData<Queue<double>>(new([1.1, 2.2, 3.3]), """{"type":["array","null"],"items":{"type":"number"}}""");
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ContractNameServices.cs (2)
120Queue<Type> genericTypeArguments = new Queue<Type>(type.GetGenericArguments()); 295Queue<Type> typeArguments = new Queue<Type>(types);
System.Composition.Hosting (1)
System\Composition\Hosting\Core\UpdateResult.cs (1)
22_remainingProviders = new Queue<ExportDescriptorProvider>(providers);