28 references to Prepend
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Microsoft.AspNetCore.BrowserTesting (2)
BrowserManager.cs (1)
177result.Add(item.Cast<object>().Prepend(browser).ToArray());
BrowserManagerConfiguration.cs (1)
210argsMap => argsMap.SelectMany(argNameValue => argNameValue.Value.Prepend(argNameValue.Key)).ToArray()),
Microsoft.AspNetCore.Components.WebView (1)
IpcCommon.cs (1)
29var messageTypeAndArgs = args.Prepend(messageType);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Microsoft.Build (1)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (1)
60foreach (Exception? unrolledEx in ex.LoaderExceptions.Where(e => e != null).Prepend(ex))
Microsoft.Build.Engine.UnitTests (1)
Graph\ProjectGraph_Tests.cs (1)
1634targetLists[key: GetOuterBuild(graph, 2)].ShouldBe(expected: OuterBuildTargets.Prepend("A"));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Intents\IntentTestsBase.cs (1)
59var documentSet = additionalDocuments.Prepend(priorDocumentText).ToArray();
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CovariantReturnTests.cs (1)
243references.ToArray().Prepend(CorelibraryWithCovariantReturnSupport);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\CovariantReturnTests.cs (5)
404references = references?.Prepend(CorelibraryWithCovariantReturnSupport1).ToArray() ?? new[] { CorelibraryWithCovariantReturnSupport1 }; 423references = references?.Prepend(CorelibraryWithoutCovariantReturnSupport1).ToArray() ?? new[] { CorelibraryWithoutCovariantReturnSupport1 }; 464references = references.Prepend(coreLibrary).ToArray(); 486references = references.Prepend(coreLibrary).ToArray(); 508references = references.Prepend(alternateCorlib).ToArray();
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
1553var children = operation.Arms.Cast<IOperation>().Prepend(operation.Value);
Microsoft.ML.GenAI.LLaMA (2)
LlamaCausalLMAgent.cs (2)
45messages = messages.Prepend(systemMessage); 72messages = messages.Prepend(systemMessage);
Microsoft.ML.GenAI.Mistral (2)
MistralCausalLMAgent.cs (2)
49messages = messages.Prepend(systemMessage); 82messages = messages.Prepend(systemMessage);
Microsoft.ML.GenAI.Phi (2)
Phi3\Phi3CausalLMAgent.cs (2)
43messages = messages.Prepend(systemMessage); 71messages = messages.Prepend(systemMessage);
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
182using (var cursor = trainingData.GetRowCursor(cols.Prepend(labelColumn)))
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
853var description = list.OrderBy(c => c.Thumbprint).Select((c, i) => $" {i + 1}) " + GetDescription(c)).Prepend(certificatesDescription);