982 references to Join
Aspire.Azure.Messaging.EventHubs.Tests (2)
tests\Aspire.Azure.Security.KeyVault.Tests\MockTransport.cs (2)
128return string.Join(",", values); 211return string.Join(",", values);
Aspire.Azure.Security.KeyVault.Tests (2)
MockTransport.cs (2)
128return string.Join(",", values); 211return string.Join(",", values);
Aspire.Dashboard (6)
Components\Pages\Resources.razor.cs (1)
818return escapedFilters.Count == 0 ? null : string.Join(" ", escapedFilters);
ConsoleLogs\AnsiParser.cs (2)
506combined += $"class=\"{string.Join(" ", classes)}\" "; 511combined += $"style=\"{string.Join(";", styles)}\" ";
Extensions\TelemetryFilterFormatter.cs (1)
39return string.Join(" ", filters.Select(SerializeFilterToString));
Model\ResourceSourceViewModel.cs (2)
53var argumentsString = string.Join(" ", launchArguments); 63TooltipString: string.Join(" ", arguments.Select(arg => arg.IsShown
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Logging\LogValuesAssert.cs (1)
54return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\LogValuesAssert.cs (1)
54return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Aspire.EndToEnd.Tests (3)
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (2)
91throw new ArgumentException($"Cannot find {templatePackageId}*.nupkg in {builtNuGetsPath}. Packages found in {builtNuGetsPath}: {string.Join(", ", Directory.EnumerateFiles(builtNuGetsPath).Select(Path.GetFileName))}"); 95throw new ArgumentException($"Found more than one {templatePackageId}*.nupkg in {builtNuGetsPath}: {string.Join(", ", packages.Select(Path.GetFileName))}");
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
203return string.Join(System.Environment.NewLine, outputLines);
Aspire.Hosting (9)
ApplicationModel\ResourceNotificationService.cs (8)
123_logger.LogDebug("Waiting for resource '{Name}' to enter one of the target state: {TargetStates}", resourceName, string.Join(", ", targetStates)); 139throw new OperationCanceledException($"The operation was cancelled before the resource reached one of the target states: [{string.Join(", ", targetStates)}]"); 564string.Join(" ", newState.Urls.Select(u => $"{u.Name} = {u.Url}")), 565string.Join(" ", newState.EnvironmentVariables.Where(e => e.IsFromSpec).Select(e => $"{e.Name} = {e.Value}")), 567string.Join(" ", newState.HealthReports.Select(p => $"{p.Name} = {Stringify(p.Status)}")), 568string.Join(" ", newState.Commands.Select(c => $"{c.DisplayName} ({c.Name}) = {Stringify(c.State)}"))); 572IEnumerable<int> ints => string.Join(", ", ints.Select(i => i.ToString(CultureInfo.InvariantCulture))), 573IEnumerable<string> strings => string.Join(", ", strings.Select(s => s)),
Dcp\DcpKubernetesClient.cs (1)
174return $"?{string.Join("&", _parameters)}";
Aspire.Hosting.Azure.AppContainers (1)
ContainerAppContext.cs (1)
208throw new NotSupportedException($"The endpoint(s) {string.Join(", ", unsupportedEndpoints.Select(e => $"'{e.Name}'"))} specify an unsupported scheme. The supported schemes are 'http', 'https', and 'tcp'.");
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
87throw new NotSupportedException($"The endpoint(s) {string.Join(", ", unsupportedEndpoints.Select(e => $"'{e.Name}'"))} on resource '{resource.Name}' specifies an unsupported scheme. Only http and https are supported in App Service.");
Aspire.Hosting.Garnet.Tests (1)
AddGarnetTests.cs (1)
288return string.Join(" ", args);
Aspire.Hosting.Redis.Tests (1)
AddRedisTests.cs (1)
596return string.Join(" ", args);
Aspire.Hosting.Testing.Tests (2)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
118throw new TaskCanceledException($"Task was canceled before these messages were found: '{string.Join("', '", table)}'", te);
tests\Shared\Logging\LogValuesAssert.cs (1)
54return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Aspire.Hosting.Tests (4)
tests\Shared\Logging\LogValuesAssert.cs (1)
54return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Utils\LoggerNotificationExtensions.cs (1)
118throw new TaskCanceledException($"Task was canceled before these messages were found: '{string.Join("', '", table)}'", te);
Utils\StringComparersTests.cs (2)
60- Comparers without matching comparisons: {string.Join(", ", extraComparers)} 61- Comparisons without matching comparers: {string.Join(", ", extraComparisons)}
Aspire.Hosting.Valkey.Tests (1)
AddValkeyTests.cs (1)
347return string.Join(" ", args);
Aspire.Playground.Tests (2)
tests\Aspire.Hosting.Tests\Utils\LoggerNotificationExtensions.cs (1)
118throw new TaskCanceledException($"Task was canceled before these messages were found: '{string.Join("', '", table)}'", te);
tests\Shared\Logging\LogValuesAssert.cs (1)
54return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Aspire.Templates.Tests (5)
TemplateTestsBase.cs (2)
226Assert.Fail($"Row with unknown name found: '{resourceName}'. Expected values: {string.Join(", ", expectedRowsTable.Keys.Select(k => $"'{k}'"))}"); 257Assert.Fail($"Expected rows not found: {string.Join(", ", expectedRowsTable.Keys.Except(foundNames))}");
tests\Shared\TemplatesTesting\TemplateCustomHive.cs (2)
91throw new ArgumentException($"Cannot find {templatePackageId}*.nupkg in {builtNuGetsPath}. Packages found in {builtNuGetsPath}: {string.Join(", ", Directory.EnumerateFiles(builtNuGetsPath).Select(Path.GetFileName))}"); 95throw new ArgumentException($"Found more than one {templatePackageId}*.nupkg in {builtNuGetsPath}: {string.Join(", ", packages.Select(Path.GetFileName))}");
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
203return string.Join(System.Environment.NewLine, outputLines);
BuildActionTelemetryTable (1)
Program.cs (1)
164Console.WriteLine($"The following Actions are new and need their description reviewed:{Environment.NewLine}{string.Join(Environment.NewLine, missingDescriptions)}");
Client.ClientBase.IntegrationTests (12)
ChannelBaseTests.4.0.0.cs (6)
88string actual = String.Join(",", eventsCalled); 93actual = String.Join(",", proxyEventsCalled); 142string actual = String.Join(",", eventsCalled); 147actual = String.Join(",", proxyEventsCalled); 193string actual = String.Join(",", eventsCalled); 198actual = String.Join(",", proxyEventsCalled);
ClientBaseTests.4.0.0.cs (6)
563string actual = String.Join(",", eventsCalled); 568actual = String.Join(",", proxyEventsCalled); 617string actual = String.Join(",", eventsCalled); 622actual = String.Join(",", proxyEventsCalled); 666string actual = String.Join(",", eventsCalled); 671actual = String.Join(",", proxyEventsCalled);
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
736static string FormatParams(List<string> names) => string.Join(",", names);
ControllersFromServicesWebSite (1)
Startup.cs (1)
48public override string Name => string.Join(", ", Types.Select(t => t.FullName));
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
dotnet-getdocument (2)
Exe.cs (1)
21reporter.WriteVerbose(executable + " " + string.Join(" ", args));
src\Tools\GetDocumentInsider\src\ReporterExtensions.cs (1)
30return string.Join(
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
117webHeaders[header.Key] = String.Join(",", header.Value);
dotnet-user-jwts (8)
Commands\CreateCommand.cs (4)
142optionsString += audienceOption.HasValue() ? $"{Resources.JwtPrint_Audiences}: {string.Join(", ", audience)}{Environment.NewLine}" : string.Empty; 203optionsString += rolesOption.HasValue() ? $"{Resources.JwtPrint_Roles}: [{string.Join(", ", roles)}]{Environment.NewLine}" : string.Empty; 206optionsString += scopesOption.HasValue() ? $"{Resources.JwtPrint_Scopes}: {string.Join(", ", scopes)}{Environment.NewLine}" : string.Empty; 216optionsString += $"{Resources.JwtPrint_CustomClaims}: [{string.Join(", ", claims.Select(kvp => $"{kvp.Key}={kvp.Value}"))}]{Environment.NewLine}";
Helpers\DevJwtCliHelpers.cs (3)
185: string.Join(", ", jwt.Scopes); 193: string.Join(", ", jwt.Roles); 201: string.Join(", ", jwt.CustomClaims.Select(kvp => $"{kvp.Key}={kvp.Value}"));
Helpers\Jwt.cs (1)
27return new Jwt(token.Id, scheme, token.Subject, string.Join(", ", token.Audiences), token.ValidFrom, token.ValidTo, token.IssuedAt, encodedToken)
GetDocument.Insider (2)
Commands\GetDocumentCommandWorker.cs (1)
311writer.WriteLine(string.Join(Environment.NewLine, filePathList));
ReporterExtensions.cs (1)
30return string.Join(
HeaderPropagationSample (1)
Startup.cs (1)
81await context.Response.WriteAsync($"Sent Header '{header.Key}': {string.Join(", ", header.Value)}\r\n");
HttpStress (1)
Program.cs (1)
382Console.WriteLine(" Operations: " + string.Join(", ", clientOperations.Select(o => o.Item1)));
Identity.DefaultUI.WebSite (1)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (1)
409var mergedCodes = string.Join(";", recoveryCodes);
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
IIS.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (1)
93return string.Join(",", entries.Select(e => e.Message));
illink (2)
ILLink.RoslynAnalyzer (3)
DataFlow\FeatureContextLattice.cs (1)
62 return string.Join (", ", EnabledFeatures.GetKnownValues ());
src\tools\illink\src\ILLink.Shared\Annotations.cs (1)
66 return string.Join (", ", memberTypesList.Select (mt => {
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
284 sb.Append (string.Join (",", GetKnownValues ().Select (v => v.ToString ())));
Infrastructure.Common (3)
xunit\ConditionAttribute.cs (1)
101return String.Format("{0}", String.Join(", ", falseConditions));
xunit\WcfTestDiscoverer.cs (2)
48string skippedReason = string.Format("Active issue(s): {0}", string.Join(", ", issueSkipList)); 77string skippedReason = string.Format("Condition(s) not met: {0}", string.Join(", ", skipReasons));
InMemory.FunctionalTests (7)
ChunkedRequestTests.cs (3)
307var expectedFullResponse = string.Join("", Enumerable.Repeat(response, requestCount + 1)); 438var expectedFullResponse = string.Join("", Enumerable.Repeat(response, requestCount + 1)); 613var expectedFullResponse = string.Join("", Enumerable.Repeat(response, requestCount + 1));
HttpsTests.cs (2)
193userMessage: string.Join(Environment.NewLine, loggerProvider.ErrorLogger.ErrorMessages)); 222userMessage: string.Join(Environment.NewLine, loggerProvider.ErrorLogger.ErrorMessages));
RequestHeaderLimitsTests.cs (1)
155return string.Join("", new[] { host }
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
179var args = string.Join(".", protocols.Select(p => ProtocolToString(p)));
InProcessWebSite (2)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (2)
108await ctx.Response.WriteAsync(string.Join(",", serverAddresses.Addresses)); 1064await ctx.Response.WriteAsync(string.Join("|", Environment.GetCommandLineArgs().Skip(1)));
installer.tasks (3)
StaticFileRegeneration\RegenerateThirdPartyNotices.cs (1)
168string.Join(
StaticFileRegeneration\TpnDocument.cs (2)
30Content = string.Join( 52Preamble = string.Join(
InteractiveHost.UnitTests (1)
AbstractInteractiveHostTests.cs (1)
210=> paths.Length == 0 ? "SearchPaths { }" : $"SearchPaths {{ {string.Join(", ", paths.Select(p => "\"" + p.Replace("\\", "\\\\") + "\""))} }}";
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
291throw new Exception(string.Join(Environment.NewLine, failures));
IOperationGenerator (1)
IOperationClassWriter.Verifier.cs (1)
106Console.WriteLine($"Properties: {string.Join(", ", properties)}");
Metrics (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Metrics.Legacy (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Microsoft.Analyzers.Local (1)
ApiLifecycle\AssemblyAnalysis.cs (1)
310typeSignature = string.Join(" ", modifiers) + " " + typeSignature;
Microsoft.Arcade.Common (2)
ArgumentEscaper.cs (2)
17return string.Join(" ", args.Select(EscapeArg)); 32return string.Join(" ", args.Select(EscapeArgForCmd));
Microsoft.Arcade.Test.Common (4)
AssertEx.cs (3)
304return string.Join(separator, list.Select(itemInspector)); 465message.AppendLine(string.Join(itemSeparator, actual.Select(itemInspector))); 469message.AppendLine(string.Join(itemSeparator, expected.Select(itemInspector)));
DiffUtil.cs (1)
82return string.Join(separator, lcs.CalculateDiff(expectedList, actualList, toString));
Microsoft.AspNetCore.Analyzer.Testing (1)
CodeFixRunner.cs (1)
54var message = string.Join(
Microsoft.AspNetCore.App.Analyzers (3)
RouteEmbeddedLanguage\Infrastructure\EmbeddedLanguageCommentDetector.cs (1)
28var namePortion = string.Join("|", identifiers.Select(n => $"({Regex.Escape(n)})"));
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (1)
99propertiesBuilder.Add("RouteParameterPolicy", string.Join(string.Empty, unusedParameter.Policies));
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
224var parameterTypesString = string.Join(", ", parameterTypes);
Microsoft.AspNetCore.App.Analyzers.Test (3)
RouteEmbeddedLanguage\Infrastructure\FormattedClassification.cs (2)
45var type = string.Join("", parts.Select(Capitalize)); 53var type = string.Join("", parts.Select(Capitalize));
RouteEmbeddedLanguage\RoutePatternParserTests_ConformanceTests.cs (1)
845var qualifier = string.Join(string.Empty, routeParameter.Policies);
Microsoft.AspNetCore.Authentication.Cookies (1)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
128return string.Join(string.Empty, chunks);
Microsoft.AspNetCore.Authentication.Core (3)
AuthenticationService.cs (3)
220var schemes = string.Join(", ", (await Schemes.GetAllSchemesAsync()).Select(sch => sch.Name)); 236return string.Join(", ", (await Schemes.GetAllSchemesAsync()) 276return string.Join(", ", (await Schemes.GetAllSchemesAsync())
Microsoft.AspNetCore.Authentication.Facebook (2)
FacebookHandler.cs (2)
49endpoint = QueryHelpers.AddQueryString(endpoint, "fields", string.Join(",", Options.Fields)); 81return string.Join(",", scopes);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
408return string.Join("; ", messages);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (2)
127_directory.CreateFile(_filename, string.Format(CultureInfo.InvariantCulture, Template, string.Join("\r\n", _properties), string.Join("\r\n", _items), Sdk));
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
345=> string.Join(" ", scopes); // OAuth2 3.3 space separated
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
407Scope = string.Join(" ", properties.GetParameter<ICollection<string>>(OpenIdConnectParameterNames.Scope) ?? Options.Scope),
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\TestSettings.cs (1)
248ValidateParameter(OpenIdConnectParameterNames.Scope, string.Join(" ", _options.Scope), actualParams, errors, htmlEncoded);
Microsoft.AspNetCore.Authorization (2)
ClaimsAuthorizationRequirement.cs (1)
92: $" and Claim.Value is one of the following values: ({string.Join("|", AllowedValues!)})";
RolesAuthorizationRequirement.cs (1)
69var roles = $"User.IsInRole must be true for one of the following roles: ({string.Join("|", AllowedRoles)})";
Microsoft.AspNetCore.Authorization.Policy (1)
AuthorizationMiddleware.cs (1)
180log.LogDebug("Policy authentication schemes {policyName} did not succeed", String.Join(", ", policy.AuthenticationSchemes));
Microsoft.AspNetCore.BrowserTesting (1)
BrowserManagerConfiguration.cs (1)
134argsMap => argsMap.ToDictionary(kvp => kvp.Key, kvp => string.Join(", ", kvp.Value))),
Microsoft.AspNetCore.Components (5)
Reflection\ComponentProperties.cs (2)
234string.Join(Environment.NewLine, unmatched.Keys)); 255string.Join(Environment.NewLine, propertyNames));
src\Http\Routing\src\Patterns\RoutePattern.cs (1)
163return RawText ?? string.Join(SeparatorString, PathSegments.Select(s => s.DebuggerToString()));
src\Http\Routing\src\Patterns\RoutePatternPathSegment.cs (1)
49return string.Join(string.Empty, parts.Select(p => p.DebuggerToString()));
src\Http\Routing\src\Tree\UrlMatchingNode.cs (1)
86return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.RoutePattern.RawText})"))}";
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParameterAnalyzer.cs (1)
131string.Join(
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
116string.Join("\r\n", newCompilerDiagnostics.Select(d => d.ToString())),
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
RazorComponentsServiceCollectionExtensionsTest.cs (1)
135Assert.Fail($"Found duplicate implementation types for {serviceType}. Implementation types: {string.Join(", ", implementationTypes.Select(x => x.ToString()))}");
Microsoft.AspNetCore.Components.Performance (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParameterAnalyzer.cs (1)
118string.Join(
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
116string.Join("\r\n", newCompilerDiagnostics.Select(d => d.ToString())),
Microsoft.AspNetCore.Components.Web.Tests (1)
HtmlRendering\HtmlRendererTest.cs (1)
1209=> AssertHtmlContentEquals(string.Join(string.Empty, expected), actual);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
393 string.Join(Environment.NewLine, headers.Select(kvp => $"{kvp.Key}: {kvp.Value}"));
Microsoft.AspNetCore.Components.WebView.Wpf (1)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (1)
393 string.Join(Environment.NewLine, headers.Select(kvp => $"{kvp.Key}: {kvp.Value}"));
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.CookiePolicy.Test (1)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
128return string.Join(string.Empty, chunks);
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedDataProtector.cs (1)
77return "(" + String.Join(", ", purposes.Select(p => "'" + p + "'")) + ")";
Microsoft.AspNetCore.DataProtection.Tests (2)
Internal\KeyManagementOptionsSetupTest.cs (1)
49["KeyEscrowSinks"] = String.Join(" ;; ; ", new Type[] { typeof(MyKeyEscrowSink1), typeof(MyKeyEscrowSink2) }.Select(t => t.AssemblyQualifiedName)),
RegistryPolicyResolverTests.cs (1)
39["KeyEscrowSinks"] = String.Join(" ;; ; ", new Type[] { typeof(MyKeyEscrowSink1), typeof(MyKeyEscrowSink2) }.Select(t => t.AssemblyQualifiedName))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
Microsoft.AspNetCore.Diagnostics (4)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
357endpointModel.HttpMethods = string.Join(", ", httpMethods);
src\Shared\Diagnostics\BaseView.cs (1)
293return string.Join("<br />" + Environment.NewLine,
src\Shared\RazorViews\BaseView.cs (1)
283return string.Join("<br />" + Environment.NewLine,
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
109genericArguments = "<" + string.Join(", ", method.GetGenericArguments()
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
src\Shared\Diagnostics\BaseView.cs (1)
293return string.Join("<br />" + Environment.NewLine,
src\Shared\RazorViews\BaseView.cs (1)
283return string.Join("<br />" + Environment.NewLine,
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckOptions.cs (1)
55var missing = string.Join(", ", missingHealthStatus.Select(status => $"{nameof(HealthStatus)}.{status}"));
Microsoft.AspNetCore.Grpc.JsonTranscoding (10)
Internal\JsonTranscodingRouteAdapter.cs (4)
67var fullPath = string.Join(".", segmentVariable.FieldPath); 140var routeValueFormatTemplate = string.Join("/", routeValueFormatTemplateParts); 198string resolvedRoutePattern = "/" + string.Join("/", tempSegments); 208var pattern = string.Join("/", segments);
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
242return string.Join(",", paths.Select(ToJsonName));
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (5)
397throw new InvalidOperationException($"Couldn't find matching field for route parameter '{string.Join(".", path)}' on {messageDescriptor.Name}."); 400var completeFieldPath = string.Join(".", fieldDescriptors.Select(d => d.Name)); 401var completeJsonPath = string.Join(".", fieldDescriptors.Select(d => d.JsonName)); 542var joinedPath = string.Join(".", path.Select(d => d.JsonName)); 552var joinedPath = string.Join(".", path.Select(d => d.JsonName));
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (11)
HttpRoutePatternParserTests.cs (11)
33Assert.Equal("shelf", string.Join(".", v.FieldPath)); 40Assert.Equal("book", string.Join(".", v.FieldPath)); 63Assert.Equal("book.name", string.Join(".", v.FieldPath)); 155Assert.Equal("a.b.c", string.Join(".", v.FieldPath)); 174Assert.Equal("a.b.c", string.Join(".", v.FieldPath)); 193Assert.Equal("b", string.Join(".", v.FieldPath)); 213Assert.Equal("b", string.Join(".", v.FieldPath)); 234Assert.Equal("b", string.Join(".", v.FieldPath)); 254Assert.Equal("b", string.Join(".", v.FieldPath)); 276Assert.Equal("x.y.z", string.Join(".", v.FieldPath)); 297Assert.Equal("b", string.Join(".", v.FieldPath));
Microsoft.AspNetCore.Grpc.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Grpc.Swagger (6)
src\Grpc\JsonTranscoding\src\Shared\Legacy.cs (1)
242return string.Join(",", paths.Select(ToJsonName));
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (5)
397throw new InvalidOperationException($"Couldn't find matching field for route parameter '{string.Join(".", path)}' on {messageDescriptor.Name}."); 400var completeFieldPath = string.Join(".", fieldDescriptors.Select(d => d.Name)); 401var completeJsonPath = string.Join(".", fieldDescriptors.Select(d => d.JsonName)); 542var joinedPath = string.Join(".", path.Select(d => d.JsonName)); 552var joinedPath = string.Join(".", path.Select(d => d.JsonName));
Microsoft.AspNetCore.HostFiltering (1)
MiddlewareConfigurationManager.cs (1)
93return $"{{AllowedHosts = {string.Join("; ", hostFilteringOptions.AllowedHosts)}, AllowEmptyHosts = {hostFilteringOptions.AllowEmptyHosts}, IncludeFailureMessage = {hostFilteringOptions.IncludeFailureMessage}}}";
Microsoft.AspNetCore.Hosting (2)
src\Shared\RazorViews\BaseView.cs (1)
283return string.Join("<br />" + Environment.NewLine,
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
109genericArguments = "<" + string.Join(", ", method.GetGenericArguments()
Microsoft.AspNetCore.Http.Abstractions.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
224var parameterTypesString = string.Join(", ", parameterTypes);
StaticRouteHandlerModel\Emitters\EndpointEmitter.cs (1)
134public static string EmitArgumentList(this Endpoint endpoint) => string.Join(", ", endpoint.Parameters.Select(p => p.EmitArgument()));
StaticRouteHandlerModel\EndpointParameter.cs (2)
183var parameterList = string.Join(", ", EndpointParameters.Select(p => $"{p.SymbolName} = {p.EmitHandlerArgument()}")); 188var parameterList = string.Join(", ", EndpointParameters.Select(p => p.EmitHandlerArgument()));
StaticRouteHandlerModel\StaticRouteHandlerModel.Emitter.cs (1)
28var parameterTypeList = string.Join(", ", endpoint.Parameters.Select((p, i) => $"{EmitUnwrappedParameterType(p)} arg{i}{(p.HasDefaultValue ? $"= {p.DefaultValue}" : string.Empty)}"));
Microsoft.AspNetCore.Http.Tests (1)
HeaderDictionaryTests.cs (1)
41var header = string.Join(",", segments);
Microsoft.AspNetCore.Http.ValidationsGenerator (1)
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
224var parameterTypesString = string.Join(", ", parameterTypes);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (2)
src\Identity\test\Shared\ApiConsistencyTestBase.cs (2)
31"\r\n-- Missing virtual APIs --\r\n" + string.Join("\r\n", nonVirtualMethods)); 54"\r\n-- Missing async suffix --\r\n" + string.Join("\r\n", missingSuffixMethods));
Microsoft.AspNetCore.Identity.InMemory.Test (3)
InMemoryUserStore.cs (1)
409var mergedCodes = string.Join(";", recoveryCodes);
src\Identity\test\Shared\ApiConsistencyTestBase.cs (2)
31"\r\n-- Missing virtual APIs --\r\n" + string.Join("\r\n", nonVirtualMethods)); 54"\r\n-- Missing async suffix --\r\n" + string.Join("\r\n", missingSuffixMethods));
Microsoft.AspNetCore.Identity.Test (2)
src\Identity\test\Shared\ApiConsistencyTestBase.cs (2)
31"\r\n-- Missing virtual APIs --\r\n" + string.Join("\r\n", nonVirtualMethods)); 54"\r\n-- Missing async suffix --\r\n" + string.Join("\r\n", missingSuffixMethods));
Microsoft.AspNetCore.Identity.UI (1)
IdentityBuilderUIExtensions.cs (1)
97var enumValues = string.Join(", ", Enum.GetNames(typeof(UIFramework)).Select(v => $"'{v}'"));
Microsoft.AspNetCore.InternalTesting (2)
Logging\LogValuesAssert.cs (1)
56return string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
xunit\AspNetTestRunner.cs (1)
102return new(totalTimeTaken, string.Join(Environment.NewLine, messages));
Microsoft.AspNetCore.InternalTesting.Tests (2)
AssemblyTestLogTests.cs (1)
392return string.Join(Environment.NewLine, input.Split(new[] { Environment.NewLine }, StringSplitOptions.None)
LogValuesAssertTest.cs (1)
218string.Join(",", logValues.Select(kvp => $"[{kvp.Key} {kvp.Value}]"));
Microsoft.AspNetCore.JsonPatch (1)
JsonPatchDocumentOfT.cs (1)
663var path = String.Join("/", segments);
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
JsonPatchDocumentOfT.cs (1)
664var path = String.Join("/", segments);
Microsoft.AspNetCore.Mvc.Abstractions.Test (7)
ModelBinding\ModelStateDictionaryTest.cs (7)
1608var key = string.Join(".", Enumerable.Repeat("foo", stackLimit + 1)); 1626var key = string.Join(".", Enumerable.Repeat("foo", stackLimit + 1)); 1648var key = string.Join(".", Enumerable.Repeat("foo", stateDepth + 1)); 1666var key = string.Join(".", Enumerable.Repeat("foo", stateDepth + 1)); 1683var key = string.Join(".", Enumerable.Repeat("foo", stateDepth + 1)); 1701var key = string.Join(".", Enumerable.Repeat("foo", stateDepth + 1)); 1719var key = string.Join(".", Enumerable.Repeat("foo", stateDepth + 1));
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
426return string.Join("/", segments);
Microsoft.AspNetCore.Mvc.Core (11)
ApplicationModels\ApplicationModelFactory.cs (4)
245var message = Resources.FormatAttributeRoute_DuplicateNames(routeName, Environment.NewLine, string.Join(Environment.NewLine, descriptions)); 308formattedVerbs = string.Join(", ", verbs.OrderBy(v => v, StringComparer.OrdinalIgnoreCase)); 334string.Join(Environment.NewLine, actionDescriptions)); 343string.Join(Environment.NewLine + Environment.NewLine, errorMessages));
ApplicationModels\AttributeRouteModel.cs (1)
415string.Join(", ", values.Keys.OrderBy(k => k, StringComparer.OrdinalIgnoreCase)));
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
95var parameters = string.Join(Environment.NewLine, fromBodyParameters.Select(p => p.DisplayName));
Infrastructure\ActionSelector.cs (1)
98var actionNames = string.Join(
Routing\ActionEndpointFactory.cs (1)
141var formattedRouteKeys = string.Join(", ", resolvedRouteValues.Keys.Select(k => $"'{k}'"));
Routing\AttributeRoute.cs (1)
163var allErrors = string.Join(
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
123"{ " + string.Join(", ", dynamicValues.Select(kvp => $"{kvp.Key}: {kvp.Value}")) + " }.");
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
128return string.Join(string.Empty, chunks);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApiConventionMethodAttributeTest.cs (1)
148string.Join(Environment.NewLine, attributes.Select(a => a.FullName)) +
ApiConventionTypeAttributeTest.cs (1)
83string.Join(Environment.NewLine, attributes.Select(a => a.ToString())) +
Infrastructure\ActionSelectorTest.cs (1)
506var actionNames = string.Join(Environment.NewLine, actions.Select(action => action.DisplayName));
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
LinkBuilder.cs (1)
37return Url + "?" + string.Join("&", Values.Select(kvp => kvp.Key + "=" + kvp.Value));
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
FileExtensionsAttributeAdapter.cs (2)
25_formattedExtensions = string.Join(", ", parsedExtensions); 26_extensions = string.Join(",", parsedExtensions);
Microsoft.AspNetCore.Mvc.Razor (3)
ApplicationParts\RazorCompiledItemFeatureProvider.cs (1)
28var viewsDifferingInCase = string.Join(Environment.NewLine, duplicates.Select(d => d.Identifier));
RazorView.cs (2)
285locations = Environment.NewLine + string.Join(Environment.NewLine, originalLocations); 291Environment.NewLine + string.Join(Environment.NewLine, layoutPageResult.SearchedLocations);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
CompilationFailedException.cs (1)
25string.Join(
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
122"{ " + string.Join(", ", dynamicValues.Select(kvp => $"{kvp.Key}: {kvp.Value}")) + " }.");
Microsoft.AspNetCore.Mvc.TagHelpers (2)
PartialTagHelper.cs (2)
128var locations = Environment.NewLine + string.Join(Environment.NewLine, viewSearchedLocations); 133locations = Environment.NewLine + string.Join(Environment.NewLine, result.SearchedLocations);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
InputTagHelperTest.cs (2)
1078Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.EndOfFormContent.Select(html => HtmlContentUtilities.HtmlContentToString(html)))); 1381Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.EndOfFormContent.Select(html => HtmlContentUtilities.HtmlContentToString(html))));
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Filters\SaveTempDataPropertyFilterBase.cs (1)
114throw new InvalidOperationException(string.Join(Environment.NewLine, errorMessages));
HtmlHelper.cs (2)
527locations = Environment.NewLine + string.Join(Environment.NewLine, originalLocations); 533Environment.NewLine + string.Join(Environment.NewLine, viewEngineResult.SearchedLocations);
ViewComponents\DefaultViewComponentSelector.cs (1)
100var typeNames = string.Join(Environment.NewLine, matchedTypes);
ViewEngines\ViewEngineResult.cs (2)
98locations = Environment.NewLine + string.Join(Environment.NewLine, originalLocations); 103locations += Environment.NewLine + string.Join(Environment.NewLine, SearchedLocations);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Buffers\ViewBufferTest.cs (2)
191var expected = string.Join("", Enumerable.Range(0, valuesToWrite).Select(_ => "abc")); 232var expected = string.Join("", Enumerable.Range(0, valuesToWrite).Select(_ => "abc"));
DefaultEditorTemplatesTest.cs (1)
1628string.Join(" ", htmlAttributesDictionary.Select(entry => $"{ entry.Key }='{ entry.Value }'"));
Rendering\HtmlHelperFormTest.cs (1)
811return string.Join(
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonTypeInfoExtensions.cs (2)
99var propertyNames = string.Join("And", anonymousTypeProperties.Select(p => p.GetSchemaReferenceId(options))); 115var argumentNames = string.Join("And", genericArguments.Select(arg => arg.GetSchemaReferenceId(options)));
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
XmlCommentGenerator.cs (1)
52? string.Join("\n", generatedCommentsFromXmlFile)
XmlComments\XmlComment.cs (1)
90var bulletText = string.Join("\n", bulletPoints);
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Routing (8)
Matching\CandidateSet.cs (1)
351string.Join(Environment.NewLine, duplicates.Select(e => e.DisplayName));
Matching\DefaultEndpointSelector.cs (1)
123string.Join(Environment.NewLine, matches.Select(e => e.DisplayName)));
Matching\HttpMethodMatcherPolicy.cs (1)
382var allow = httpMethods is null ? string.Empty : string.Join(", ", httpMethods);
Patterns\RoutePattern.cs (1)
163return RawText ?? string.Join(SeparatorString, PathSegments.Select(s => s.DebuggerToString()));
Patterns\RoutePatternPathSegment.cs (1)
49return string.Join(string.Empty, parts.Select(p => p.DebuggerToString()));
Template\RouteTemplate.cs (1)
110return string.Join(SeparatorString, Segments.Select(s => s.DebuggerToString()));
Template\TemplateSegment.cs (1)
52return string.Join(string.Empty, Parts.Select(p => p.DebuggerToString()));
Tree\UrlMatchingNode.cs (1)
84return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.Template.TemplateText})"))}";
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Routing.Tests (3)
Matching\AcceptsMatcherPolicyTest.cs (1)
616$"test: {template} - {string.Join(", ", consumesMetadata?.ContentTypes ?? Array.Empty<string>())}");
Matching\HostMatcherPolicyTest.cs (1)
276$"test: {template} - {string.Join(", ", hostMetadata?.Hosts ?? Array.Empty<string>())}");
Matching\MatcherAssert.cs (1)
106return values == null ? "{}" : "{" + string.Join(", ", values.Select(kvp => $"{kvp.Key} = '{kvp.Value}'")) + "}";
Microsoft.AspNetCore.Security.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Server.HttpSys (2)
MessagePump.Log.cs (2)
27ClearedAddressesCore(logger, string.Join(", ", serverAddresses)); 41ClearedPrefixesCore(logger, string.Join(", ", serverAddresses));
Microsoft.AspNetCore.Server.HttpSys.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\RazorViews\BaseView.cs (1)
283return string.Join("<br />" + Environment.NewLine,
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
109genericArguments = "<" + string.Join(", ", method.GetGenericArguments()
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
233var environmentVariables = string.Join("`,", _deploymentParameters.EnvironmentVariables.Select(envVariable => $"{envVariable.Key}={envVariable.Value}"));
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\AddressBinder.cs (1)
175var joined = string.Join(", ", _addresses);
Internal\KestrelServerImpl.cs (2)
355Trace.LogInformation("Config changed. Stopping the following endpoints: '{endpoints}'", string.Join("', '", urlsToStop)); 383Trace.LogInformation("Config changed. Starting the following endpoints: '{endpoints}'", string.Join("', '", urlsToStart));
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http1\Http1ConnectionTests.cs (1)
1108return string.Join("", Enumerable
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
179var args = string.Join(".", protocols.Select(p => ProtocolToString(p)));
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\StackTrace\StackFrame\StackTraceHelper.cs (1)
109genericArguments = "<" + string.Join(", ", method.GetGenericArguments()
StackTraceHelperTest.cs (1)
305returnVal += string.Join(", ", Iterator());
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnection.Log.cs (2)
31var argsList = args == null ? string.Empty : string.Join(", ", args.Select(a => a?.GetType().FullName ?? "(null)")); 88var argsList = args == null ? string.Empty : string.Join(", ", args.Select(a => a?.GetType().FullName ?? "(null)"));
Microsoft.AspNetCore.SignalR.Common (4)
Protocol\HubMethodInvocationMessage.cs (4)
104args = Arguments == null ? string.Empty : string.Join(", ", Arguments.Select(a => a?.ToString())); 113streamIds = string.Join(", ", StreamIds != null ? StreamIds.Select(id => id?.ToString()) : Array.Empty<string>()); 159args = Arguments == null ? string.Empty : string.Join(", ", Arguments.Select(a => a?.ToString())); 168streamIds = string.Join(", ", StreamIds != null ? StreamIds.Select(id => id?.ToString()) : Array.Empty<string>());
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Internal\RedisLog.cs (1)
18ConnectingToEndpoints(logger, string.Join(", ", endpoints.Select(EndPointCollection.ToString)), serverName);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
189output = string.Join(Environment.NewLine, lines);
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\VerifyNoErrorScope.cs (1)
47errorMessage += string.Join(Environment.NewLine, results.Select(record =>
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
663? string.Join(", ", ctx.WebSockets.WebSocketRequestedProtocols)
Microsoft.AspNetCore.WebSockets.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.AspNetCore.WebUtilities.Microbenchmarks (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.Build (42)
BackEnd\BuildManager\BuildManager.cs (2)
944_buildTelemetry.BuildTarget ??= string.Join(",", requestData.TargetNames); 3261LogErrorAndShutdown(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("InputCacheFilesDoNotExist", string.Join(";", inputCacheFiles.Where(f => !File.Exists(f)))));
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
562string.Join(";", request.Targets));
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
249string.Join(";", targets),
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
513? string.Join(", ", buildRequest.TargetNames) 742string? targetNames = string.Join(", ", targets);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
721ProjectErrorUtilities.ThrowInvalidProject(targetLocation, "CircularDependencyInTargetGraph", targetSpecification.TargetName, parentTargetEntry.Name, buildReason, targetSpecification.TargetName, string.Join("<-", targetDependenceChain));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
784string.Join(";", undeclaredProjects.Select(p => $"\"{p}\"")),
BackEnd\Components\Scheduler\Scheduler.cs (6)
1764var globalProperties = string.Join( 2001: string.Join(";", request.Targets)); 2043return string.Join("; ", configuration.GlobalProperties.Select<ProjectPropertyInstance, string>(p => $"{p.Name}={p.EvaluatedValue}")); 2134string.Join(";", request.Targets)); 2531String.Join(", ", request.BuildRequest.Targets)); 2816string.Join(", ", buildRequest.Targets));
BackEnd\Components\SdkResolution\SdkResolverService.cs (4)
256loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "SingleResolverFailedToResolveSDK", sdk.Name, resolvers[0].Name, string.Join(Environment.NewLine, errors)); 261loggingContext.LogError(new BuildEventFileInfo(sdkReferenceLocation), "FailedToResolveSDK", sdk.Name, string.Join($"{Environment.NewLine} ", errors)); 384string resultWarnings = result.Warnings?.Any() == true ? string.Join(Environment.NewLine, result.Warnings) : "null"; 385string resultErrors = result.Errors?.Any() == true ? string.Join(Environment.NewLine, result.Errors) : "null";
BuildCheck\Infrastructure\BuildCheckBuildEventHandler.cs (1)
182=> title + Environment.NewLine + String.Join(Environment.NewLine, rowData.Select(a => $"{a.Key},{a.Value}")) + Environment.NewLine;
Construction\Solution\SolutionProjectGenerator.cs (1)
774AddProjectBuildTask(traversalInstance, null, targetElement, string.Join(";", _targetNames), "@(ProjectReference)", string.Empty, string.Empty);
Evaluation\Evaluator.cs (3)
1126_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 1129_evaluationLoggingContext.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]"); 2588string streamImports = string.Join(";", _streamImports);
Evaluation\Expander.cs (1)
2071var joinedItems = string.Join(expressionCapture.Separator, itemsFromCapture.Select(i => i.Key));
Evaluation\Expander\WellKnownFunctions.cs (1)
41? string.Join(", ", args.Select(a => a?.GetType().Name ?? "null"))
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
109MSBuildEventSource.Log.ExpandGlobStart(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs)); 126MSBuildEventSource.Log.ExpandGlobStop(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs));
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
112: string.Join(";", CapturedItems.Select(kvp => $"{kvp.Key} : {kvp.Value.EvaluatedInclude}"));
Evaluation\Profiler\EvaluationProfiler.cs (1)
64$"root: '${rootDirectory}', pattern: '${glob}', excludes: '${string.Join(";", excludePatterns)}'"))
FileUtilities.cs (1)
420return string.Join(DirectorySeparatorString, segments.Skip(headingSegmentsToRemove));
Graph\GraphBuilder.cs (4)
259string.Join(";", entryPoints.Select(e => e.ProjectFile)))); 282string.Join(";", Solution.SolutionParserWarnings), 283string.Join(";", Solution.SolutionParserErrorCodes))); 690return string.Join(";", reference.ProjectInstance.DefaultTargets);
Graph\ProjectGraph.cs (4)
459etwArgs = string.Join(";", entryPoints.Select( 464: string.Join(", ", e.GlobalProperties.Select(kvp => $"{kvp.Key} = {kvp.Value}")); 519var globalPropertiesString = string.Join( 549: string.Join(", ", targetsPerNode[node]);
Instance\ProjectInstance.cs (2)
2279rootElement.InitialTargets = String.Join(";", InitialTargets); 2280rootElement.DefaultTargets = String.Join(";", DefaultTargets);
PrintLineDebuggerWriters.cs (2)
90return $"\n{(id == null ? string.Empty : id + ": ")}{callsite}:{string.Join(";", args)}"; 95var joinedArgs = $"{EscapeCommas(callsite)},{string.Join(",", args.Select(arg => EscapeCommas(arg)))}\n";
Microsoft.Build.CommandLine.UnitTests (2)
XMake_Tests.cs (2)
554Arguments = string.Join(" ", cmdLine.Skip(1)), 598Arguments = string.Join(" ", cmdLine.Skip(1)),
Microsoft.Build.Engine.OM.UnitTests (8)
Definition\ProjectItem_Tests.cs (5)
2330Assert.Equal(@"a;a", string.Join(";", items.Select(i => i.EvaluatedInclude))); 2341Assert.Equal(@"a.txt;b.cs", string.Join(";", items.Select(i => i.EvaluatedInclude))); 2353Assert.Equal(@"a;c", string.Join(";", items.Select(i => i.EvaluatedInclude))); 2383Assert.Equal(@"a;b", string.Join(";", project.Items.Select(i => i.EvaluatedInclude))); 2400Assert.Equal(@"a;b;c", string.Join(";", project.ItemsIgnoringCondition.Select(i => i.EvaluatedInclude)));
FileUtilities.cs (1)
420return string.Join(DirectorySeparatorString, segments.Skip(headingSegmentsToRemove));
PrintLineDebuggerWriters.cs (2)
90return $"\n{(id == null ? string.Empty : id + ": ")}{callsite}:{string.Join(";", args)}"; 95var joinedArgs = $"{EscapeCommas(callsite)},{string.Join(",", args.Select(arg => EscapeCommas(arg)))}\n";
Microsoft.Build.Engine.UnitTests (15)
BackEnd\BuildManager_Tests.cs (1)
3810string.Join(";", result.ResultsByTarget["MainTarget"].Items.Select(i => i.ItemSpec)));
BackEnd\TranslationHelpers.cs (3)
183var text = string.Join("\n", list); 192var text = string.Join("\n", list); 224return string.Join(";", dictionary.Select(kvp => kvp.Key + "=" + kvp.Value));
BuildEventArgsSerialization_Tests.cs (2)
1206return string.Join(";", items.Select(i => ToString(i))); 1211return i.ItemSpec + string.Join(";", i.CloneCustomMetadata().Keys.OfType<string>().Select(k => i.GetMetadata(k)));
Construction\SolutionProjectGenerator_Tests.cs (1)
1107Assert.True(buildResult, String.Join(Environment.NewLine, logger.Errors.Select(beea => beea.Message)));
Evaluation\ItemEvaluation_Tests.cs (1)
557Assert.Equal("0;6;7;8;9", String.Join(";", items.Select(i => i.EvaluatedInclude)));
FileMatcher_Tests.cs (1)
240return String.Join(", ", GetParts());
Graph\ProjectGraph_Tests.cs (1)
1857var targets = string.Join(".*", targetsPerNode[node]);
Graph\ResultCacheBasedBuilds_Tests.cs (1)
530Projects='{string.Join(";", projectReferences.Select(i => $"{i}.proj"))}'
PrintLineDebugger_Tests.cs (1)
27return (id, callsite, args) => Logs.Add($"{id}{callsite}{string.Join(";", args)}");
ProjectCache\ProjectCacheTests.cs (2)
160return string.Join( 168: string.Join(",", children.Select(c => Node(c)));
WarningsAsMessagesAndErrors_Tests.cs (1)
262{(customProperties != null ? String.Join(Environment.NewLine, customProperties.Select(i => $"<{i.Key}>{i.Value}</{i.Key}>")) : "")}
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
TestUtilities\DotNetSdkTestBase.cs (3)
121{string.Join(Environment.NewLine + " ", expressions.SelectWithIndex((e, i) => $@"<_Value{i}>{e}</_Value{i}><_Value{i} Condition=""'$(_Value{i})' == ''"">{EmptyValueMarker}</_Value{i}>"))} 124<LinesToWrite Include=""{string.Join(";", expressions.SelectWithIndex((e, i) => $"$(_Value{i})"))}""/> 226var targetsArg = string.Join(";", targets.Concat(new[] { "Test_EvaluateExpressions" }));
Microsoft.Build.Tasks.Core (8)
AssemblyDependency\ResolveAssemblyReference.cs (1)
2883return String.Join(", ", subsetNames);
FileUtilities.cs (1)
420return string.Join(DirectorySeparatorString, segments.Skip(headingSegmentsToRemove));
PrintLineDebuggerWriters.cs (2)
90return $"\n{(id == null ? string.Empty : id + ": ")}{callsite}:{string.Join(";", args)}"; 95var joinedArgs = $"{EscapeCommas(callsite)},{string.Join(",", args.Select(arg => EscapeCommas(arg)))}\n";
ResolveSDKReference.cs (2)
424string incompatibleReferencesDelimited = String.Join(", ", listOfIncompatibleReferences); 453string incompatibleReferencesDelimited = string.Join(", ", listOfIncompatibleReferences);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
497log.LogErrorWithCodeFromResources("CodeTaskFactory.InvalidCodeLanguage", languageAttribute.Value, String.Join(", ", ValidCodeLanguages.Keys));
WriteCodeFragment.cs (1)
523.OrderBy(c => string.Join(",", c.Select(t => t.FullName)))
Microsoft.Build.Tasks.UnitTests (6)
Exec_Tests.cs (2)
176$"Expected 1 warning, encountered {warningsCount}: " + string.Join(",", 184$"Expected 2 warnings, encountered {warningsCount}: " + string.Join(",",
PrintLineDebugger_Tests.cs (1)
27return (id, callsite, args) => Logs.Add($"{id}{callsite}{string.Join(";", args)}");
RoslynCodeTaskFactory_Tests.cs (1)
761var log = string.Join("\n", logLines);
WriteCodeFragment_Tests.cs (2)
1173string expectedContent = string.Join(Environment.NewLine, expectedHeader.Concat(expectedAttributes)); 1176string normalizedActualContent = string.Join(
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
471item.DirectMetadataCount.ShouldBe(expected.Keys.Count, customMessage: $"Expected {expected.Keys.Count} metadata, ({string.Join(", ", expected.Keys)}), got {item.DirectMetadataCount}"); 1092return string.Join(itemSeparator, project.Items.Where(i => i.ItemType.Equals(itemType)).Select(i => i.EvaluatedInclude));
Microsoft.Build.Utilities.Core (6)
FileUtilities.cs (1)
420return string.Join(DirectorySeparatorString, segments.Skip(headingSegmentsToRemove));
LockCheck.cs (1)
249return string.Join(", ", GetLockingProcessInfos(filePath).Select(p => $"{p.ApplicationName} ({p.ProcessId})"));
PrintLineDebuggerWriters.cs (2)
90return $"\n{(id == null ? string.Empty : id + ": ")}{callsite}:{string.Join(";", args)}"; 95var joinedArgs = $"{EscapeCommas(callsite)},{string.Join(",", args.Select(arg => EscapeCommas(arg)))}\n";
ToolLocationHelper.cs (2)
1463foldersString = string.Join(";", folders); 2440string.Join(";", sdkDiskRoots),
Microsoft.Build.Utilities.UnitTests (1)
PrintLineDebugger_Tests.cs (1)
27return (id, callsite, args) => Logs.Add($"{id}{callsite}{string.Join(";", args)}");
Microsoft.Cci.Extensions (3)
HostEnvironment.cs (1)
600TraceLoadError("No assemblies loaded for {0}", string.Join(", ", paths));
Writers\CSharp\CSDeclarationWriter.Attributes.cs (1)
76string.Join("|", ops.ToString().Split(',').Select(x => "System.Runtime.CompilerServices.MethodImplOptions." + x.TrimStart())) :
Writers\Syntax\HtmlSyntaxWriter.cs (1)
146tooltip = string.Join(", ", differences.Select(d => d.Message));
Microsoft.CodeAnalysis (10)
CommandLine\AnalyzerConfigSet.cs (1)
531string.Join(", ", configPaths)));
CommandLine\CommonCompiler.CompilerEmitStreamProvider.cs (1)
127string.Join(", ", lockedBy.Select(info => $"'{info.applicationName}' ({info.processId})")));
CommandLine\ReportAnalyzerUtil.cs (1)
96var analyzerIds = string.Join(", ", GetSupportedIds(kvp.Key).Distinct().OrderBy(id => id));
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1336return string.Format(CodeAnalysisResources.DisableAnalyzerDiagnosticsMessage, string.Join(", ", diagnosticIds));
FileSystem\PathUtilities.cs (1)
871var expandedPath = volumeSpecifier + '/' + string.Join("/", resolvedParts);
InternalUtilities\StringExtensions.cs (1)
44return string.Join(separator, source);
MetadataReference\MetadataImageReference.cs (1)
64sb.Append(string.Join(", ", Properties.Aliases));
PEWriter\MetadataWriter.PortablePdb.cs (1)
984builder.WriteUTF8(string.Join(",", pair.Aliases.OrderBy(StringComparer.Ordinal)));
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
167return aliasesOpt.IsDefault ? "" : $" {name} = '{string.Join("','", aliasesOpt)}'";
src\Compilers\Core\AnalyzerDriver\AnalyzerExceptionDescriptionBuilder.cs (1)
23return string.Join(s_separator, flattened.InnerExceptions.Select(e => GetExceptionMessage(e)));
Microsoft.CodeAnalysis.Analyzers (4)
MetaAnalyzers\DiagnosticAnalyzerAPIUsageAnalyzer.cs (3)
167string.Join(", ", violatingTypeNamesBuilder) 177string.Join(", ", violatingUsedTypeNamesBuilder), 178string.Join(", ", violatingTypeNamesBuilder)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\GlobalFlowStateAnalysis\GlobalFlowStateAnalysisValueSet.cs (2)
201var result = string.Join(" || ", parentsBuilder.Order()); 217var result = string.Join(" && ", AnalysisValues.Select(f => f.ToString()).Order());
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
RestrictedInternalsVisibleToAnalyzer.cs (1)
197var restrictedNamespaces = string.Join(", ", restrictedInternalsVisibleToMap[symbol.ContainingAssembly]);
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Microsoft.CodeAnalysis.CodeStyle (11)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
871var expandedPath = volumeSpecifier + '/' + string.Join("/", resolvedParts);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (1)
44return string.Join(separator, source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (1)
13=> string.Join(string.Empty, parts.Select(p => p.ToString()));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (3)
307return string.Join(", ", symbols.Select(symbol => symbol.ToEditorConfigString())); 405return string.Join(", ", accessibilities.Select(accessibility => accessibility.ToEditorConfigString(languageName))); 464return string.Join(", ", modifiers.Select(modifier => modifier.ToEditorConfigString(languageName)));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (4)
63var combinedWordsWithCasing = string.Join(WordSeparator, wordsWithCasing); 225reason = string.Format(resourceId, string.Join(", ", violations)); 281var restString = string.Format(restResourceId, string.Join(", ", violations)); 419return Prefix + string.Join(WordSeparator, words) + Suffix;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PathMetadataUtilities.cs (1)
43? string.Join(".", parts)
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
367? $"{methodDisplay}({string.Join(", ", parameters)})"
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
210return string.Join(newLineText, lines.Select(line =>
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.cs (1)
55string.Join(", ", constructor.Parameters.Select(p => p.Name))),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
74name = string.Join(".", names);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
191var diagnostics = string.Join(", ", errors.Select(d => d.ToString()));
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (4)
1684result.AppendLine($"{(remainingValues.Any() ? " REMAINING " + string.Join(" ", remainingValues) : "")}"); 1720builder.Append(string.Join("; ", bindings)); 2454return $"AND({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})"; 2508return $"OR({string.Join(", ", RemainingTests.Select(t => t.Dump(dump)))})";
Binder\PatternExplainer.cs (1)
585var propertyString = needsPropertyString ? (deconstruction != null ? " {" : "{") + string.Join(", ", properties.Select(kvp => $" {kvp.Key.Name}: {kvp.Value}")) + " }" : null;
Compilation\CSharpCompilation.cs (1)
4812writeValue(CompilationOptionNames.Define, string.Join(",", preprocessorSymbols));
FlowAnalysis\NullableWalker.cs (1)
161return $$"""Collection: {{string.Join(", ", NestedVisitResults.Select(r => r.GetDebuggerDisplay()))}}""";
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
510var members = string.Join(", ", symbol.GetMembers().OfType<IPropertySymbol>().Select(CreateAnonymousTypeMember));
Symbols\TypedConstantExtensions.cs (1)
27return "{" + string.Join(", ", constant.Values.Select(v => v.ToCSharpString())) + "}";
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
175public override string ToString() => $"{(this._included ? "" : "~")}{{{string.Join(",", _membersIncludedOrExcluded.Select(o => o.ToString()))}{"}"}";
Utilities\ValueSetFactory.NumericValueSet.cs (1)
317return string.Join(",", this._intervals.Select(p => $"[{_tc.ToString(p.first)}..{_tc.ToString(p.last)}]"));
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
181defaultValue: new CodeStyleOption2<string>(string.Join(",", s_preferredModifierOrderDefault.Select(SyntaxFacts.GetText)), NotificationOption2.Silent));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
870builder.Append(string.Join(", ", typeParameterList.Parameters.Select(static p => p.Identifier.ValueText)));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
TouchedFileLoggingTests.cs (2)
235Assert.Equal(string.Join("\r\n", expected), 239Assert.Equal(string.Join("\r\n", expected),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (2)
47string.Join(Environment.NewLine, expectedOrder.Select(x => x.FullName)), 48string.Join(Environment.NewLine, actualOrder.Select(x => x.FullName)));
Completion\CompletionProviders\CompletionProviderOrderTests.cs (2)
79string.Join(Environment.NewLine, expectedOrder.Select(x => x.FullName)), 80string.Join(Environment.NewLine, actualOrder.Select(x => x.FullName)));
Debugging\ProximityExpressionsGetterTests.cs (1)
96{string.Join(Environment.NewLine, body.ReplaceLineEndings("\n").Split('\n').Select(line => line == "" ? line : $" {line}"))}
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenAsyncLocalsTests.cs (1)
37return string.Join(Environment.NewLine,
CodeGen\CodeGenCapturing.cs (3)
112return varNames.Count == 0 ? "0" : string.Join(" + ", varNames); 402var localFuncCalls = string.Join(" + ", 442string.Join("\r\n", fields.Select(f => $"public int {f} = 0;"))));
CodeGen\CodeGenDeconstructTests.cs (3)
2396var tuple = String.Join(", ", Enumerable.Range(1, i).Select(n => n.ToString())); 2397var variables = String.Join(", ", Enumerable.Range(1, i).Select(n => $"x{n}")); 2398var output = String.Join(@" + "" "" + ", Enumerable.Range(1, i).Select(n => $"x{n}"));
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (1)
2530string values = string.Join(", ", Enumerable.Range(1, numValues).Select(i => $"({typeName}){i}"));
CodeGen\CodeGenTupleTest.cs (2)
23995string filler = string.Join("\r\n", Enumerable.Range(1, 1000).Select(i => $"int y{i};")); 23996string parameters = string.Join(", ", Enumerable.Range(1, 2000).Select(i => $"int x{i}"));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\LocalStateTracing\LocalStateTracingTests.cs (1)
1331var expectedValue = $"<{string.Join("-", Enumerable.Repeat("00", expectedSize))}>";
PDB\PDBTests.cs (1)
740var verbatim = string.Join("\r\n", Enumerable.Repeat("x", 1000));
PDB\TypeDefinitionDocumentTests.cs (1)
505return string.Join(", ", result);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
FlowAnalysis\FlowTestBase.cs (1)
254return symbols.Any() ? string.Join(", ", symbols.Select(symbol => symbol.Name)) : null;
FlowAnalysis\RegionAnalysisTests.cs (2)
1372string.Join(", ", new string[] { "f" }.Concat((results2.ReadOutside).Select(symbol => symbol.Name)).OrderBy(name => name))); 1376string.Join(", ", new string[] { "f" }.Concat((results2.WrittenOutside).Select(symbol => symbol.Name)).OrderBy(name => name)));
PartialEventsAndConstructorsTests.cs (1)
3275AssertEx.Equal(string.Join(", ", expected), actual.ToStrings().Join(", "));
Semantics\PatternMatchingTests.cs (1)
5017return string.Join(", ", Enumerable.Range(0, r.Next(3)).Select(i => $"{(propNames ? $"P{r.Next(10)}: " : null)}{Pattern(d)}"));
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
786var deeplyRecursive = string.Join("+", Enumerable.Repeat(""" "a" """, 20_000));
Microsoft.CodeAnalysis.CSharp.Features (3)
AddImport\CSharpAddImportFeatureService.cs (1)
289=> $"using {string.Join(".", nameParts)};";
DecompiledSource\CSharpDecompiledSourceService.cs (2)
122var result = string.Join(".", containingNamespaceStack); 125result += "+" + string.Join("+", containingTypeStack);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Testing\CSharpTestMethodFinderTests.cs (1)
586Assert.True(unmatchedTestNames.Count == 0, $"Unable to match the following test names: {string.Join(", ", unmatchedTestNames)}");
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests.cs (1)
707public string s = {string.Join(" + ", Enumerable.Repeat("(string)o", 1000))};
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\ConstantTests.cs (6)
2995var source = string.Join(Environment.NewLine, range.Select(i => 3025var source = string.Join(Environment.NewLine, range.Select(i => 3082var source = string.Join(Environment.NewLine, range.Select(i => 3112var source = string.Join(Environment.NewLine, range.Select(i => 3172var source = string.Join(Environment.NewLine, range.Select(i => 3205var source = string.Join(Environment.NewLine, range.Select(i =>
Semantics\DeconstructionTests.cs (2)
1481var tuple = String.Join(", ", Enumerable.Range(1, 22).Select(n => n.ToString())); 1482var variables = String.Join(", ", Enumerable.Range(1, 22).Select(n => $"x{n}"));
Semantics\DelegateTypeTests.cs (8)
13285var manyParams = string.Join(", ", range.Select(i => $"int p{i}")); 13286var manyArgs = string.Join(", ", range.Select(i => $"arg{i}: {i * 10}")); 13287var manyTypes = string.Join(",", range.Select(_ => "System.Int32")); 13306var fewArgs = string.Join(", ", range.Skip(1).Select(i => $"arg{i}: {i * 10}")); 13335var manyParams = string.Join(", ", range.Select(i => $"int p{i}")); 13336var manyTypes = string.Join(",", range.Select(_ => "System.Int32")); 13358var manyParams = string.Join(", ", range.Select(i => $"int p{i}")); 13359var manyTypes = string.Join(",", range.Select(_ => "System.Int32"));
SourceGeneration\GeneratorDriverTests.cs (1)
2171spc.AddSource("InvokedMethods.g.cs", string.Join(Environment.NewLine,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Compilation\SemanticModelAPITests.cs (4)
1048var results = string.Join(", ", symList); 1079var results = string.Join(", ", symList); 1120var results = string.Join(", ", symList); 1164var results = string.Join(", ", symList);
Symbols\LookupSymbolsInfoTests.cs (1)
78return string.Format("<{0}>", string.Join(",", TemplateArgEnumerable.Instance.Take(arity)));
Symbols\Source\EventTests.cs (1)
43var actual = string.Join(", ", actualSymbols.Where(s => !s.IsImplicitlyDeclared).Select(symbol => symbol.Name).OrderBy(name => name));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
LexicalAndXml\DocumentationCommentLexerTestBase.cs (1)
70Console.WriteLine(string.Join("," + Environment.NewLine, baseline));
LexicalAndXml\LexicalTests.cs (1)
3804return string.Join("", decimal.GetBits(d).Select(word => string.Format("{0:x8}", word)));
Parsing\CollectionExpressionParsingTests.cs (1)
17096var text = $"[{string.Join(", ", Enumerable.Range(1, count).Select(i => $"A{i}"))}]";
Parsing\DeclarationParsingTests.cs (1)
2670var text = "class a { " + string.Join(" ", modifiers.Select(SyntaxFacts.GetText)) + " b X() { } }";
Parsing\FileModifierParsingTests.cs (1)
2460var manyFileModifiers = string.Join(" ", Enumerable.Repeat("file", FileModifiersCount));
Syntax\SyntaxEquivalenceTests.cs (2)
1292var expr = string.Join(" + ", Enumerable.Range(0, 10000).Select(_ => "a")); 1320var expr = string.Join(" + ", Enumerable.Range(0, 10000).Select(_ => "a"));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Extensions.cs (2)
246return lastContainer.GetMembers(string.Join(".", parts.Skip(i))); 269return lastContainer.GetMembers(string.Join(".", parts.Skip(i)));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
OrganizeImports\CSharpOrganizeImportsService.Rewriter.cs (1)
77=> string.Join(string.Empty, organizedList.Select(t => t.ToFullString()));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (1)
181defaultValue: new CodeStyleOption2<string>(string.Join(",", s_preferredModifierOrderDefault.Select(SyntaxFacts.GetText)), NotificationOption2.Silent));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
870builder.Append(string.Join(", ", typeParameterList.Parameters.Select(static p => p.Identifier.ValueText)));
Microsoft.CodeAnalysis.EditorFeatures (2)
Interactive\SendToInteractiveSubmissionProvider.cs (1)
78=> string.Join(editorOptions.GetNewLineCharacter(), selectedSpans.Select(ss => ss.GetText()));
LanguageServer\RazorInProcLanguageClient.cs (1)
83var regexExpression = string.Join("|", InlineCompletionsHandler.BuiltInSnippets);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Classification\FormattedClassification.cs (2)
54var type = string.Join("", parts.Select(Capitalize)); 212return $"{string.Join("", trimmedClassification.Split(' ').Select(Capitalize))}(\"{Text}\")";
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
252Assert.Equal(string.Join(", ", classificationTypeNames), string.Join(", ", classifiedSpans.Select(s => s.ClassificationType)));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeActions\CodeChangeProviderMetadataTests.cs (1)
78var providerNames = string.Join(", ", namedGroup.Select(exportedProvider => exportedProvider.Part.Definition.Type.FullName));
Completion\FileSystemCompletionHelperTests.cs (1)
20actual.Select(c => $"'{c.DisplayText}', {string.Join(", ", c.Tags)}, '{c.GetProperty(CommonCompletionItem.DescriptionProperty)}'"),
Diagnostics\IDEDiagnosticIDConfigurationTests.cs (2)
738string.Join(Environment.NewLine, baseline.Select(Inspect))); 752string.Join(Environment.NewLine, extraEntitiesBuilder.Select(Inspect)));
ValueTracking\AbstractBaseValueTrackingTests.cs (2)
45Assert.True(itemInfo.Length == items.Length, $"GetTrackedItemsAsync\n\texpected: [{string.Join(",", itemInfo.Select(p => p.text))}]\n\t actual: [{string.Join(",", items)}]"); 58Assert.True(childInfo.Length == children.Length, $"GetTrackedItemsAsync on [{item}]\n\texpected: [{string.Join(",", childInfo.Select(p => p.text))}]\n\t actual: [{string.Join(",", children)}]");
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (2)
Debugger\Engine\DkmClrCustomTypeInfo.cs (1)
36private string DebuggerDisplay => $"[{string.Join(", ", Payload.Select(b => $"0x{b:x2}"))}] from {PayloadTypeId}";
ResultProviderTestBase.cs (1)
485return string.Join(" | ", parts.Select(p => enumTypeName + "." + p));
Microsoft.CodeAnalysis.Features (21)
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (1)
62? string.Format(FeaturesResources.Use_locally_installed_0_version_1_This_version_used_in_colon_2, _packageName, _versionOpt, string.Join(", ", _projectsWithMatchingVersion))
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
391builder.Add(string.Join(".", parts.Take(i)));
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
92.Select(i => (foldername: string.Join(".", parts.Take(i)), index: i))
Common\TaggedText.cs (2)
217return string.Join(string.Empty, parts.Select( 222=> string.Join(string.Empty, parts.Select(p => p.ToString()));
Completion\Providers\SymbolCompletionItem.cs (1)
112return string.Join("|", symbols.Select(EncodeSymbol));
Copilot\CopilotChangeAnalysisUtilities.cs (2)
57=> string.Join(",", dictionary.Select(kvp => FormattableString.Invariant($"{kvp.Key}_{Stringify(kvp.Value)}")).OrderBy(v => v)); 62return string.Join(":", strings.OrderBy(v => v));
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer.cs (1)
52=> $"project: ({project.Id}), ({string.Join(Environment.NewLine, analyzers.Select(a => a.ToString()))})";
DocumentationComments\AbstractDocumentationCommentSnippetService.cs (3)
101var comments = string.Join(string.Empty, lines); 302var newText = string.Join(string.Empty, lines); 358var comments = string.Join(string.Empty, lines);
EmbeddedLanguages\EmbeddedLanguageCommentDetector.cs (1)
27var namePortion = string.Join("|", identifiers.Select(n => $"({Regex.Escape(n)})"));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (1)
166=> $"{DocumentId?.ToString() ?? ProjectId.ToString()}, ({InvocationReasons}), LowPriority:{IsLowPriority}, ActiveMember:{ActiveMember != null}, Retry:{IsRetry}, ({string.Join("|", SpecificAnalyzers.Select(a => a.GetType().Name))})";
ExtractMethod\MethodExtractor.Analyzer.cs (1)
253string.Join(", ", failedVariables.Select(v => v.Name))));
GenerateType\AbstractGenerateTypeService.State.cs (1)
408NamespaceToGenerateInOpt = string.Join(".", nameParts);
MoveStaticMembers\MoveStaticMembersOptions.cs (1)
65NamespaceDisplay = string.Join(separator: ".", namespacesAndType.Take(namespacesAndType.Length - 1));
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
367? $"{methodDisplay}({string.Join(", ", parameters)})"
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
210return string.Join(newLineText, lines.Select(line =>
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.cs (1)
55string.Join(", ", constructor.Parameters.Select(p => p.Name))),
src\Compilers\Core\AnalyzerDriver\AnalyzerExceptionDescriptionBuilder.cs (1)
23return string.Join(s_separator, flattened.InnerExceptions.Select(e => GetExceptionMessage(e)));
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\ActiveStatementTestHelpers.cs (1)
88src = src[..start] + string.Join("", Enumerable.Repeat(Environment.NewLine, lineCount)) + src[end..];
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
82=> CreateText("[*.*]" + Environment.NewLine + string.Join(Environment.NewLine, analyzerConfig.Select(c => $"{c.key} = {c.value}")));
Microsoft.CodeAnalysis.Features.UnitTests (1)
FindUsages\DefinitionItemFactoryTests.cs (1)
36=> string.Join(" | ", e.ToString().Split(',').Select(s => $"{typeof(TEnum).Name}.{s.Trim()}"));
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
871var expandedPath = volumeSpecifier + '/' + string.Join("/", resolvedParts);
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestRunner.TestRunHandler.cs (1)
188return string.Join("", results);
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\ProtocolConversions.cs (3)
259return "file://" + string.Join("/", parts.Select(EscapeUriPart)); 265return "file://" + serverName + "/" + string.Join("/", parts.Skip(3).Select(EscapeUriPart)); 269return "file:///" + parts[0] + "/" + string.Join("/", parts.Skip(1).Select(EscapeUriPart));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
SpellCheck\SpellCheckTests.cs (2)
74var markup = string.Join(Environment.NewLine, Enumerable.Range(0, 5500).Select(v => 79{{string.Join(Environment.NewLine, Enumerable.Repeat("", random.Next() % 5))}}
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
DeclarePublicApiAnalyzer.Impl.cs (1)
575return string.Join(ApiNamesOfSiblingsToRemovePropertyBagValueSeparator, publicApiLinesForSiblingsOfSymbol);
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (3)
AnnotatePublicApiFix.cs (1)
90SourceText newSourceText = sourceText.Replace(new TextSpan(0, sourceText.Length), string.Join(endOfLine, lines) + sourceText.GetEndOfFileText(endOfLine));
DeclarePublicApiFix.cs (2)
133var newText = string.Join(endOfLine, lines) + sourceText.GetEndOfFileText(endOfLine); 163SourceText newSourceText = sourceText.Replace(new TextSpan(0, sourceText.Length), string.Join(endOfLine, newLines) + sourceText.GetEndOfFileText(endOfLine));
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
RebuildCommandLineTests.cs (2)
356TestOutputHelper.WriteLine($"Final Line: {string.Join(" ", args)}"); 515TestOutputHelper.WriteLine($"Final Line: {string.Join(" ", args)}");
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (1)
TelemetryLoggerTests.cs (1)
26TelemetryComplexProperty { Value: IEnumerable<object?> items } => $"Complex[{string.Join(",", items.Select(InspectPropertyValue))}]",
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
AbstractResxGenerator.cs (6)
207var text = string.Join("", exceptionLines.Select(line => "#error " + line + Environment.NewLine)); 509{string.Join(Environment.NewLine, getResourceStringAttributes.Select(attr => memberIndent + attr))} 869public string GetArgumentNames() => string.Join(", ", _arguments.Select(a => "\"" + a + "\"")); 871public string GetArguments() => string.Join(", ", _arguments.Select(GetArgName)); 878return string.Join(", ", _arguments.Select(a => $"object{(supportsNullable ? "?" : "")} " + GetArgName(a))); 880return string.Join(", ", _arguments.Select(GetArgName));
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
CSharpScriptTestBase.cs (1)
28"/r:" + string.Join(";", GetReferences()),
Microsoft.CodeAnalysis.Test.Utilities (27)
Assert\AssertEx.cs (3)
546return string.Join(separator, list.Select(itemInspector)); 688var expectedString = string.Join(itemSeparator, expected.Take(10).Select(itemInspector)); 689var actualString = string.Join(itemSeparator, actual.Select(itemInspector));
Assert\DiffUtil.cs (1)
85return string.Join(separator, lcs.CalculateDiff(expectedList, actualList, toString));
BaseCompilerFeatureRequiredTests.cs (1)
19var featureLengthAndName = string.Join(" ", builder.ToImmutableArray().Select(b => $"{b:x2}"));
Compilation\CompilationExtensions.cs (4)
90Assert.True(emitResult.Success, "Diagnostics:\r\n" + string.Join("\r\n", emitResult.Diagnostics.Select(d => d.ToString()))); 104Assert.True(emitResult.Success, "Diagnostics: " + string.Join(", ", emitResult.Diagnostics.Select(d => d.ToString()))); 175Select(t => $"{t.Item1.Identity.Name}, Version={t.Item1.Identity.Version}{(t.Item2.IsEmpty ? "" : ": " + string.Join(",", t.Item2))}"); 183Select(t => $"{t.Item1.Identity.Name}{(t.Item2.IsEmpty ? "" : ": " + string.Join(",", t.Item2))}");
Compilation\CompilationTestDataExtensions.cs (2)
72string.Join(Environment.NewLine, keys.Select(s => " " + s)) + Environment.NewLine); 93throw new KeyNotFoundException("Could not find ILBuilder matching method '" + qualifiedMethodName + "'. Existing methods:\r\n" + string.Join("\r\n", map.Keys));
CompilationVerifier.cs (2)
114throw new Exception($"Didn't find method '{methodName}'. Available/distinguishable methods are: {Environment.NewLine}{string.Join(Environment.NewLine, map.Keys)}"); 511return string.Join(Environment.NewLine, result.Select(r => printMethod(r.Method, metadataReader) + r.Message + printErrorArguments(r.ErrorArguments)));
Diagnostics\CommonDiagnosticAnalyzers.cs (7)
157" + String.Join("," + Environment.NewLine + " ", Descriptor1.CustomTags.Select(s => $"\"{s}\"")) + @" 171" + String.Join("," + Environment.NewLine + " ", Descriptor2.CustomTags.Select(s => $"\"{s}\"")) + @" 234" + String.Join("," + Environment.NewLine + " ", Descriptor1.CustomTags.Select(s => $"\"{s}\"")) + @" 248" + String.Join("," + Environment.NewLine + " ", Descriptor2.CustomTags.Select(s => $"\"{s}\"")) + @" 376" + string.Join("," + Environment.NewLine + " ", suppressionKinds.Select(s => $"\"{s}\"")) + @" 474" + string.Join("," + Environment.NewLine + " ", Descriptor1.CustomTags.Select(s => $"\"{s}\"")) + @" 495" + String.Join("," + Environment.NewLine + " ", Descriptor2.CustomTags.Select(s => $"\"{s}\"")) + @"
Diagnostics\DiagnosticsHelper.cs (1)
30Environment.NewLine + "Actual: " + string.Join(", ", actualDiagnosticIds));
Diagnostics\ThrowingDiagnosticAnalyzer.cs (3)
100" Exceptions thrown by analyzers in these members were *NOT* handled:" + Environment.NewLine + string.Join(Environment.NewLine, membersHandled.Where(mh => mh.Handled == false).Select(mh => mh.Member)) + Environment.NewLine + Environment.NewLine + 101" Exceptions thrown from these members were handled gracefully:" + Environment.NewLine + string.Join(Environment.NewLine, membersHandled.Where(mh => mh.Handled == true).Select(mh => mh.Member)) + Environment.NewLine + Environment.NewLine + 102" These members were not called/accessed by analyzer engine:" + Environment.NewLine + string.Join(Environment.NewLine, membersHandled.Where(mh => mh.Handled == null).Select(mh => mh.Member)));
Metadata\MetadataReaderUtils.cs (1)
420=> genericType + "{" + string.Join(", ", typeArguments) + "}";
Syntax\TokenUtilities.cs (2)
55var expectedDisplay = string.Join(" ", expectedTokens.Select(t => t.ToString())); 56var actualDisplay = string.Join(" ", actualTokens.Select(t => t.ToString()));
Microsoft.CodeAnalysis.UnitTests (3)
Analyzers\AnalyzerConfigTests.cs (3)
204var config = ParseConfigFile(string.Join(Environment.NewLine, 352var config = ParseConfigFile(string.Join(Environment.NewLine, 363var config = ParseConfigFile(string.Join(Environment.NewLine,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
FlowAnalysis\FlowTestBase.vb (1)
106Return If(Not symbols.IsEmpty(), String.Join(", ", symbols.Select(Function(symbol) symbol.Name)), Nothing)
Microsoft.CodeAnalysis.Workspaces (21)
Notification\AbstractGlobalOperationNotificationService.cs (1)
44Contract.ThrowIfFalse(_operations.Count == 0, $"Non-disposed operations: {string.Join(", ", _operations)}");
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
871var expandedPath = volumeSpecifier + '/' + string.Join("/", resolvedParts);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (1)
44return string.Join(separator, source);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (1)
13=> string.Join(string.Empty, parts.Select(p => p.ToString()));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\EditorConfig\EditorConfigNamingStyleParser_SymbolSpec.cs (3)
307return string.Join(", ", symbols.Select(symbol => symbol.ToEditorConfigString())); 405return string.Join(", ", accessibilities.Select(accessibility => accessibility.ToEditorConfigString(languageName))); 464return string.Join(", ", modifiers.Select(modifier => modifier.ToEditorConfigString(languageName)));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (4)
63var combinedWordsWithCasing = string.Join(WordSeparator, wordsWithCasing); 225reason = string.Format(resourceId, string.Join(", ", violations)); 281var restString = string.Format(restResourceId, string.Join(", ", violations)); 419return Prefix + string.Join(WordSeparator, words) + Suffix;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PathMetadataUtilities.cs (1)
43? string.Join(".", parts)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
74name = string.Join(".", names);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
191var diagnostics = string.Join(", ", errors.Select(d => d.ToString()));
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (5)
72({string.Join(",", _allColumns.Select(c => c.name))}) values ({string.Join(",", _allColumns.Select(n => "?"))}) 80{string.Join(" and ", _primaryKeyColumns.Select(k => $"{k.name} = ?"))} 113{string.Join(",", _allColumns.Select(k => $"{k.name} {k.type} not null"))}, 114primary key({string.Join(",", _primaryKeyColumns.Select(k => k.name))})
Workspace\Solution\Checksum.cs (1)
106= checksums => string.Join("|", checksums.Select(c => c.ToString()));
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (1)
284m["Errors"] = string.Join(";", groups);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
MSBuild\ProjectFile\CommandLineArgumentReader.cs (1)
217AddIfNotNullOrWhiteSpace("imports", string.Join(",", imports.Select(ReadImportItem)), addQuoteIfValueContainsWhitespace: false);
MSBuild\ProjectFile\ProjectFile.cs (2)
410metadata.Add(MetadataNames.Aliases, string.Join(",", aliases)); 489metadata.Add(MetadataNames.Aliases, string.Join(",", reference.Aliases));
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
871var expandedPath = volumeSpecifier + '/' + string.Join("/", resolvedParts);
src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (1)
44return string.Join(separator, source);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
1622await AssertCSParseOptionsAsync("DEBUG,TRACE,X,Y", options => string.Join(",", options.PreprocessorSymbolNames)); 1629await AssertCSParseOptionsAsync("DEBUG,TRACE", options => string.Join(",", options.PreprocessorSymbolNames));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Options\NamingStyleTestUtilities.cs (1)
28=> string.Join(",", items.Select(item => item.ToString()));
WorkspaceExtensions.cs (1)
45var uniqueName = string.Join("/", folders) + "/" + name;
Workspaces\TestWorkspace_XmlConsumption.cs (1)
369string.Join(", ", Services.SupportedLanguages),
Workspaces\TestWorkspace_XmlCreation.cs (1)
126var value = string.Join(";", parseOptions.Features.Select(p => $"{p.Key}={p.Value}"));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
ExtensionOrdererTests.cs (1)
216var actualOrder = string.Join(string.Empty, GetNames(actual));
Microsoft.DotNet.Arcade.Sdk (5)
src\DownloadFile.cs (1)
102Log.LogError($"Download from all targets failed. List of attempted targets: {string.Join(", ", Uris.Select(m => m.ItemSpec))}");
src\GenerateResxSource.cs (4)
525public string GetArgumentNames() => string.Join(", ", _arguments.Select(a => "\"" + a + "\"")); 527public string GetArguments() => string.Join(", ", _arguments.Select(GetArgName)); 534return string.Join(", ", _arguments.Select(a => "object " + GetArgName(a))); 536return string.Join(", ", _arguments.Select(a => GetArgName(a)));
Microsoft.DotNet.Arcade.Sdk.Tests (1)
GroupItemsByTests.cs (1)
38}, task.GroupedItems.Select(i => $"{i.ItemSpec}: {string.Join(" ", inspectMetadata.Select(m => $"{m}='{i.GetMetadata(m)}'"))}"));
Microsoft.DotNet.Build.Manifest (1)
BuildModelFactory.cs (1)
336_log.LogError($"Build identity properties mismatch in manifest '{identity.Name}': {string.Join("; ", differences)}");
Microsoft.DotNet.Build.Tasks.Feed (12)
src\model\TargetChannelConfig.cs (4)
80$"\n AkaMSChannelName: \n\t{string.Join("\n\t", AkaMSChannelNames)} " + 81$"\n AkaMSCreateLinkPatterns: \n\t{string.Join("\n\t", AkaMSCreateLinkPatterns.Select(s => s.ToString()))} " + 82$"\n AkaMSDoNotCreateLinkPatterns: \n\t{string.Join("\n\t", AkaMSDoNotCreateLinkPatterns.Select(s => s.ToString()))} " + 84$"\n {string.Join("\n ", TargetFeeds.Select(f => $"{string.Join(", ", f.ContentTypes)} -> {f.FeedUrl}"))}" +
src\model\TargetFeedConfig.cs (6)
124string.Join(" ", LatestLinkShortUrlPrefixes), 125string.Join(" ", AkaMSCreateLinkPatterns.Select(s => s.ToString())), 126string.Join(" ", AkaMSDoNotCreateLinkPatterns.Select(s => s.ToString())), 141$"\n ShortUrlPrefix: \n\t{string.Join("\n\t", LatestLinkShortUrlPrefixes)}" + 142$"\n AkaMSCreateLinkPatterns: \n\t{string.Join("\n\t", AkaMSCreateLinkPatterns.Select(s => s.ToString()))}" + 143$"\n AkaMSDoNotCreateLinkPatterns: \n\t{string.Join("\n\t", AkaMSDoNotCreateLinkPatterns.Select(s => s.ToString()))}" +
src\PublishArtifactsInManifestBase.cs (2)
576$"\tSymbol packages ({symbolPackagesToPublish.Count}):{Environment.NewLine}\t\t{string.Join($"{Environment.NewLine}\t\t", symbolPackagesToPublish.Select(s => s.Id))}" + Environment.NewLine + 577$"\tLoose symbol files ({looseFiles.Count()}): {Environment.NewLine}\t\t{string.Join($"{Environment.NewLine}\t\t", looseFiles)}");
Microsoft.DotNet.Build.Tasks.Installers (4)
src\BuildFPMToolPreReqs.cs (2)
214if (configJson.Package_Conflicts != null) parameters.Add(string.Concat("--conflicts ", EscapeArg(string.Join(",", configJson.Package_Conflicts)))); 227return string.Join(" ", parameters);
src\CreateControlFile.cs (1)
67writer.WriteLine("Depends: " + string.Join(", ", dependencyItems));
src\StabilizeWixFileId.cs (1)
80string.Join(", ", matchingFileElements.Select(e => e.ToString())));
Microsoft.DotNet.Build.Tasks.Packaging (21)
GenerateRuntimeDependencies.cs (1)
98Log.LogMessage(LogImportance.Low, "Skipping dependencies {0} since they don't have a TargetRuntime.", String.Join(", ", runtimeGroup.Select(d => d.ItemSpec)));
GetApplicableAssetsFromPackages.cs (4)
108Log.LogMessage($"Resolved compile assets from {compileFx.ToString()}: {String.Join(";", CompileAssets.Select(c => c.ItemSpec))}"); 115Log.LogError($"Could not locate compile assets for any of the frameworks {String.Join(";", compileFxs.Select(fx => fx.ToString()))}"); 132Log.LogMessage($"Resolved runtime assets from {runtimeFx.ToString()}: {String.Join(";", RuntimeAssets.Select(r => r.ItemSpec))}"); 139Log.LogError($"Could not locate runtime assets for any of the frameworks {String.Join(";", runtimeFxs.Select(fx => fx.ToString()))}");
PackageIndex.cs (1)
37string indexKey = String.Join("|",
PromoteDependencies.cs (2)
47Log.LogMessage(LogImportance.Low, $"Ref frameworks {string.Join(";", refFxs.Select(f => f.ToString()))}"); 52Log.LogMessage(LogImportance.Low, $"Lib frameworks {string.Join(";", libFxs.Select(f => f.ToString()))}");
ValidateFrameworkPackage.cs (3)
58logMissingInbox($"File {name} was included framework package {_report.Id}/{_report.Version} but that file is missing from package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression."); 64logMissingInbox($"File {name}, version {testAsset.Version} was included framework package {_report.Id}/{_report.Version} but that version is not considered inbox in package index {string.Join(";", _index.IndexSources)}. Please add it with appropriate {nameof(PackageInfo.InboxOn)} entry for {Framework} or suppress this message with {nameof(Suppression.PermitInbox)} suppression."); 79logMissingPackage($"File {missingInboxAssembly.Key}.dll is marked as inbox for framework {Framework} but was missing from framework package {_report.Id}/{_report.Version}. Either add the file or update {nameof(PackageInfo.InboxOn)} entry in {string.Join(";", _index.IndexSources)}. This may be suppressed with {nameof(Suppression.PermitMissingInbox)} suppression");
ValidatePackage.cs (10)
236Log.LogError($"Framework {fx} should support {ContractName} inbox but contained a reference assemblies: {String.Join(", ", compileAssetPaths)}. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project."); 245Log.LogError($"Framework {fx} should support {ContractName} inbox but contained a implementation assemblies: {String.Join(", ", runtimeAssetPaths)}. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project."); 352Log.LogError($"When targeting {target} {ContractName} will use {implementationAssembly.LocalPath} which targets {implementationAssembly.TargetFramework.GetShortFolderName()} but {String.Join(";", matchingFxAssets.Select(i => i.PackagePath))} targets {fx.GetShortFolderName()} specifically."); 383Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an entry for package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update."); 400Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an assembly version entry for {fileVersion} for package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update."); 407Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} indicates that assembly version {fileVersion} is contained in non-stable package version {packageVersion} which differs from this package version {thisPackageVersion}."); 417Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is has an assembly version entry(s) for {String.Join(", ", orphanedAssemblyVersions)} which are no longer in package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update."); 430Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an baseline entry(s) for native module {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update."); 441Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing ModulesToPackages entry(s) for {String.Join(", ", missingModuleNames)} to package {PackageId}. Please add a an entry for the appropriate package.");
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
CreateTrimDependencyGroupsTests.cs (1)
359actualTFMs.Should().BeSubsetOf(expectedTFMs, $"A TFM was not found in {string.Join(",", expectedTFMs)}");
Microsoft.DotNet.Build.Tasks.VisualStudio (2)
OptProf\GetRunSettingsSessionConfiguration.cs (2)
132return string.Join( 150return string.Join(
Microsoft.DotNet.Build.Tasks.Workloads (2)
CreateVisualStudioWorkload.wix.cs (1)
289string uniquePackGroupKey = string.Join("\r\n", kvp.Value.Select(p => p.PackagePath).OrderBy(p => p));
Msi\MsiBase.wix.cs (1)
217SuppressIces = iceSuppressions == null ? null : string.Join(";", iceSuppressions.Select(i => i.ItemSpec))
Microsoft.DotNet.GenFacades (2)
GenPartialFacadeSourceGenerator.cs (1)
46logger.LogError("There are multiple versions of these assemblies: {0}. Please provide a single version.", string.Join(", ", duplicates));
SourceGenerator.cs (1)
81_logger.LogError("The type '{0}' is defined in multiple seed assemblies. The multiple assemblies are {1}. If this is intentional, specify the alias for this type and project reference", type, string.Join(", ", seedTypes));
Microsoft.DotNet.Helix.Sdk (2)
InstallDotNetTool.cs (1)
160Log.LogMessage($"Executing {DotnetPath} {string.Join(" ", args)}");
WaitForHelixJobCompletion.cs (1)
59string errorMsgs = string.Join(",", jd.Errors.Select(d => d.Message));
Microsoft.DotNet.Internal.DependencyInjection.Testing (1)
DependencyInjectionValidation.cs (1)
198return $"{baseName}<{string.Join(", ", type.GetGenericArguments().Select(GetDisplayName))}>";
Microsoft.DotNet.NuGetRepack.Tests (4)
TestHelpers\AssertEx.cs (3)
320return string.Join(separator, list.Select(itemInspector)); 461var expectedString = string.Join(itemSeparator, expected.Select(itemInspector)); 462var actualString = string.Join(itemSeparator, actual.Select(itemInspector));
TestHelpers\DiffUtil.cs (1)
82return string.Join(separator, lcs.CalculateDiff(expectedList, actualList, toString));
Microsoft.DotNet.Open.Api.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (2)
127_directory.CreateFile(_filename, string.Format(CultureInfo.InvariantCulture, Template, string.Join("\r\n", _properties), string.Join("\r\n", _items), Sdk));
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
537string configProperties = string.Join(
Microsoft.DotNet.SignTool (1)
src\ContentUtil.cs (1)
99string.Join("", pktBytes.Select(b => b.ToString("x2")));
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Languages\csharp\CSharp.cs (1)
22string ns = string.Join(".", parts.Select(p => Helpers.PascalCase(p.AsSpan())));
Microsoft.DotNet.XliffTasks (1)
Tasks\EnsureAllResourcesTranslated.cs (1)
49string untranslatedResourceNames = string.Join(", ", untranslatedResourceSet);
Microsoft.DotNet.XUnitExtensions (1)
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\ConditionalTestDiscoverer.cs (1)
103return string.Format("Condition(s) not met: \"{0}\"", string.Join("\", \"", falseConditions));
Microsoft.DotNet.XUnitV3Extensions (1)
src\Microsoft.DotNet.XUnitExtensions.Shared\Discoverers\ConditionalTestDiscoverer.cs (1)
103return string.Format("Condition(s) not met: \"{0}\"", string.Join("\", \"", falseConditions));
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
272_ = activity.AddTag(OpenTelemetryConsts.GenAI.Request.StopSequences, $"[{string.Join(", ", stopSequences.Select(s => $"\"{s}\""))}]");
Microsoft.Extensions.AI.Abstractions (1)
UsageDetails.cs (1)
91return string.Join(", ", parts);
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\SchemaTestHelpers.cs (1)
47{string.Join(Environment.NewLine, errors)}
Microsoft.Extensions.AI.Evaluation.Safety (3)
ContentSafetyEvaluator.cs (1)
122string.Join(Environment.NewLine, textContents.Select(c => c.Text)) is string contextString &&
ContentSafetyServicePayloadUtilities.cs (2)
131userTextListItems.Select(item => string.Join(string.Empty, item.Select(e => e.ToString()))); 137userTextListStrings = [string.Join(Environment.NewLine, userTextListStrings)];
Microsoft.Extensions.AI.Templates.Tests (1)
Infrastructure\TestCommand.cs (1)
86outputHelper.WriteLine($"Executing '{processStartInfo.FileName} {string.Join(" ", Arguments)}' in working directory '{processStartInfo.WorkingDirectory}'");
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (2)
127_directory.CreateFile(_filename, string.Format(CultureInfo.InvariantCulture, Template, string.Join("\r\n", _properties), string.Join("\r\n", _items), Sdk));
Microsoft.Extensions.ApiDescription.Tool.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (2)
127_directory.CreateFile(_filename, string.Format(CultureInfo.InvariantCulture, Template, string.Join("\r\n", _properties), string.Join("\r\n", _items), Sdk));
Microsoft.Extensions.Configuration.Abstractions (1)
ConfigurationPath.cs (1)
41return string.Join(KeyDelimiter, pathSegments);
Microsoft.Extensions.Configuration.Binder (2)
ConfigurationBinder.cs (2)
245string.Join(", ", missingPropertyNames))); 600missing = string.Join(",", missingParameters);
Microsoft.Extensions.FileSystemGlobbing (2)
Internal\PatternContexts\PatternContextLinear.cs (1)
76public string? Stem => _stemItems == null ? null : string.Join("/", _stemItems);
Internal\PatternContexts\PatternContextRagged.cs (1)
131public string? Stem => _stemItems == null ? null : string.Join("/", _stemItems);
Microsoft.Extensions.Identity.Core (4)
IdentityResult.cs (1)
74string.Format(CultureInfo.InvariantCulture, "{0} : {1}", "Failed", string.Join(",", Errors.Select(x => x.Code).ToList()));
RoleManager.cs (1)
413Logger.LogWarning(LoggerEventIds.RoleValidationFailed, "Role {roleId} validation failed: {errors}.", await GetRoleIdAsync(role).ConfigureAwait(false), string.Join(";", errors.Select(e => e.Code)));
UserManager.cs (2)
2323Logger.LogDebug(LoggerEventIds.UserValidationFailed, "User validation failed: {errors}.", string.Join(";", errors.Select(e => e.Code))); 2359Logger.LogDebug(LoggerEventIds.PasswordValidationFailed, "User password validation failed: {errors}.", string.Join(";", errors?.Select(e => e.Code) ?? Array.Empty<string>()));
Microsoft.Extensions.Identity.Stores (1)
UserStoreBase.cs (1)
954var mergedCodes = string.Join(";", recoveryCodes);
Microsoft.Extensions.ObjectPool.Microbenchmark (1)
src\Shared\BenchmarkRunner\AspNetCoreBenchmarkAttribute.cs (1)
52$"Known configurations: {string.Join(", ", ConfigTypes.Keys)}";
Microsoft.Extensions.Options (3)
OptionsValidationException.cs (1)
48public override string Message => string.Join("; ", Failures);
ValidateOptionsResult.cs (1)
72=> new ValidateOptionsResult { Failed = true, FailureMessage = string.Join("; ", failures), Failures = failures };
ValidateOptionsResultBuilder.cs (1)
46string joinedMembers = string.Join(MemberSeparatorString, result.MemberNames);
Microsoft.Extensions.Options.DataAnnotations (1)
DataAnnotationValidateOptions.cs (1)
92errors.Add($"DataAnnotation validation failed for '{qualifiedName}' members: '{string.Join(",", result.MemberNames)}' with the error: '{result.ErrorMessage}'.");
Microsoft.Extensions.Options.SourceGeneration (1)
Emitter.cs (1)
804var instantiationStatement = string.Join("\n", attrInstantiationStatementLines);
Microsoft.Extensions.SecretManager.Tools.Tests (2)
src\Tools\Shared\TestHelpers\TemporaryCSharpProject.cs (2)
127_directory.CreateFile(_filename, string.Format(CultureInfo.InvariantCulture, Template, string.Join("\r\n", _properties), string.Join("\r\n", _items), Sdk));
Microsoft.Extensions.ServiceDiscovery (2)
ServiceEndpointWatcher.Log.cs (1)
25ResolutionSucceededCore(logger, endpointSource.Endpoints.Count, serviceName, string.Join(", ", endpointSource.Endpoints.Select(GetEndpointString)));
ServiceEndpointWatcherFactory.Log.cs (1)
19ServiceEndpointProviderListCore(logger, serviceName, providers.Count, string.Join(", ", providers.Select(static r => r.ToString())));
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
498var fullName = string.Join("_", chain.Concat(new[] { leaf }).Select(static x => x.TagName));
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (1)
37builder.Add(Key, string.Join(Delimiter.ToString(), missingMemberNames));
Microsoft.Maui (1)
Fonts\FontFile.cs (1)
54 public string GetPostScriptNameWithSpaces() => string.Join(" ", GetFontName(PostScriptName!));
Microsoft.Maui.Controls (20)
ColumnDefinitionCollectionTypeConverter.cs (1)
43 return string.Join(", ", cdc.Select(cd => converter.ConvertToInvariantString(cd.Width)));
FontAttributes.cs (1)
77 return string.Join("' ", parts);
ListStringTypeConverter.cs (1)
33 return string.Join(", ", list);
Routing.cs (1)
194 var route = FormatRoute(String.Join(PathSeparator, segments));
RowDefinitionCollectionTypeConverter.cs (1)
42 return string.Join(", ", rdc.Select(rd => converter.ConvertToInvariantString(rd.Height)));
Shapes\PointCollectionConverter.cs (1)
67 return string.Join(", ", pc.Select(p => converter.ConvertToInvariantString(p)));
Shell\RequestDefinition.cs (2)
40 return String.Join("/", segments); 42 return $"//{String.Join("/", segments)}";
Shell\RouteRequestBuilder.cs (4)
199 return String.Join(_uriSeparator, matches); 225 return Routing.FormatRoute(String.Join(_uriSeparator, _allSegments.Skip(nextMatch))); 244 return String.Join(_uriSeparator, segments); 246 return $"//{String.Join(_uriSeparator, segments)}";
Shell\ShellNavigationManager.cs (1)
572 return new ShellNavigationState(String.Join("/", routeStack), true);
Shell\ShellNavigationState.cs (1)
101 return new Uri(string.Join(Routing.PathSeparator, toKeep), UriKind.Relative);
Shell\ShellUriHandler.cs (6)
70 var result = $"{String.Join(_pathSeparator, restOfPath)}{queryString}"; 403 string searchPath = String.Join(_pathSeparator, segments); 435 string newPath = String.Join(_pathSeparator, segments); 536 var collapsedRoute = String.Join(_pathSeparator, collapsedRoutes); 579 var collapsedLeafRoute = String.Join(_pathSeparator, CollapsePath(routeKey, leafSearch.SegmentsMatched, true)); 793 string uri = String.Join(_pathSeparator, paths);
Microsoft.Maui.Controls.BindingSourceGen (2)
BindingCodeWriter.cs (2)
65 return string.Join(NewLine, propertyAccessors); 117 {{string.Join(NewLine, unsafeAccessors)}}
Microsoft.Maui.Controls.Build.Tasks (8)
ModuleDefinitionExtensions.cs (8)
38 var ctorKey = $"{type}.ctor({(parameterTypes == null ? "" : string.Join(",", parameterTypes.Select(SerializeTypeReference)))})"; 52 var ctorKey = $"{type}.ctor({(string.Join(",", Enumerable.Repeat("_", paramCount)))})"; 58 var ctorKey = $"{type}.ctor({(string.Join(",", Enumerable.Repeat("_", paramCount)))})"; 64 var ctorKey = $"{type}<{(string.Join(",", classArguments))}>.ctor({(string.Join(",", Enumerable.Repeat("_", paramCount)))})"; 70 var ctorKey = $"{type}<{string.Join(",", classArguments.Select(SerializeTypeReference))}>.ctor({(string.Join(",", Enumerable.Repeat("_", paramCount)))})"; 220 var methodKey = $"{(isStatic ? "static " : "")}{type}<{(classArguments == null ? "" : string.Join(",", classArguments))}>.({(string.Join(",", Enumerable.Repeat("_", paramCount)))})"; 295 return gitr == null ? serialized : $"{serialized}<{string.Join(",", gitr.GenericArguments.Select(SerializeTypeReference))}>";
Microsoft.Maui.Controls.SourceGen (1)
CodeBehindGenerator.cs (1)
515 returnType = $"{returnType}<{string.Join(", ", xmlType.TypeArguments.Select(typeArg => GetTypeName(typeArg, compilation, xmlnsCache, typeCache)))}>";
Microsoft.Maui.Controls.Xaml (1)
CreateValuesVisitor.cs (1)
280 throw new MissingMemberException($"No static method found for {nodeType.FullName}::{factoryMethod} ({string.Join(", ", types.Select(t => t.FullName))})");
Microsoft.Maui.Essentials (5)
Email\Email.shared.cs (2)
64 "mailto:?" + string.Join("&", Parameters(message)); 85 string.Join(",", addresses.Select(Uri.EscapeDataString));
VersionTracking\VersionTracking.shared.cs (3)
319 sb.AppendLine($" VersionHistory: [{string.Join(", ", VersionHistory)}]"); 324 sb.AppendLine($" BuildHistory: [{string.Join(", ", BuildHistory)}]"); 332 => preferences.Set(key, string.Join("|", history), sharedName);
Microsoft.Maui.Resizetizer (1)
AppleIconAssetsGenerator.cs (1)
78 {{string.Join("," + Environment.NewLine, appIconImagesJson)}}
Microsoft.ML.AutoML (6)
AutoMLExperiment\ITrialResultManager.cs (2)
97writeStream.WriteLine(string.Join(sep, header)); 103var csvLine = string.Join(
Experiment\SuggestedPipeline.cs (2)
38public override string ToString() => $"{string.Join(" ", Transforms.Select(t => $"xf={t}"))} tr={Trainer} {string.Join(" ", TransformsPostTrainer.Select(t => $"xf={t}"))} cache={(_cacheBeforeTrainer ? "+" : "-")}";
Experiment\SuggestedTrainer.cs (1)
59paramsStr = string.Join(", ", SweepParams.Where(p => p != null && p.RawValue != null).Select(p => $"{p.Name}:{p.ProcessedValue()}"));
Utils\SweepableParamAttributes.cs (1)
115return $"[{GetType().Name}({name}new object[]{{{string.Join(", ", Options.Select(TranslateOption))}}})]";
Microsoft.ML.AutoML.SourceGenerator (4)
SearchSpaceGenerator.cs (3)
118"int" => $"new object[]{{ {string.Join(",", values)} }}", 119"boolean" => $"new object[]{{ {string.Join(",", values)} }}", 120"string" => $"new object[]{{ {string.Join(",", values.Select(x => $"\"{x}\""))} }}",
Utils.cs (1)
72return string.Join(string.Empty, str.Split('_', ' ', '-').Select(x => CapitalFirstLetter(x)));
Microsoft.ML.Benchmarks.Tests (2)
BenchmarksTest.cs (2)
63string.Join(", ", summary.Reports.Where(r => !r.BuildResult.IsBuildSuccess).Select(r => r.BenchmarkCase.DisplayInfo))); 67string.Join(", ", summary.Reports.Where(r => r.ExecuteResults == null).Select(r => r.BenchmarkCase.DisplayInfo)));
Microsoft.ML.CodeGenerator (1)
Utils.cs (1)
200proc.StartInfo.Arguments = $"sln \"{solutionPath}\" add {string.Join(" ", projectPaths)}";
Microsoft.ML.Core (2)
EntryPoints\ModuleArgs.cs (2)
274return $"[TlcModule.Range({string.Join(", ", pieces)})]"; 395return $"[TlcModule.{GetType().Name}({name}new object[]{{{string.Join(", ", Options.Select(TranslateOption))}}})]";
Microsoft.ML.Data (6)
Data\DataViewUtils.cs (1)
1401var stringRep = string.Join(",", vbuf.Items(true).Take(previewValues)
EntryPoints\EntryPointNode.cs (1)
918ch.Warning("Node '{0}' has unexpected fields that are ignored: {1}", id, string.Join(", ", unexpectedFields.Select(x => x.Name)));
Transforms\ColumnSelecting.cs (4)
139throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 478throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 497throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 515throw _host.ExceptSchemaMismatch(nameof(input), "input", string.Join(",", invalidColumns));
Microsoft.ML.DataView (2)
DataViewSchema.cs (2)
122null : $" {{{string.Join(", ", Annotations.Schema.Select(x => x.Name))}}}"; 245public override string ToString() => string.Join(", ", Schema.Select(x => x.Name));
Microsoft.ML.Ensemble (2)
Trainer\EnsembleTrainerBase.cs (2)
215ch.Info("{0}| Name of Model |", string.Join("", models[0].Metrics.Select(m => string.Format("| {0} |", m.Key)))); 218ch.Info("{0}{1}", string.Join("", model.Metrics.Select(m => string.Format("| {0} |", m.Value))), model.Predictor.GetType().Name);
Microsoft.ML.FastTree (2)
Dataset\Dataset.cs (1)
847String.Join(", ", typeNameEnumerable), name);
GamModelParameters.cs (1)
473ini = string.Join("\n", goodLines);
Microsoft.ML.GenAI.Core (1)
Pipeline\CausalLMPipeline.cs (1)
235return string.Join(string.Empty, chunks);
Microsoft.ML.GenAI.LLaMA.Tests (1)
LLaMA3_1Tests.cs (1)
86var tokenizedStr = string.Join(", ", tokenizeIds.Select(x => x.ToString()));
Microsoft.ML.GenAI.Mistral.Tests (1)
Mistral_7B_Instruct_V0_3Tests.cs (1)
131var tokenizedStr = string.Join(", ", tokenizeIds.Select(x => x.ToString()));
Microsoft.ML.GenAI.Phi.Tests (2)
Phi2Tests.cs (1)
57var tokenizedStr = string.Join(", ", tokenized.Select(x => x.ToString()));
Phi3Tests.cs (1)
145var tokenizedStr = string.Join(", ", tokenizeIds.Select(x => x.ToString()));
Microsoft.ML.InternalCodeAnalyzer (1)
SingleVariableDeclarationAnalyzer.cs (1)
46string jointVariableNames = string.Join("', '", vars.Select(v => v.Identifier.Text));
Microsoft.ML.LightGbm (2)
LightGbmTrainerBase.cs (1)
661GbmOptions["categorical_feature"] = string.Join(",", catIndices);
WrappedLightGbmInterface.cs (1)
257return string.Join(" ", res);
Microsoft.ML.OnnxTransformer (3)
OnnxUtils.cs (3)
85$"Available input names are [{string.Join(",", InputNames)}]. Available initializers are [{string.Join(",", InitializerNames)}]"); 96$"Available output names are [{string.Join(",", OutputNames)}].");
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
712truncPath = String.Join(Path.DirectorySeparatorChar.ToString(), segments);
Microsoft.ML.PerformanceTests (1)
Harness\ProjectGenerator.cs (1)
70return string.Join(Environment.NewLine, File.ReadAllLines(csproj.FullName).Where(line => line.Contains("<NativeAssemblyReference")));
Microsoft.ML.ResultProcessor (3)
ResultProcessor.cs (3)
174.ToDictionary(g => "/" + g.Key, g => string.Join(",", g)); 537GroupBy(kvp => kvp.Key, kvp => kvp.Value).ToDictionary(g => "/" + g.Key, g => string.Join(",", g)); 1158+ string.Join(cmd.PerFoldResultSeparator, new List<string>(new List<float>(kvp.Value.AllValues).Select(d => "" + d))));
Microsoft.ML.Samples (24)
Dynamic\Transforms\ApproximatedKernelMap.cs (1)
43Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeBinning.cs (2)
51Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 63Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (1)
52Console.WriteLine(string.Join(", ", column[i].Select(x => x
Dynamic\Transforms\NormalizeGlobalContrast.cs (1)
38Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeLogMeanVariance.cs (2)
49Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeLogMeanVarianceFixZero.cs (2)
42Console.WriteLine(string.Join(", ", row.Select(x => x.ToString("f4")))); 51Console.WriteLine(string.Join(", ", row.Select(x => x.ToString("f4"))));
Dynamic\Transforms\NormalizeLpNorm.cs (1)
39Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMeanVariance.cs (2)
48Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMinMax.cs (2)
47Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 59Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (4)
73Console.WriteLine(string.Join(", ", column[i].Select(x => x 75string.Join(", ", column2[i].Select(x => x.ToString("f4")))); 90Console.WriteLine(string.Join(", ", columnFixZero[i].Select(x => x 92string.Join(", ", column2FixZero[i].Select(x => x.ToString("f4"))));
Dynamic\Transforms\NormalizeSupervisedBinning.cs (2)
65Console.WriteLine(string.Join(", ", row.Select(x => x.ToString( 78Console.WriteLine(string.Join(", ", row.Select(x => x.ToString(
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
43Console.WriteLine(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
42Console.WriteLine(string.Join(" ", row.DenseValues().Select(x =>
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
31Console.WriteLine($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (1)
34Console.WriteLine($"Score: {item.Score}, Path: {String.Join(" ", item.Path)}, Direction: {item.Direction}, Dimension:{String.Join(" ", item.Dimension)}");
Microsoft.ML.SearchSpace (1)
SearchSpace.cs (1)
304Contract.Assert(supportTypes.Contains(type) || type.IsEnum, $"[Option:{optionName}] ChoiceAttribute can only apply to enum or the following types {string.Join(",", supportTypes.Select(x => x.Name))}");
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
167ch.Info("Parameter set: {0}", string.Join(", ", sweeps[i].Select(p => string.Format("{0}:{1}", p.Name, p.ValueText))));
Microsoft.ML.TestFramework (4)
BaseTestPredictorsMaml.cs (3)
155string runcmd = string.Join(" ", args.Where(a => !string.IsNullOrWhiteSpace(a))); 256runcmd = string.Join(" ", args.Where(a => !string.IsNullOrWhiteSpace(a))); 335return settings.Count > 0 ? string.Join(" ", settings) : null;
TestCommandBase.cs (1)
400var argString = string.Join(" ", args);
Microsoft.ML.Tests (1)
Transformers\LineParserTests.cs (1)
65var result = LineParser.ParseKeyThenNumbers("word" + separator[sep % 2] + string.Join(separator[sep / 2], data.Select(x => x.ToString("G9"))), false);
Microsoft.ML.Tokenizers (3)
Model\SentencePieceBaseModel.cs (1)
51SpecialTokensRegex = new Regex(string.Join("|", specialTokens.Keys.Select(s => Regex.Escape(s))), RegexOptions.Compiled);
PreTokenizer\CompositePreTokenizer.cs (1)
56list.Add(new RegexPreTokenizer(new Regex(string.Join("|", specialTokens.Keys.Select(s => Regex.Escape(s))), RegexOptions.Compiled), null));
PreTokenizer\RegexPreTokenizer.cs (1)
39_specialTokensRegex = new Regex(string.Join("|", specialTokens.Keys.Select(s => Regex.Escape(s))), RegexOptions.Compiled);
Microsoft.ML.Tokenizers.Tests (3)
BpeTests.cs (3)
601string result = $"[{string.Join(", ", encoding.Select(t => $"{t.Id}"))} ] {Environment.NewLine}"; 602result += $"[{string.Join(", ", encoding.Select(t => $"\"{t.Value}\""))} ] {Environment.NewLine}"; 603result += $"[{string.Join(", ", encoding.Select(t => $"({t.Offset.Start}, {t.Offset.End.Value})"))} ]";
Microsoft.ML.Transforms (1)
LoadTransform.cs (1)
117string.Join(",", allTags));
Microsoft.VisualStudio.LanguageServices (8)
ErrorReporting\VisualStudioErrorReportingService.ExceptionFormatting.cs (2)
89return string.Join(Environment.NewLine, stackFrameLines); 168stringBuilder.Append("[" + string.Join(",", genericTypeArguments.Select(args => args.Name)) + "]");
GenerateType\GenerateTypeDialogViewModel.cs (1)
822Name = string.Join("\\", document.Folders) + "\\" + document.Name;
Progression\GraphBuilder.cs (1)
371commonLabel.Append(string.Join(", ", typeSymbol.TypeParameters.Select(t => t.Name)));
Snippets\SnippetExpansionClient.cs (1)
1116+ string.Join(Environment.NewLine, failedReferenceAdditions),
StackTraceExplorer\FrameViewModel.cs (1)
40public string AutomationName => string.Join("", Inlines.Select(InlineExtensions.GetText));
Utilities\InlineExtensions.cs (1)
16Hyperlink hyperlink => string.Join("", hyperlink.Inlines.Select(GetText)),
Venus\ContainedLanguageCodeSupport.cs (1)
449return string.Format("{0}({1})", member.Name, string.Join(",", ((IMethodSymbol)member).Parameters.Select(p => p.Type.ToDisplayString())));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (7)
Interactive\Commands\ResetInteractiveTests.cs (1)
126expectedSubmissions.Add(string.Join(newLineCharacter, expectedUsings) + newLineCharacter);
PersistentStorage\AbstractPersistentStorageTests.cs (6)
55private static readonly string MediumData1 = string.Join(",", Enumerable.Repeat(SmallData1, MediumSize / SmallData1.Length)); 56private static readonly string MediumData2 = string.Join(",", Enumerable.Repeat(SmallData2, MediumSize / SmallData2.Length)); 58private static readonly string LargeData1 = string.Join(",", Enumerable.Repeat(SmallData1, LargeSize / SmallData1.Length)); 59private static readonly string LargeData2 = string.Join(",", Enumerable.Repeat(SmallData2, LargeSize / SmallData2.Length)); 61private static readonly string ExtraLargeData1 = string.Join(",", Enumerable.Repeat(SmallData1, ExtraLargeSize / SmallData1.Length)); 62private static readonly string ExtraLargeData2 = string.Join(",", Enumerable.Repeat(SmallData2, ExtraLargeSize / SmallData2.Length));
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Hover\HoverHandler.cs (1)
97=> string.Join("\r\n", description.Select(section => section.Text).Where(text => !string.IsNullOrEmpty(text)));
MinimalSample (1)
Program.cs (1)
37return $"{result} | /inner filter! Tags: {(tags.Count == 0 ? "(null)" : string.Join(", ", tags))}";
MSBuild (6)
CommandLineSwitches.cs (2)
602return (string.Join(" ", commandLineA).Trim() + " " + string.Join(" ", commandLineB).Trim()).Trim();
FileUtilities.cs (1)
420return string.Join(DirectorySeparatorString, segments.Skip(headingSegmentsToRemove));
PrintLineDebuggerWriters.cs (2)
90return $"\n{(id == null ? string.Empty : id + ": ")}{callsite}:{string.Join(";", args)}"; 95var joinedArgs = $"{EscapeCommas(callsite)},{string.Join(",", args.Select(arg => EscapeCommas(arg)))}\n";
XMake.cs (1)
2282CommandLineSwitches.SwitchesFromResponseFiles.Add((responseFile, string.Join(" ", argsFromResponseFile)));
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\WinRT\GuidGenerator.cs (2)
48return $"pinterface({{{GetGUID(type)}}};{String.Join(";", args)})"; 78return $"struct({TypeExtensions.RemoveNamespacePrefix(type.FullName)};{String.Join(";", args)})";
ProjectCachePlugin (1)
AssemblyMockCache.cs (1)
32? string.Join("\n\t", ep.GlobalProperties.Select(gp => $"{gp.Key}:{gp.Value}"))
Replay (1)
Replay.cs (1)
51throw new Exception($"Too many arguments: {string.Join(" ", rest)}");
Roslyn.Diagnostics.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
RoutingWebSite (1)
UseEndpointRoutingStartup.cs (1)
135: string.Join(",", hosts.Select(h => h.Contains(':') ? h : h + ":*"));
RunTests (8)
ProcessTestExecutor.cs (2)
180var standardOutput = string.Join(Environment.NewLine, xunitProcessResult.OutputLines) ?? ""; 181var errorOutput = string.Join(Environment.NewLine, xunitProcessResult.ErrorLines) ?? "";
Program.cs (5)
47ConsoleUtil.WriteLine(string.Join(Environment.NewLine, dotnetResult.OutputLines)); 48ConsoleUtil.WriteLine(ConsoleColor.Red, string.Join(Environment.NewLine, dotnetResult.ErrorLines)); 251ConsoleUtil.WriteLine(string.Join(Environment.NewLine, processOutput.OutputLines)); 267ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.OutputLines)); 268ConsoleUtil.WriteLine(string.Join(Environment.NewLine, output.ErrorLines));
TestRunner.cs (1)
27var assembliesString = string.Join("_", Filters.Keys.Select(a => Path.GetFileNameWithoutExtension(a.AssemblyName)));
SemanticSearch.BuildTask (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
157string.Join(Environment.NewLine, apis); 274=> new("^" + string.Join(".*", pattern.Trim().Split('*').Select(Regex.Escape)) + "$",
Shared.Tests (1)
JsonSchemaExporter\SchemaTestHelpers.cs (1)
47{string.Join(Environment.NewLine, errors)}
Swaggatherer (3)
Template.cs (3)
132string.Join(Environment.NewLine, setupEndpointsLines), 133string.Join(Environment.NewLine, setupRequestsLines), 134string.Join(Environment.NewLine, setupMatcherLines),
System.Composition.Hosting (2)
System\Composition\Hosting\Util\Formatters.cs (2)
15string reply = string.Join(SR.Formatter_ListSeparatorWithSpace, items.OrderBy(t => t)); 41return $"{name}<{string.Join(", ", args)}>";
System.Composition.Runtime (2)
System\Composition\Hosting\Core\CompositionContract.cs (1)
112string.Join(SR.Formatter_ListSeparatorWithSpace,
System\Composition\Runtime\Util\Formatters.cs (1)
29return $"{name}<{string.Join(SR.Formatter_ListSeparatorWithSpace, args)}>";
System.Net.Requests (1)
System\Net\HttpWebResponse.cs (1)
382private static string GetHeaderValueAsString(IEnumerable<string> values) => string.Join(", ", values);
System.Net.WebSockets.Client (2)
System\Net\WebSockets\WebSocketHandle.Managed.cs (2)
172SR.Format(SR.net_WebSockets_AcceptUnsupportedProtocol, string.Join(", ", options.RequestedSubProtocols), string.Join(", ", subprotocolArray))); 404request.Headers.TryAddWithoutValidation(HttpKnownHeaderNames.SecWebSocketProtocol, string.Join(", ", options.RequestedSubProtocols));
System.Private.Windows.Core (1)
System\DisposalTracking.cs (1)
72friendlyName += $"<{string.Join(",", type.GetGenericArguments().Select(GetFriendlyTypeName))}>";
System.Private.Xml (1)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
1012string defaultEnumFlagString = string.Join(", ", defaultEnumFlagValues);
System.Reflection.Metadata (1)
System\Reflection\Metadata\BlobBuilder.cs (1)
1169string.Join("->", GetChunks().Select(chunk => $"[{Display(chunk._buffer, chunk.Length)}]")) :
System.ServiceModel.Primitives.Tests (21)
Channels\CommunicationObjectTest.cs (9)
34string actualOpens = String.Join(",", openMethodsCalled); 40string actualCloses = String.Join(",", closeMethodsCalled); 70string actualOpens = String.Join(",", openMethodsCalled); 76string actualCloses = String.Join(",", closeMethodsCalled); 98string actualCloses = String.Join(",", closeMethodsCalled); 126string actualOpens = String.Join(",", openEventsFired); 132string actualCloses = String.Join(",", closeEventsFired); 161string actualOpens = String.Join(",", openEventsFired); 167string actualCloses = String.Join(",", closeEventsFired);
Channels\CustomChannelTest.cs (12)
81string actualOpens = String.Join(",", channelOpenMethodsCalled); 86string actualCloses = String.Join(",", channelCloseMethodsCalled); 91actualOpens = String.Join(",", factoryOpenMethodsCalled); 96actualCloses = String.Join(",", factoryCloseMethodsCalled); 178string actualOpens = String.Join(",", channelOpenMethodsCalled); 183string actualCloses = String.Join(",", channelCloseMethodsCalled); 188actualOpens = String.Join(",", factoryOpenMethodsCalled); 193actualCloses = String.Join(",", factoryCloseMethodsCalled); 371string actualOpens = String.Join(",", channelOpenMethodsCalled); 376string actualCloses = String.Join(",", channelCloseMethodsCalled); 381actualOpens = String.Join(",", factoryOpenMethodsCalled); 386actualCloses = String.Join(",", factoryCloseMethodsCalled);
System.Text.Json.SourceGeneration (1)
Helpers\SourceGeneratorHelpers.cs (1)
22return string.Join(" | ", values);
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Emitter.cs (1)
1811writer.WriteLine($"case {string.Join(" or ", setChars.Slice(0, numChars).ToArray().Select(Literal))}:");
System.Threading.Tasks.Dataflow (1)
Internal\DataflowEtwProvider.cs (1)
143try { exceptionData = string.Join(Environment.NewLine, completionTask.Exception!.InnerExceptions.Select(static e => e.ToString())); }
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
390: string.Join(", ", argArray.Select(o => o?.GetType().Name ?? "null"));
System\Windows\Forms\Design\ControlDesigner.cs (1)
2500stack = string.Join(Environment.NewLine, exceptionLines.Where(l => l.Contains(typeName)));
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
72string parameters = string.Join(", ", coce.Parameters.Cast<CodeObject>().Select(GetConstructionString));
System.Windows.Forms.Primitives.TestUtilities (1)
SystemCOLORs.cs (1)
51string colorString = string.Join(", ", colors.Select(c => s_names[c]));
Templates.Blazor.Tests (3)
BlazorWasmTemplateTest.cs (1)
207$"Couldn't find listening url:\n{string.Join(Environment.NewLine, buffer.Append(process.Error))}");
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
240{string.Join(Environment.NewLine, buffer)}");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
240{string.Join(Environment.NewLine, buffer)}");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
src\Shared\E2ETesting\SauceConnectServer.cs (1)
184{string.Join(Environment.NewLine, logOutput.GetConsumingEnumerable())}.";
Templates.Blazor.WebAssembly.Tests (3)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
240{string.Join(Environment.NewLine, buffer)}");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
src\Shared\E2ETesting\SauceConnectServer.cs (1)
184{string.Join(Environment.NewLine, logOutput.GetConsumingEnumerable())}.";
Templates.Mvc.Tests (3)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
240{string.Join(Environment.NewLine, buffer)}");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
src\Shared\E2ETesting\SauceConnectServer.cs (1)
184{string.Join(Environment.NewLine, logOutput.GetConsumingEnumerable())}.";
Templates.Tests (3)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
240{string.Join(Environment.NewLine, buffer)}");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
854return string.Join(Environment.NewLine, description);
src\Shared\E2ETesting\SauceConnectServer.cs (1)
184{string.Join(Environment.NewLine, logOutput.GetConsumingEnumerable())}.";
TestDiscoveryWorker (1)
Program.cs (1)
43Console.WriteLine($"Unknown arguments: {string.Join(" ", extra)}");
Text.Analyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
158var coupledNamedTypesStr = string.Join(", ", CoupledNamedTypes.Select(t => t.ToDisplayString()).OrderBy(n => n));
Text.Analyzers.UnitTests (2)
IdentifiersShouldBeSpelledCorrectlyTests.cs (2)
833string.Join(Environment.NewLine, words?.Select(x => $"<Word>{x}</Word>") ?? Enumerable.Empty<string>()); 838var contents = string.Join(Environment.NewLine, recognizedWords);
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\CompilerRequestHandler.cs (1)
142Logger.Log($"Rejected: {request.RequestId}: for analyzer load issues {string.Join(";", errorMessages)}");
VBCSCompiler.UnitTests (2)
TouchedFileLoggingTests.cs (2)
187Assert.Equal(string.Join("\r\n", expected), 191Assert.Equal(string.Join("\r\n", expected),
XmlFormattersWebSite (1)
Controllers\HomeController.cs (1)
38string.Join(
xunit.assert (6)
Sdk\ArgumentFormatter.cs (3)
267 : string.Format(CultureInfo.CurrentCulture, "Task<{0}>", string.Join(",", typeParameters.Select(t => FormatTypeName(t)))); 355 var formattedParameters = string.Join(", ", parameters.Take(MAX_OBJECT_ITEM_COUNT).Select(p => string.Format(CultureInfo.CurrentCulture, "{0} = {1}", p.name, p.value))); 532 result = string.Format(CultureInfo.CurrentCulture, "{0}<{1}>", result, string.Join(", ", typeInfo.GenericTypeArguments.Select(t => FormatTypeName(t))));
Sdk\Exceptions\AllException.cs (1)
58 string.Join(
Sdk\Exceptions\CollectionException.cs (1)
59 return string.Join(Environment.NewLine, lines);
Sdk\Exceptions\EquivalentException.cs (1)
47 string.Join(", ", memberNames.Select(k => string.Format(CultureInfo.CurrentCulture, "\"{0}{1}\"", prefix, k)))
xunit.console (9)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (8)
57internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache..ctor] Runtime graph: [{string.Join(",", dependencyContext.RuntimeGraph.Select(x => $"'{x.Runtime}'"))}]")); 62internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache..ctor] Compatible runtimes: [{string.Join(",", compatibleRuntimes.Select(x => $"'{x}'"))}]")); 76internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache..ctor] Managed assembly map: [{string.Join(",", managedAssemblyMap.Keys.Select(k => $"'{k}'").OrderBy(k => k, StringComparer.OrdinalIgnoreCase))}]")); 90internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache..ctor] Unmanaged assembly map: [{string.Join(",", unmanagedAssemblyMap.Keys.Select(k => $"'{k}'").OrderBy(k => k, StringComparer.OrdinalIgnoreCase))}]")); 253internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveManagedAssembly] Resolving '{assemblyName}', found a resolved path, but could not map a filename in [{string.Join(",", assemblies.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]")); 259internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveManagedAssembly] Resolving '{assemblyName}', found in dependency map, but unable to resolve a path in [{string.Join(",", assetGroup.AssetPaths.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]")); 286internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveUnmanagedLibrary] Found a resolved path, but could not map a filename in [{string.Join(",", assemblies.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]")); 291internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveUnmanagedLibrary] Found in dependency map, but unable to resolve a path in [{string.Join(",", assetGroup.AssetPaths.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]"));
common\AssemblyResolution\XunitPackageCompilationAssemblyResolver.cs (1)
59internalDiagnosticsMessageSink.OnMessage(new _DiagnosticMessage($"[XunitPackageCompilationAssemblyResolver.GetDefaultProbeDirectories] returns: [{string.Join(",", results.Select(x => $"'{x}'"))}]"));