1067 references to Concat
ApplicationModelWebSite (1)
Conventions\MultipleAreasAttribute.cs (1)
11AreaNames = new string[] { area1, area2 }.Concat(areaNames).ToArray();
BasicTestApp (1)
AuthTest\ServerAuthenticationStateProvider.cs (1)
30.Concat(data.ExposedClaims.Select(c => new Claim(c.Type, c.Value)));
BinaryFormatTests (9)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (9)
169((IEnumerable<object[]>)HashtableTests.Hashtables_TestData).Concat( 170ListTests.PrimitiveLists_TestData).Concat( 171ListTests.ArrayLists_TestData).Concat( 172PrimitiveTypeTests.Primitive_Data).Concat( 173SystemDrawing_TestData).Concat( 177((IEnumerable<object[]?>)HashtableTests.Hashtables_UnsupportedTestData).Concat( 178ListTests.Lists_UnsupportedTestData).Concat( 179ListTests.ArrayLists_UnsupportedTestData).Concat( 228((IEnumerable<object[]>)StringArray_Parse_Data).Concat(PrimitiveArray_Parse_Data);
BoundTreeGenerator (14)
BoundNodeClassWriter.cs (14)
424fields = fields.Concat(from field in AllSpecifiableFields(node) 429fields = fields.Concat(new[] { "bool hasErrors = false" }); 431fields = fields.Concat(new[] { "bool hasErrors" }); 445.Concat(from field in AllNodeOrNodeListFields(node) 493fields = fields.Concat(from field in AllSpecifiableFields(node) 497fields = fields.Concat(new[] { "Optional hasErrors As Boolean = False" }); 499fields = fields.Concat(new[] { "hasErrors As Boolean" }); 513.Concat(from field in AllNodeOrNodeListFields(node) 570fields = fields.Concat(from field in AllSpecifiableFields(node) 613fields = fields.Concat(from field in AllSpecifiableFields(node) 966var fields = new[] { "this.Syntax" }.Concat(AllSpecifiableFields(node).Select(f => ToCamelCase(f.Name))).Concat(new[] { "this.HasErrors" }); 1014var fields = new[] { "Me.Syntax" }.Concat(AllSpecifiableFields(node).Select(f => ToCamelCase(f.Name))).Concat(new[] { "Me.HasErrors" });
BuildActionTelemetryTable (1)
src\Workspaces\Core\Portable\Shared\Extensions\TelemetryExtensions.cs (1)
28var suffixBytes = BitConverter.GetBytes(suffix).Concat(new byte[4]).ToArray();
BuildValidator (2)
LocalReferenceResolver.cs (1)
76.Concat(directory.EnumerateFiles("*.exe", SearchOption.AllDirectories));
Program.cs (1)
230return Enumerable.Concat(exePaths, dllPaths);
ClientSample (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
CodeGenerator (12)
HttpProtocolFeatureCollection.cs (3)
61.Concat(commonFeatures) 62.Concat(sometimesFeatures) 63.Concat(maybeFeatures)
src\Servers\Kestrel\shared\KnownHeaders.cs (9)
79.Concat(FormattedInternalHeaderNames.Select(x => x.Identifier)) 138RequestHeaders = commonHeaders.Concat(new[] 176.Concat(corsRequestHeaders) 188.Concat(new[] { new KnownHeader 223ResponseHeaders = commonHeaders.Concat(new[] 247.Concat(corsResponseHeaders) 259.Concat(new[] { new KnownHeader 783var allHeaderNames = RequestHeaders.Concat(ResponseHeaders).Concat(ResponseTrailers)
dotnet-dev-certs (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
dotnet-openapi (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
dotnet-sql-cache (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
107headers = headers.Concat(httpRequest.Content.Headers);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageExtensionMethods.cs (1)
53headers = headers.Concat(httpResponse.Content.Headers);
dotnet-user-jwts (2)
Helpers\ConsoleTable.cs (1)
52.Concat(new[] { _columns[i] })
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
GetDocument.Insider (2)
.packages\microsoft.extensions.hostfactoryresolver.sources\10.0.0-alpha.1.24619.8\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
168args = args.Concat(new[] { "--applicationName", assemblyName }).ToArray();
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
240.Concat(Process.GetProcessesByName("iisexpress")) 241.Concat(Process.GetProcessesByName("w3wp"));
InMemory.FunctionalTests (30)
ChunkedRequestTests.cs (6)
321sendSequence = sendSequence.Concat(new string[] { 334sendSequence = sendSequence.Concat(new string[] { 452sendSequence = sendSequence.Concat(new string[] { 465sendSequence = sendSequence.Concat(new string[] { 627sendSequence = sendSequence.Concat(new string[] { 639sendSequence = sendSequence.Concat(new string[] {
Http2\Http2ConnectionTests.cs (12)
4847.Concat(Encoding.ASCII.GetBytes("trailer-1")) 4848.Concat(new byte[] { 0x01, (byte)'1' }) 4849.Concat(new byte[] { 0x00, 0x09 }) 4850.Concat(Encoding.ASCII.GetBytes("trailer-2")) 4851.Concat(new byte[] { 0x01, (byte)'2' }) 6032var headerBlock = headerBlockStart.Concat(bytes).Concat(headerBlockEnd).ToArray(); 6055var headers = requestHeaders.Concat(new[] { new KeyValuePair<string, string>(headerField.Key, headerField.Value) }); 6114var headers = requestHeaders.Except(new[] { headerField }).Concat(new[] { headerField }); 6139data.Add(new byte[] { 0x01, 0x09 }.Concat(Encoding.ASCII.GetBytes("127.0.0.1")).ToArray(), CoreStrings.HttpErrorTrailersContainPseudoHeaderField); 6143.Concat(Encoding.ASCII.GetBytes("contains-Uppercase")) 6144.Concat(new byte[] { 0x01, (byte)'0' })
Http2\Http2StreamTests.cs (2)
2044headers.Concat(new[] 2104headers.Concat(new[]
Http3\Http3StreamTests.cs (4)
2200var headers = requestHeaders.Concat(new[] { new KeyValuePair<string, string>(headerField.Key, headerField.Value) }); 2237var headers = requestHeaders.Except(new[] { headerField }).Concat(new[] { headerField }); 2657headers.Concat(new[] 2709headers.Concat(new[]
RequestHeaderLimitsTests.cs (1)
156.Concat(Enumerable
RequestTests.cs (2)
1427.Concat(new[] { "GET / HTTP/1.1\r\nHost:\r\nContent-Length: 7\r\nConnection: close\r\n\r\nGoodbye" }); 1447.Concat(new[] { lastResponse });
src\Servers\Kestrel\shared\test\HttpParsingData.cs (3)
238}.Concat(MethodWithNonTokenCharData.Select(method => $"{method} / HTTP/1.0\r\n")); 284}.Concat(MethodWithNullCharData); 385}.Concat(QueryStringWithNullCharData);
installer.tasks (6)
RegenerateDownloadTable.cs (5)
80}.Concat(rows).Concat(new[] 90.Concat(new[] { Begin(TableComment) }) 100beforeTable.Concat(table).Concat(afterTable));
StaticFileRegeneration\RegenerateThirdPartyNotices.cs (1)
181Sections = existingTpn.Sections.Concat(newSections)
Microsoft.AspNetCore.App.Analyzers (1)
src\Shared\RoslynUtils\ParsabilityHelper.cs (1)
178.Concat(typeSymbol.AllInterfaces);
Microsoft.AspNetCore.Authentication.JwtBearer (2)
JwtBearerHandler.cs (2)
255tokenValidationParameters.ValidIssuers = (tokenValidationParameters.ValidIssuers == null ? issuers : tokenValidationParameters.ValidIssuers.Concat(issuers)); 256tokenValidationParameters.IssuerSigningKeys = (tokenValidationParameters.IssuerSigningKeys == null ? configuration.SigningKeys : tokenValidationParameters.IssuerSigningKeys.Concat(configuration.SigningKeys));
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
OpenIdConnectHandler.cs (4)
1397validationParameters.ValidIssuers = validationParameters.ValidIssuers?.Concat(issuer) ?? issuer; 1399validationParameters.IssuerSigningKeys = validationParameters.IssuerSigningKeys?.Concat(_configuration.SigningKeys) 1450validationParameters.ValidIssuers = validationParameters.ValidIssuers?.Concat(issuer) ?? issuer; 1452validationParameters.IssuerSigningKeys = validationParameters.IssuerSigningKeys?.Concat(_configuration.SigningKeys)
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationHandler.cs (2)
389tokenValidationParameters.ValidIssuers = (tokenValidationParameters.ValidIssuers == null ? issuers : tokenValidationParameters.ValidIssuers.Concat(issuers)); 390tokenValidationParameters.IssuerSigningKeys = (tokenValidationParameters.IssuerSigningKeys == null ? _configuration.SigningKeys : tokenValidationParameters.IssuerSigningKeys.Concat(_configuration.SigningKeys));
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ServerComponentDeserializerTest.cs (1)
173var markers = SerializeMarkers(firstChain.Concat(secondChain).ToArray());
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
TargetPickerUi.cs (1)
54var bytesWithHeader = Encoding.UTF8.GetBytes($"{bytes.Length}:").Concat(bytes).ToArray();
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\DefaultKeyResolver.cs (1)
200select key).Concat(from key in unrevokedKeys
Microsoft.AspNetCore.DataProtection.Tests (8)
Cng\CbcAuthenticatedEncryptorTests.cs (1)
68byte[] invalidCiphertext_tooLong = validCiphertext.Concat(new byte[] { 0 }).ToArray();
Cng\GcmAuthenticatedEncryptorTests.cs (1)
62byte[] invalidCiphertext_tooLong = validCiphertext.Concat(new byte[] { 0 }).ToArray();
KeyManagement\KeyRingBasedDataProtectorTests.cs (5)
624.Concat(keyId.ToByteArray()) // key id 625.Concat(BitConverter.GetBytes(IPAddress.HostToNetworkOrder(purposes.Length))); // purposeCount 633expectedAad = expectedAad.Concat(memStream.ToArray()); 642.Concat(keyId.ToByteArray()) // key id 643.Concat(ciphertext).ToArray();
Managed\ManagedAuthenticatedEncryptorTests.cs (1)
63byte[] invalidCiphertext_tooLong = validCiphertext.Concat(new byte[] { 0 }).ToArray();
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
Microsoft.AspNetCore.Hosting (1)
Internal\StartupLoader.cs (1)
274var typeInfo = startupType1.Concat(startupType2).FirstOrDefault();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (2)
835return ExplicitFromBodyActions.Concat(ImplicitFromBodyActions).ToArray(); 1111return ImplicitFromServiceActions.Concat(ExplicitFromServiceActions).ToArray();
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\RoslynUtils\ParsabilityHelper.cs (1)
178.Concat(typeSymbol.AllInterfaces);
Microsoft.AspNetCore.Identity.Test (1)
IdentityUIScriptsTest.cs (1)
111var cshtmlFiles = GetRazorFiles(uiDirV4).Concat(GetRazorFiles(uiDirV5));
Microsoft.AspNetCore.InternalTesting (2)
xunit\TestMethodExtensions.cs (2)
18.Concat(testClass.GetCustomAttributes(typeof(ITestCondition))) 19.Concat(assembly.GetCustomAttributes(typeof(ITestCondition)))
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
349var responseMetadataTypes = producesResponseMetadataTypes.Values.Concat(responseProviderMetadataTypes.Values);
Microsoft.AspNetCore.Mvc.Core (9)
ApplicationModels\ApplicationModelConventions.cs (1)
103return Enumerable.Concat(
ApplicationModels\ControllerActionDescriptorBuilder.cs (2)
175.Concat(controllerFilters.Select(f => new FilterDescriptor(f, FilterScope.Controller))) 176.Concat(globalFilters.Select(f => new FilterDescriptor(f, FilterScope.Global)))
ApplicationParts\ApplicationPartManager.cs (1)
89.Concat(assembliesFromAttributes);
Controllers\DefaultControllerPropertyActivator.cs (1)
67activators = activators.Concat(PropertyActivator<ControllerContext>.GetPropertiesToActivate(
ModelBinding\Metadata\ModelAttributes.cs (4)
54Attributes = PropertyAttributes.Concat(TypeAttributes).ToArray(); 63Attributes = ParameterAttributes.Concat(TypeAttributes).ToArray(); 143propertyAttributes = propertyAttributes.Concat(metadataProperty.GetCustomAttributes()); 165attributes = attributes.Concat(metadataType.GetCustomAttributes());
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
ModelMetadataProviderTest.cs (2)
1067_attributes.Concat(entry.ModelAttributes.TypeAttributes).ToArray(), 1084_attributes.Concat(e.ModelAttributes.PropertyAttributes),
Microsoft.AspNetCore.Mvc.Razor (1)
ApplicationParts\ConsolidatedAssemblyApplicationPartFactory.cs (1)
22return Enumerable.Concat(
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
CSharpCompiler.cs (1)
214var defines = dependencyContextOptions.Defines.Concat(new[] { configurationSymbol }).Where(define => define != null);
Microsoft.AspNetCore.Mvc.RazorPages (4)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (2)
27var filters = Enumerable.Concat( 71return Enumerable.Concat(handlerMetatdata, endpointMetadata).ToList();
ApplicationModels\DefaultPageApplicationModelProvider.cs (1)
98handlerTypeAttributes = modelTypeInfo.GetCustomAttributes(inherit: true).Concat(pageTypeAttributes).ToArray();
Infrastructure\CompiledPageActionDescriptorFactory.cs (1)
99return Enumerable.Concat(
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
191var searchedLocations = Enumerable.Concat(getViewLocations, viewEngineResult.SearchedLocations);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
LinkTagHelperTest.cs (2)
133outputAttributes.Concat( 145outputAttributes.Concat(
ScriptTagHelperTest.cs (2)
84outputAttributes.Concat( 94outputAttributes.Concat(
Microsoft.AspNetCore.Mvc.Testing (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\10.0.0-alpha.1.24619.8\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
168args = args.Concat(new[] { "--applicationName", assemblyName }).ToArray();
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
163.Select(pair => pair.Key).Concat(_context.Items.Keys.Select(key => Convert.ToString(key, CultureInfo.InvariantCulture))).ToList();
Microsoft.AspNetCore.Server.HttpSys (3)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (3)
112get { return PropertiesValues().Concat(Extra.Values).ToArray(); } 166PropertiesEnumerable().Concat(Extra).ToArray().CopyTo(array, arrayIndex); 247return PropertiesEnumerable().Concat(Extra).GetEnumerator();
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (3)
112get { return PropertiesValues().Concat(Extra.Values).ToArray(); } 166PropertiesEnumerable().Concat(Extra).ToArray().CopyTo(array, arrayIndex); 247return PropertiesEnumerable().Concat(Extra).GetEnumerator();
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (147)
AsciiDecoding.cs (12)
21.Concat(byteRange) 22.Concat(byteRange) 23.Concat(byteRange) 24.Concat(byteRange) 25.Concat(byteRange) 73var expectedByteRange = byteRange.Concat(byteRange).ToArray(); 93var expectedByteRange = byteRange.Concat(byteRange).ToArray(); 118.Concat(byteRange) 119.Concat(byteRange) 120.Concat(byteRange) 121.Concat(byteRange) 122.Concat(byteRange)
BufferWriterTests.cs (2)
138byte[] expectedBytes = source.Concat(source).Concat(source).ToArray();
HttpRequestHeadersTests.cs (1)
891RequestHeaders.Where(h => h.Name != "Content-Length").Select(h => new object[] { true, h.Name }).Concat(
src\Servers\Kestrel\shared\KnownHeaders.cs (9)
79.Concat(FormattedInternalHeaderNames.Select(x => x.Identifier)) 138RequestHeaders = commonHeaders.Concat(new[] 176.Concat(corsRequestHeaders) 188.Concat(new[] { new KnownHeader 223ResponseHeaders = commonHeaders.Concat(new[] 247.Concat(corsResponseHeaders) 259.Concat(new[] { new KnownHeader 783var allHeaderNames = RequestHeaders.Concat(ResponseHeaders).Concat(ResponseTrailers)
src\Servers\Kestrel\shared\test\HttpParsingData.cs (3)
238}.Concat(MethodWithNonTokenCharData.Select(method => $"{method} / HTTP/1.0\r\n")); 284}.Concat(MethodWithNullCharData); 385}.Concat(QueryStringWithNullCharData);
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (100)
69.Concat(_headerNameBytes) 75.Concat(_literalHeaderNameBytes) 79.Concat(_headerNameHuffmanBytes) 83.Concat(_headerValueBytes) 87.Concat(_headerValueHuffmanBytes) 133.Concat(_headerValue) 165.Concat(_literalHeaderName) // A header value that's too large to fit in the dynamic table 186.Concat(_headerName) 187.Concat(_headerValue) 197.Concat(_headerNameHuffman) 198.Concat(_headerValue) 208.Concat(_headerName) 209.Concat(_headerValueHuffman) 219.Concat(_headerNameHuffman) 220.Concat(_headerValueHuffman) 230.Concat(_headerValue) 240.Concat(_headerValueHuffman) 262.Concat(_headerName) 263.Concat(_headerValue) 273.Concat(_literalEmptyString) 274.Concat(_headerValue) 286.Concat(_headerName) 287.Concat(_literalEmptyString) 297.Concat(_literalEmptyString) 298.Concat(_literalEmptyString) 310.Concat(_headerNameHuffman) 311.Concat(_headerValue) 321.Concat(_literalEmptyStringHuffman) 322.Concat(_headerValue) 334.Concat(_headerName) 335.Concat(_headerValueHuffman) 345.Concat(_headerName) 346.Concat(_literalEmptyStringHuffman) 356.Concat(_headerNameHuffman) 357.Concat(_headerValueHuffman) 367.Concat(_literalEmptyStringHuffman) 368.Concat(_literalEmptyStringHuffman) 380.Concat(_headerValue) 390.Concat(_headerValueHuffman) 412.Concat(_headerName) 413.Concat(_headerValue) 423.Concat(_headerName) 424.Concat(_headerValue) 427encoded = encoded.Concat(encoded).ToArray(); 436.Concat(_headerNameHuffman) 437.Concat(_headerValue) 447.Concat(_headerName) 448.Concat(_headerValueHuffman) 458.Concat(_headerNameHuffman) 459.Concat(_headerValueHuffman) 472.Concat(_headerValue) 485.Concat(_headerValueHuffman) 507.Concat(_literalHeaderName) 508.Concat(_headerValue) 522.Concat(_literalHeaderName) 523.Concat(_headerValue) 538.Concat(_literalHeaderName) 539.Concat(_headerValue) 554.Concat(_literalHeaderName) 555.Concat(_headerValue) 570.Concat(_literalHeaderName) 571.Concat(_headerValue) 586.Concat(_literalHeaderName) 587.Concat(_headerValue) 620byte[] data = _indexedHeaderStatic.Concat(new byte[] { 0x3e }).ToArray(); 673.Concat(new byte[] { 0xff, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix 688.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 689.Concat(Encoding.ASCII.GetBytes(string8193)) 690.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 691.Concat(Encoding.ASCII.GetBytes(string8193)) 711.Concat(new byte[] { 0x7f, 0x80, 0x3f }) // 8191 encoded with 7-bit prefix, no Huffman encoding 712.Concat(Encoding.ASCII.GetBytes(string8191)) 713.Concat(new byte[] { 0x7f, 0x80, 0x3f }) // 8191 encoded with 7-bit prefix, no Huffman encoding 714.Concat(Encoding.ASCII.GetBytes(string8191)) 715.Concat(_literalHeaderFieldWithoutIndexingNewName) 716.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 717.Concat(Encoding.ASCII.GetBytes(string8193)) 718.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 719.Concat(Encoding.ASCII.GetBytes(string8193)) 720.Concat(_literalHeaderFieldWithoutIndexingNewName) 721.Concat(new byte[] { 0x7f, 0x83, 0x3f }) // 8194 encoded with 7-bit prefix, no Huffman encoding 722.Concat(Encoding.ASCII.GetBytes(string8194)) 723.Concat(new byte[] { 0x7f, 0x83, 0x3f }) // 8194 encoded with 7-bit prefix, no Huffman encoding 724.Concat(Encoding.ASCII.GetBytes(string8194)) 741.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 742.Concat(Encoding.ASCII.GetBytes(string8193)) 743.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 744.Concat(Encoding.ASCII.GetBytes(string8193)) 876_literalHeaderFieldWithIndexingNewName.Concat(_huffmanLongPadding).ToArray(), 877_literalHeaderFieldWithIndexingNewName.Concat(_huffmanEos).ToArray(), 879_literalHeaderFieldWithoutIndexingNewName.Concat(_huffmanLongPadding).ToArray(), 880_literalHeaderFieldWithoutIndexingNewName.Concat(_huffmanEos).ToArray(), 882_literalHeaderFieldNeverIndexedNewName.Concat(_huffmanLongPadding).ToArray(), 883_literalHeaderFieldNeverIndexedNewName.Concat(_huffmanEos).ToArray(), 887_literalHeaderFieldWithIndexingIndexedName.Concat(_huffmanLongPadding).ToArray(), 888_literalHeaderFieldWithIndexingIndexedName.Concat(_huffmanEos).ToArray(), 890_literalHeaderFieldWithoutIndexingIndexedName.Concat(_huffmanLongPadding).ToArray(), 891_literalHeaderFieldWithoutIndexingIndexedName.Concat(_huffmanEos).ToArray(), 893_literalHeaderFieldNeverIndexedIndexedName.Concat(_huffmanLongPadding).ToArray(), 894_literalHeaderFieldNeverIndexedIndexedName.Concat(_huffmanEos).ToArray()
src\Shared\test\Shared.Tests\runtime\Http2\HuffmanDecodingTests.cs (7)
119currentPrefix = currentPrefix.Concat(s_offsetByOneBit).ToArray(); 127yield return currentPrefix.Concat(new byte[] { (byte)i }.Concat(currentPrefix)).ToArray(); 170yield return destination.Take(encodedByteCount).Concat(pad1).ToArray(); 171yield return destination.Take(encodedByteCount).Concat(pad2).ToArray(); 172yield return destination.Take(encodedByteCount).Concat(pad3).ToArray(); 173yield return destination.Take(encodedByteCount).Concat(pad4).ToArray();
src\Shared\test\Shared.Tests\runtime\Http3\QPackDecoderTest.cs (13)
48.Concat(_headerNameHuffmanBytes) 52.Concat(_headerValueBytes) 56.Concat(_headerValueHuffmanBytes) 87.Concat(_headerValue) 102.Concat(_headerValue) 145.Concat(_headerValueHuffman) 155.Concat(_headerValue) 185.Concat(_headerValue) 200.Concat(_headerValue) 216.Concat(_headerValue) 232.Concat(_headerValue) 248.Concat(_headerValue) 264.Concat(_headerValue)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (16)
Http2\HPackDecoderBenchmark.cs (16)
23.Concat(_headerNameBytes) 31.Concat(_headerValueBytes) 35.Concat(_headerName) 36.Concat(_headerValue) 48.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 49.Concat(Encoding.ASCII.GetBytes(string8193)) 50.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 51.Concat(Encoding.ASCII.GetBytes(string8193)) 55.Concat(_literalHeaderFieldNeverIndexed_NewName) 56.Concat(_literalHeaderFieldNeverIndexed_NewName) 57.Concat(_literalHeaderFieldNeverIndexed_NewName) 58.Concat(_literalHeaderFieldNeverIndexed_NewName) 62.Concat(_indexedHeaderDynamic) 63.Concat(_indexedHeaderDynamic) 64.Concat(_indexedHeaderDynamic) 65.Concat(_indexedHeaderDynamic)
Microsoft.AspNetCore.Server.Kestrel.Tests (5)
KestrelConfigurationLoaderTests.cs (5)
314var config = new ConfigurationBuilder().AddInMemoryCollection(endpointConfig.Concat(devCertConfig)).Build(); 321serverOptions.ConfigurationLoader.Configuration = new ConfigurationBuilder().AddInMemoryCollection(endpointConfig.Concat(devCertConfig).Concat(defaultCertConfig)).Build(); 328serverOptions.ConfigurationLoader.Configuration = new ConfigurationBuilder().AddInMemoryCollection(endpointConfig.Concat(devCertConfig)).Build(); 684.Concat(password != null ? new[] { new KeyValuePair<string, string>("Certificates:Default:Password", password) } : Array.Empty<KeyValuePair<string, string>>()))
Microsoft.AspNetCore.Shared.Tests (128)
runtime\Http2\HPackDecoderTest.cs (100)
69.Concat(_headerNameBytes) 75.Concat(_literalHeaderNameBytes) 79.Concat(_headerNameHuffmanBytes) 83.Concat(_headerValueBytes) 87.Concat(_headerValueHuffmanBytes) 133.Concat(_headerValue) 165.Concat(_literalHeaderName) // A header value that's too large to fit in the dynamic table 186.Concat(_headerName) 187.Concat(_headerValue) 197.Concat(_headerNameHuffman) 198.Concat(_headerValue) 208.Concat(_headerName) 209.Concat(_headerValueHuffman) 219.Concat(_headerNameHuffman) 220.Concat(_headerValueHuffman) 230.Concat(_headerValue) 240.Concat(_headerValueHuffman) 262.Concat(_headerName) 263.Concat(_headerValue) 273.Concat(_literalEmptyString) 274.Concat(_headerValue) 286.Concat(_headerName) 287.Concat(_literalEmptyString) 297.Concat(_literalEmptyString) 298.Concat(_literalEmptyString) 310.Concat(_headerNameHuffman) 311.Concat(_headerValue) 321.Concat(_literalEmptyStringHuffman) 322.Concat(_headerValue) 334.Concat(_headerName) 335.Concat(_headerValueHuffman) 345.Concat(_headerName) 346.Concat(_literalEmptyStringHuffman) 356.Concat(_headerNameHuffman) 357.Concat(_headerValueHuffman) 367.Concat(_literalEmptyStringHuffman) 368.Concat(_literalEmptyStringHuffman) 380.Concat(_headerValue) 390.Concat(_headerValueHuffman) 412.Concat(_headerName) 413.Concat(_headerValue) 423.Concat(_headerName) 424.Concat(_headerValue) 427encoded = encoded.Concat(encoded).ToArray(); 436.Concat(_headerNameHuffman) 437.Concat(_headerValue) 447.Concat(_headerName) 448.Concat(_headerValueHuffman) 458.Concat(_headerNameHuffman) 459.Concat(_headerValueHuffman) 472.Concat(_headerValue) 485.Concat(_headerValueHuffman) 507.Concat(_literalHeaderName) 508.Concat(_headerValue) 522.Concat(_literalHeaderName) 523.Concat(_headerValue) 538.Concat(_literalHeaderName) 539.Concat(_headerValue) 554.Concat(_literalHeaderName) 555.Concat(_headerValue) 570.Concat(_literalHeaderName) 571.Concat(_headerValue) 586.Concat(_literalHeaderName) 587.Concat(_headerValue) 620byte[] data = _indexedHeaderStatic.Concat(new byte[] { 0x3e }).ToArray(); 673.Concat(new byte[] { 0xff, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix 688.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 689.Concat(Encoding.ASCII.GetBytes(string8193)) 690.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 691.Concat(Encoding.ASCII.GetBytes(string8193)) 711.Concat(new byte[] { 0x7f, 0x80, 0x3f }) // 8191 encoded with 7-bit prefix, no Huffman encoding 712.Concat(Encoding.ASCII.GetBytes(string8191)) 713.Concat(new byte[] { 0x7f, 0x80, 0x3f }) // 8191 encoded with 7-bit prefix, no Huffman encoding 714.Concat(Encoding.ASCII.GetBytes(string8191)) 715.Concat(_literalHeaderFieldWithoutIndexingNewName) 716.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 717.Concat(Encoding.ASCII.GetBytes(string8193)) 718.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 719.Concat(Encoding.ASCII.GetBytes(string8193)) 720.Concat(_literalHeaderFieldWithoutIndexingNewName) 721.Concat(new byte[] { 0x7f, 0x83, 0x3f }) // 8194 encoded with 7-bit prefix, no Huffman encoding 722.Concat(Encoding.ASCII.GetBytes(string8194)) 723.Concat(new byte[] { 0x7f, 0x83, 0x3f }) // 8194 encoded with 7-bit prefix, no Huffman encoding 724.Concat(Encoding.ASCII.GetBytes(string8194)) 741.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 742.Concat(Encoding.ASCII.GetBytes(string8193)) 743.Concat(new byte[] { 0x7f, 0x82, 0x3f }) // 8193 encoded with 7-bit prefix, no Huffman encoding 744.Concat(Encoding.ASCII.GetBytes(string8193)) 876_literalHeaderFieldWithIndexingNewName.Concat(_huffmanLongPadding).ToArray(), 877_literalHeaderFieldWithIndexingNewName.Concat(_huffmanEos).ToArray(), 879_literalHeaderFieldWithoutIndexingNewName.Concat(_huffmanLongPadding).ToArray(), 880_literalHeaderFieldWithoutIndexingNewName.Concat(_huffmanEos).ToArray(), 882_literalHeaderFieldNeverIndexedNewName.Concat(_huffmanLongPadding).ToArray(), 883_literalHeaderFieldNeverIndexedNewName.Concat(_huffmanEos).ToArray(), 887_literalHeaderFieldWithIndexingIndexedName.Concat(_huffmanLongPadding).ToArray(), 888_literalHeaderFieldWithIndexingIndexedName.Concat(_huffmanEos).ToArray(), 890_literalHeaderFieldWithoutIndexingIndexedName.Concat(_huffmanLongPadding).ToArray(), 891_literalHeaderFieldWithoutIndexingIndexedName.Concat(_huffmanEos).ToArray(), 893_literalHeaderFieldNeverIndexedIndexedName.Concat(_huffmanLongPadding).ToArray(), 894_literalHeaderFieldNeverIndexedIndexedName.Concat(_huffmanEos).ToArray()
runtime\Http2\HuffmanDecodingTests.cs (7)
119currentPrefix = currentPrefix.Concat(s_offsetByOneBit).ToArray(); 127yield return currentPrefix.Concat(new byte[] { (byte)i }.Concat(currentPrefix)).ToArray(); 170yield return destination.Take(encodedByteCount).Concat(pad1).ToArray(); 171yield return destination.Take(encodedByteCount).Concat(pad2).ToArray(); 172yield return destination.Take(encodedByteCount).Concat(pad3).ToArray(); 173yield return destination.Take(encodedByteCount).Concat(pad4).ToArray();
runtime\Http3\QPackDecoderTest.cs (13)
48.Concat(_headerNameHuffmanBytes) 52.Concat(_headerValueBytes) 56.Concat(_headerValueHuffmanBytes) 87.Concat(_headerValue) 102.Concat(_headerValue) 145.Concat(_headerValueHuffman) 155.Concat(_headerValue) 185.Concat(_headerValue) 200.Concat(_headerValue) 216.Concat(_headerValue) 232.Concat(_headerValue) 248.Concat(_headerValue) 264.Concat(_headerValue)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (3)
112get { return PropertiesValues().Concat(Extra.Values).ToArray(); } 166PropertiesEnumerable().Concat(Extra).ToArray().CopyTo(array, arrayIndex); 247return PropertiesEnumerable().Concat(Extra).GetEnumerator();
WebEncodersTests.cs (4)
47byte[] input = new byte[3].Concat(Convert.FromBase64String(base64Input)).Concat(new byte[2]).ToArray(); 68var input = new byte[3].Concat(Convert.FromBase64String(base64Input)).Concat(new byte[2]).ToArray();
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (1)
HubServerProxyGenerator.Parser.cs (1)
264.Concat(hubSymbol.AllInterfaces.SelectMany(x => x
Microsoft.AspNetCore.TestHost (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\10.0.0-alpha.1.24619.8\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
168args = args.Concat(new[] { "--applicationName", assemblyName }).ToArray();
Microsoft.AspNetCore.WebUtilities.Tests (2)
PagedByteBufferTest.cs (2)
43Assert.Equal(Enumerable.Concat(input1, input2).ToArray(), ReadBufferedContent(buffer)); 77Assert.Equal(Enumerable.Concat(input1, input2).ToArray(), ReadBufferedContent(buffer));
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2949forwardingLoggers = forwardingLoggers?.Concat(forwardingLogger) ?? forwardingLogger;
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
152return excludePatterns.Concat(globsToIgnore).ToImmutableHashSet();
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
103return Enumerable.Concat(directories, files);
Microsoft.Build.Engine.UnitTests (2)
Graph\GraphLoadedFromSolution_tests.cs (1)
180var currentSolutionConfigurationPlatform in SolutionFileBuilder.SolutionConfigurationPlatformsDefaults.Concat(new SolutionConfigurationInSolution[] { null }))
Instance\TaskItem_Tests.cs (1)
193item.MetadataNames.Cast<string>().ShouldBeSetEquivalentTo(new[] { "a", "b" }.Concat(s_builtInMetadataNames));
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\DotNetSdkTestBase.cs (1)
226var targetsArg = string.Join(";", targets.Concat(new[] { "Test_EvaluateExpressions" }));
Microsoft.Build.Tasks.UnitTests (1)
WriteCodeFragment_Tests.cs (1)
1174string expectedContent = string.Join(Environment.NewLine, expectedHeader.Concat(expectedAttributes));
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
1424: parameters.Loggers.Concat(new[] { logger }); 1667var pathFragments = rootDirectoryFragments.Concat(fileFragments); 2085: actualBuildParameters.Loggers.Concat(loggers).ToArray();
Microsoft.Build.Utilities.UnitTests (1)
TaskItem_Tests.cs (1)
98taskItem.MetadataNames.Cast<string>().ShouldBeSetEquivalentTo(FileUtilities.ItemSpecModifiers.All.Concat(new[] { "m" }));
Microsoft.Cci.Extensions (3)
Dgml\DgmlExtensions.cs (1)
18var assemblyNames = definedNames.Concat(referencedNames).Distinct(StringComparer.OrdinalIgnoreCase).ToArray();
HostEnvironment.cs (2)
613paths = Enumerable.Concat(new List<string>() { coreAssemblyFile }, paths.Where(ai => !StringComparer.OrdinalIgnoreCase.Equals(ai, coreAssemblyFile))); 675identities = Enumerable.Concat(new List<AssemblyIdentity>() { coreIdentity }, identities.Where(ai => ai != coreIdentity));
Microsoft.CodeAnalysis (4)
CommandLine\CommonCompiler.cs (1)
132allArgs = new[] { "@" + responseFile }.Concat(allArgs);
Emit\CommonPEModuleBuilder.cs (1)
898return declareTypes.Concat(compileEmitTypes);
MetadataReader\MetadataHelpers.cs (1)
902nestedNamespaces[keyIndex] = KeyValuePairUtil.Create(primaryPair.Key, primaryPair.Value.Concat(pair.Value));
Syntax\SyntaxToken.cs (1)
518return this.LeadingTrivia.Concat(this.TrailingTrivia);
Microsoft.CodeAnalysis.CodeStyle (15)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
105CreateClassificationDiagnostics(contiguousSpans, tree, descriptor, cancellationToken).Concat(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (2)
716var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis()) 756var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
164return type.GetBaseTypesAndThis().Concat(type.AllInterfaces).Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
709return node.WithLeadingTrivia(trivia.Concat(node.GetLeadingTrivia())); 743return node.WithTrailingTrivia(node.GetTrailingTrivia().Concat(trivia));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
54=> nodesOrTokens.SelectMany(nodeOrToken => nodeOrToken.GetLeadingTrivia().Concat(nodeOrToken.GetTrailingTrivia())).ToArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTokenExtensions.cs (2)
134return token.WithLeadingTrivia(trivia.Concat(token.LeadingTrivia)); 158return token.WithTrailingTrivia(token.TrailingTrivia.Concat(trivia));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
74return words.Take(1).Select(DecapitalizeFirstLetter).Concat(words.Skip(1).Select(CapitalizeFirstLetter)); 76return words.Take(1).Select(CapitalizeFirstLetter).Concat(words.Skip(1).Select(DecapitalizeFirstLetter));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (4)
339.Concat(openParenToken.TrailingTrivia) 341.Concat(operand.GetLeadingTrivia()); 344.Concat(closeParenToken.LeadingTrivia) 346.Concat(closeParenToken.TrailingTrivia);
Microsoft.CodeAnalysis.CodeStyle.Fixes (13)
Host\Mef\CodeStyleHostLanguageServices.cs (1)
51return MefHostServices.DefaultAssemblies.Concat(
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
440var newParameters = _delegatedConstructor.Parameters.Concat(_parameters);
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (2)
204var newFieldName = NameGenerator.EnsureUniqueness(baseFieldWithNamingStyle, unavailableMemberNames.Concat(parameterToNewFieldMap.Values)); 205var newPropertyName = NameGenerator.EnsureUniqueness(basePropertyWithNamingStyle, unavailableMemberNames.Concat(parameterToNewPropertyMap.Values));
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
137return derivedClasses.Concat(implementedTypes).ToSet();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator.cs (1)
102memberDefinitions.Concat(extraMembers),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (3)
516triviaOfRemovedNode = leading.Concat(trailing); 532triviaOfRemovedNode = leading.Concat(trailing); 541var tokenWithInsertedTrivia = tokenToInsertTrivia.WithLeadingTrivia(trivia.Concat(tokenToInsertTrivia.LeadingTrivia));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamedTypeSymbol.cs (1)
163=> ImmutableArray.CreateRange(_members.Concat(this.TypeMembers));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (1)
83return GenerateUniqueName(baseName, filteredCandidates.Select(s => s.Name).Concat(usedNames));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefLanguageServices.cs (1)
46_services = services.Concat(factories).Where(lz => lz.lazyService.Metadata.Language == language).ToImmutableArray();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
50_services = services.Concat(factories).ToImmutableArray();
Microsoft.CodeAnalysis.CSharp (23)
Binder\ForEachLoopBinder.cs (1)
1799.Concat(typeParameter.AllEffectiveInterfacesWithDefinitionUseSiteDiagnostics(ref useSiteInfo));
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
2304Concat(typeParameter.AllEffectiveInterfacesWithDefinitionUseSiteDiagnostics(ref useSiteInfo));
BoundTree\UnboundLambda.cs (1)
1313var allBags = convBags.Concat(retBags);
CommandLine\CSharpCommandLineParser.cs (1)
1183pathMap = pathMap.Concat(ParsePathMap(unquoted, diagnostics));
Compiler\MethodCompiler.cs (1)
1295boundStatements = boundStatements.Concat(lowered.Statements);
Lowering\ClosureConversion\ClosureConversion.cs (1)
1581_currentTypeParameters = containerAsFrame?.TypeParameters.Concat(synthesizedMethod.TypeParameters) ?? synthesizedMethod.TypeParameters;
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
631return new ValueDispatchNode.SwitchDispatch(sd.Syntax, sd.Cases.Concat(cases), sd.Otherwise);
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (6)
132var attributes = GetAttributes(t.AttributeLists).Concat(GetTypeParameterListAttributes(t.TypeParameterList)); 163.Concat(GetParameterListInitializersAndAttributes(t.ParameterList)) 164.Concat(GetTypeParameterListAttributes(t.TypeParameterList)); 249codeBlocks = codeBlocks.Concat(attributes); 293codeBlocks = codeBlocks.Concat(GetAttributes(t.AttributeLists)); 297codeBlocks = codeBlocks.Concat(GetTypeParameterListAttributes(methodDecl.TypeParameterList));
Symbols\Source\SourceAssemblySymbol.cs (1)
1606attributes = attributes.Concat(netmoduleAttributes);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2879membersByName[name] = membersForName.Concat(typesAsSymbols);
Symbols\Source\SourcePropertyAccessorSymbol.cs (3)
131=> _property.NotNullMembers.Concat(base.NotNullMembers); 134=> _property.NotNullWhenTrueMembers.Concat(base.NotNullWhenTrueMembers); 137=> _property.NotNullWhenFalseMembers.Concat(base.NotNullWhenFalseMembers);
Symbols\TypeWithAnnotations.cs (2)
513return CreateLazySubstitutedType(newTypeWithModifiers.DefaultType, newCustomModifiers.Concat(newTypeWithModifiers.CustomModifiers), typeParameter); 536newCustomModifiers.Concat(newTypeWithModifiers.CustomModifiers));
Syntax\SyntaxNodeRemover.cs (1)
42result = result.WithTrailingTrivia(result.GetTrailingTrivia().Concat(residualTrivia));
Syntax\SyntaxReplacer.cs (2)
98_nodeSet.Select(n => n.FullSpan).Concat( 99_tokenSet.Select(t => t.FullSpan).Concat(
Microsoft.CodeAnalysis.CSharp.CodeStyle (13)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
305.Concat(memberAccess.OperatorToken.GetAllTrivia()) 306.Concat(memberAccess.Name.GetLeadingTrivia())
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerDiagnosticAnalyzer.cs (1)
61GetMatchElements(preMatches).Concat(GetInitializerElements(objectCreationExpression.Initializer))));
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
209.Concat(existingSymbols.Select(s => s.Name))
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (1)
237.Concat(declaration.GetTrailingTrivia());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (4)
85return prevToken.TrailingTrivia.Concat(token.LeadingTrivia); 882.WithLeadingTrivia(leadingTrivia.Concat(node.GetLeadingTrivia()).FilterComments(addElasticMarker: false)) 884node.GetTrailingTrivia().Concat(SyntaxNodeOrTokenExtensions.GetTrivia(trailingNodesOrTokens).Concat(trailingTrivia)).FilterComments(addElasticMarker: false));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (2)
226token.TrailingTrivia.Concat(SyntaxNodeOrTokenExtensions.GetTrivia(trailingNodesOrTokens).Concat(trailingTrivia))).FilterComments(addElasticMarker: false));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
28.Concat(usingList) 118.Concat(externAliasList)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (19)
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (1)
157return newStatement.WithTrailingTrivia(expressionTriviaWithoutEndOfLine.Concat(ifStatementTrivia));
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
290orphanedTrivia = orphanedTrivia.Concat(leadingTrivia);
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
67var trivia = localDeclaration.GetLeadingTrivia().Concat(localDeclaration.GetTrailingTrivia())
src\Analyzers\CSharp\CodeFixes\UseThrowExpression\UseThrowExpressionCodeFixProvider.cs (1)
71(current, _) => current.WithLeadingTrivia(current.GetLeadingTrivia().Concat(throwStatement.GetTrailingTrivia())));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CastExpressionSyntaxExtensions.cs (6)
18.Concat(node.OpenParenToken.TrailingTrivia) 19.Concat(node.Type.GetLeadingTrivia()) 20.Concat(node.Type.GetTrailingTrivia()) 21.Concat(node.CloseParenToken.LeadingTrivia) 22.Concat(node.CloseParenToken.TrailingTrivia) 23.Concat(node.Expression.GetLeadingTrivia())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (2)
60typeParameter.ConstraintTypes.Where(t => t.TypeKind == TypeKind.Class).Concat( 61typeParameter.ConstraintTypes.Where(t => t.TypeKind == TypeKind.Interface).Concat(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (4)
61var isFixed = reservedNames.Select(s => true).Concat( 64var parameterNames = reservedNames.Concat( 84var isFixed = reservedNames.Select(s => true).Concat( 87var parameterNames = reservedNames.Concat(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
139openBrace.TrailingTrivia.Concat(closeBrace.LeadingTrivia.Take(index + 1)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
199.Concat(_localDeclarationStatement.Declaration.Type.GetTrailingTrivia());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
765return InferTypeInArgument(index, parameterListsWithMatchingCount.ToImmutable(), name, refKind).Concat(
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (6)
515AssertEx.Equal(new[] { RuntimeEnvironment.GetRuntimeDirectory() }.Concat(new[] { @"x", @"..\goo", @"../bar", @"a b" }.Select(prependBasePath)), args.ReferencePaths.ToArray()); 7079var csc = CreateCSharpCompiler(null, dir.Path, commandLineArguments.Concat(new[] { inputName1, inputName2 }).ToArray()); 7199var csc = CreateCSharpCompiler(null, dir.Path, commandLineArguments.Concat(new[] { fileName }).ToArray()); 9377var allCommandLineArgs = new[] { "/nologo", "/preferreduilang:en", "/t:library" }.Concat(commandLineArgs).ToArray(); 11623var args = defaultArgs.Concat(extraArgs).ToArray(); 12224references = references.Concat(NetStandard13.References.All).ToArray();
SarifV2ErrorLoggerTests.cs (1)
433}.Concat(additionalArguments).ToArray();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
SymbolKey\SymbolKeyTestBase.cs (3)
374exprs = exprs.Concat(tmp); 376exprs = exprs.Concat(tmp); 379exprs = exprs.Concat(tmp);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (12)
CodeGen\CodeGenAsyncEHTests.cs (1)
28references = (references != null) ? references.Concat(s_asyncRefs) : s_asyncRefs;
CodeGen\CodeGenAsyncLocalsTests.cs (1)
29references = (references != null) ? references.Concat(s_asyncRefs) : s_asyncRefs;
CodeGen\CodeGenAsyncTests.cs (1)
31references = (references != null) ? references.Concat(asyncRefs) : asyncRefs;
CodeGen\CodeGenDeconstructTests.cs (2)
7864Handler", references: WinRtRefs.Concat(new[] { ValueTupleRef, comp1.ToMetadataReference() })); 7927Handler", references: WinRtRefs.Concat(new[] { ValueTupleRef, comp1.ToMetadataReference() }));
CodeGen\CodeGenTupleTest.cs (6)
14081var comp3 = CreateCompilationWithMscorlib461(source1, references: (new[] { comp2CompilationRef }).Concat(s_valueTupleRefs), 14087var comp4 = CreateCompilationWithMscorlib40(source1, references: (new[] { comp2.EmitToImageReference() }).Concat(s_valueTupleRefs), 17023references: s_valueTupleRefs.Concat(new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().WithAliases(ImmutableArray.Create("alias1")) }), 17046references: s_valueTupleRefs.Concat(new[] { comp1.ToMetadataReference(), comp2.ToMetadataReference().WithAliases(ImmutableArray.Create("alias1")) }), 23502var comp = CompileAndVerifyWithMscorlib40(source, expectedOutput: "42qq", references: s_valueTupleRefs.Concat(new[] { libCompRef }).ToArray(), options: TestOptions.DebugExe, verify: Verification.Fails); 23846var comp = CreateCompilationWithMscorlib461AndCSharp(source, references: (new[] { libCompRef }).Concat(s_valueTupleRefs).ToArray(), options: TestOptions.DebugExe);
CodeGen\ForeachTest.cs (1)
798comp = comp.WithReferences(comp.References.Concat(new[] { SystemRuntimeFacadeRef, ValueTupleRef }));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (20)
Attributes\AttributeTests.cs (14)
1809AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "A(1)" }), GetAttributeStrings(field1.GetAttributes())); 1817AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "A(2)" }), GetAttributeStrings(field2.GetAttributes())); 1825AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "A(33)" }), GetAttributeStrings(field3.GetAttributes())); 1833AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "A(44)", "A(444)" }), GetAttributeStrings(field4.GetAttributes())); 1866AssertEx.SetEqual(s_backingFieldAttributes.Concat(dynamicAndTupleNames), GetAttributeStrings(field1.GetAttributes())); 2202AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "System.Runtime.CompilerServices.DateTimeConstantAttribute(123456)" }), 2209AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "System.Runtime.CompilerServices.DateTimeConstantAttribute(123456)" }), 2253AssertEx.SetEqual(fieldAttributesExpected.Concat(decimalAttributeExpected), GetAttributeStrings(field1.GetAttributes())); 2265AssertEx.SetEqual(fieldAttributesExpected.Concat(decimalAttributeExpected), GetAttributeStrings(field2.GetAttributes())); 2333AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "System.ObsoleteAttribute" }), 2343AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { @"System.ObsoleteAttribute(""obsolete"", true)" }), 2469AssertEx.SetEqual(fieldAttributesExpected.Concat(new[] { "A(1)" }), GetAttributeStrings(field1.GetAttributes())); 2654AssertEx.SetEqual(accessorsExpected.Concat(new[] { "CC" }), GetAttributeNames(event3.AddMethod.GetAttributes())); 2655AssertEx.SetEqual(accessorsExpected.Concat(new[] { "CC" }), GetAttributeNames(event3.RemoveMethod.GetAttributes()));
Attributes\AttributeTests_Nullable.cs (1)
4905expectedBits = ImmutableArray.Create(addOne.GetValueOrDefault()).Concat(expectedBits);
Attributes\AttributeTests_Tuples.cs (1)
181references: s_attributeRefs.Concat(new[] { ref0 }));
Attributes\AttributeTests_WellKnownAttributes.cs (1)
9872compilation2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new[] { compilation1.EmitToImageReference() }), TestOptions.ReleaseDll);
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)));
RefReadonlyParameterTests.cs (1)
4748verifier.VerifyDiagnostics(fromMetadata ? warnings2 : warnings1.Concat(warnings2).ToArray());
Microsoft.CodeAnalysis.CSharp.Features (25)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
334var newLeadingTrivia = leadingTrivia.Concat(trailingTrivia);
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (1)
290namespaceOpeningTrivia.Concat(namespaceClosingTrivia));
Completion\CompletionProviders\AttributeNamedParameterCompletionProvider.cs (1)
215return existingArguments1.Concat(existingArguments2).ToSet();
ConvertLinq\ConvertForEachToLinqQuery\AbstractConverter.cs (1)
152leadingCommentsTrivia = forEachStatement.ForEachKeyword.GetAllTrivia().Concat(leadingCommentsTrivia);
EditAndContinue\BreakpointSpans.cs (3)
860return modifiers.Concat(variableDeclaration.DescendantTokens()).Concat(semicolon); 866return modifiers.Concat(variableDeclaration.Type.DescendantTokens()).Concat(variableDeclarator.DescendantTokens());
ExtractMethod\CSharpMethodExtractor.PostProcessor.cs (1)
212foreach (var trivia in token.LeadingTrivia.Concat(token.TrailingTrivia))
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
381root = root.TrackNodes(allAffectedStatements.Concat(new SyntaxNode[] { expression, statement }));
MetadataAsSource\FormattingRule.cs (1)
56var triviaList = token1.TrailingTrivia.Concat(token2.LeadingTrivia);
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (2)
305.Concat(memberAccess.OperatorToken.GetAllTrivia()) 306.Concat(memberAccess.Name.GetLeadingTrivia())
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerDiagnosticAnalyzer.cs (1)
61GetMatchElements(preMatches).Concat(GetInitializerElements(objectCreationExpression.Initializer))));
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
209.Concat(existingSymbols.Select(s => s.Name))
src\Analyzers\CSharp\Analyzers\UseExpressionBody\Helpers\UseExpressionBodyHelper`1.cs (1)
237.Concat(declaration.GetTrailingTrivia());
src\Analyzers\CSharp\CodeFixes\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessCodeFixProvider.cs (1)
157return newStatement.WithTrailingTrivia(expressionTriviaWithoutEndOfLine.Concat(ifStatementTrivia));
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
290orphanedTrivia = orphanedTrivia.Concat(leadingTrivia);
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpIsAndCastCheckCodeFixProvider.cs (1)
67var trivia = localDeclaration.GetLeadingTrivia().Concat(localDeclaration.GetTrailingTrivia())
src\Analyzers\CSharp\CodeFixes\UseThrowExpression\UseThrowExpressionCodeFixProvider.cs (1)
71(current, _) => current.WithLeadingTrivia(current.GetLeadingTrivia().Concat(throwStatement.GetTrailingTrivia())));
src\Compilers\CSharp\CSharpAnalyzerDriver\CSharpDeclarationComputer.cs (6)
132var attributes = GetAttributes(t.AttributeLists).Concat(GetTypeParameterListAttributes(t.TypeParameterList)); 163.Concat(GetParameterListInitializersAndAttributes(t.ParameterList)) 164.Concat(GetTypeParameterListAttributes(t.TypeParameterList)); 249codeBlocks = codeBlocks.Concat(attributes); 293codeBlocks = codeBlocks.Concat(GetAttributes(t.AttributeLists)); 297codeBlocks = codeBlocks.Concat(GetTypeParameterListAttributes(methodDecl.TypeParameterList));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (2)
674var changedDocuments = changes.GetChangedDocuments().Concat(changes.GetAddedDocuments()); 720var changedDocuments = changes.GetChangedDocuments().Concat(changes.GetAddedDocuments());
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\LocalFunctionTests.cs (1)
3735baseExpected.Concat(extra).ToArray());
Semantics\LookupPositionTests.cs (6)
1216}.Concat(s_commonDelegateTypeMembers).ToArray(); 1222}.Concat(s_commonDelegateTypeMembers).ToArray(); 1228}.Concat(s_commonDelegateTypeMembers).ToArray(); 1234}.Concat(s_commonDelegateTypeMembers).ToArray(); 1238}.Concat(s_commonEnumTypeMembers).ToArray(); 3166string[] curr = prev.Concat(added).ToArray();
Semantics\NullableReferenceTypesTests.cs (3)
97850.Concat(new[] { 99136.Concat(new[] { 100431.Concat(new[] {
Semantics\OverloadResolutionTestBase.cs (1)
31var references = new[] { mscorlibRef }.Concat(additionalRefs ?? Array.Empty<MetadataReference>());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
Compilation\UsedAssembliesTests.cs (3)
107var comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Module))); 298references: TargetFrameworkUtil.GetReferences(targetFramework).Concat(references), 344var comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Module)));
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
3228return newToken.WithLeadingTrivia(existingLeadingTrivia.Concat(newLeadingTrivia));
Symbols\CompilationCreationTests.cs (2)
2902CheckCompilationSyntaxTrees(compilation2, treeList1.Concat(treeList2).ToArray()); 2911CheckCompilationSyntaxTrees(compilation4, treeList3.Concat(treeList4).ToArray());
Symbols\DefaultInterfaceImplementationTests.cs (4)
50710baseReferences = baseReferences.Concat(new[] { attributesRef }); 50752baseReferences = TargetFrameworkUtil.GetReferencesWithout(TargetFramework.NetLatest, "System.Runtime.InteropServices.dll").Concat(new[] { attributesRef }); 50753var compilation1 = CreateCompilation(consumer1, options: TestOptions.ReleaseDll, references: baseReferences.Concat(new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }), targetFramework: TargetFramework.Empty); 50757var compilation2 = CreateCompilation(consumer2, options: TestOptions.ReleaseExe, references: baseReferences.Concat(new[] { reference2, pia2Reference }), targetFramework: TargetFramework.Empty);
Symbols\IndexerTests.cs (1)
200CheckParameters(setter.Parameters, expectedParameterTypes.Concat(new[] { expectedType }).ToArray());
Symbols\MissingSpecialMember.cs (2)
596}.Concat(WinRtRefs).ToArray(); 937}.Concat(WinRtRefs).ToArray();
Symbols\StaticAbstractMembersInInterfacesTests.cs (4)
18465expected = expected.Concat( 18493expected = expected.Concat( 18657expected = expected.Concat( 18685expected = expected.Concat(
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
LexicalAndXml\LexicalTests.cs (1)
3744.Concat(SyntaxFacts.GetContextualKeywordKinds())
Syntax\SyntaxNodeTests.cs (1)
1485c = c.WithLeadingTrivia(c.GetLeadingTrivia().Concat(c.GetLeadingTrivia()));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (8)
CSharpTestBase.cs (3)
1258allReferences = allReferences.Concat(references); 1374var comp2 = comp.RemoveAllReferences().AddReferences(used.Concat(comp.References.Where(r => r.Properties.Kind == MetadataImageKind.Module))); 1487references: (references != null) ? s_scriptRefs.Concat(references) : s_scriptRefs,
MetadataTestHelpers.cs (1)
39mrefs: mrefs.Concat(compilations.Select(c => c.ToMetadataReference())).ToArray());
TestOptions.cs (4)
108return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>("strict", "true") })); 113return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>("peverify-compat", "true") })); 148return options.WithFeatures(options.Features.Concat(new[] { new KeyValuePair<string, string>(feature, value) })); 169return options.WithFeatures(options.Features.Concat(list));
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (12)
CodeGen\WinMdEventTests.cs (1)
627var comp2 = CreateEmptyCompilation(source2, WinRtRefs.Concat(new MetadataReference[] { new CSharpCompilationReference(comp1), serializationRef, SystemXmlRef }), TestOptions.ReleaseExe);
Metadata\WinMdDumpTest.cs (1)
441references = references.Concat(additionalRefs);
Metadata\WinMdEventTests.cs (9)
2839var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 2958var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3027var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3093var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef }), TestOptions.CreateTestOptions(kind, OptimizationLevel.Debug)); 3165var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 3192var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { ilRef })); 3218var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef })); 3249var comp = CreateEmptyCompilation(source, WinRtRefs.Concat(new[] { interfaceILRef, baseILRef })); 3556var comp = CreateEmptyCompilation("", WinRtRefs.Concat(new[] { ilRef }), TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Metadata\WinMdMetadataTests.cs (1)
234WinRtRefs.Concat(new[] { AssemblyMetadata.CreateFromImage(TestResources.WinRt.W1).GetReference() }),
Microsoft.CodeAnalysis.CSharp.Workspaces (23)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (4)
85return prevToken.TrailingTrivia.Concat(token.LeadingTrivia); 882.WithLeadingTrivia(leadingTrivia.Concat(node.GetLeadingTrivia()).FilterComments(addElasticMarker: false)) 884node.GetTrailingTrivia().Concat(SyntaxNodeOrTokenExtensions.GetTrivia(trailingNodesOrTokens).Concat(trailingTrivia)).FilterComments(addElasticMarker: false));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (2)
226token.TrailingTrivia.Concat(SyntaxNodeOrTokenExtensions.GetTrivia(trailingNodesOrTokens).Concat(trailingTrivia))).FilterComments(addElasticMarker: false));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\UsingsAndExternAliasesOrganizer.cs (2)
28.Concat(usingList) 118.Concat(externAliasList)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\CastExpressionSyntaxExtensions.cs (6)
18.Concat(node.OpenParenToken.TrailingTrivia) 19.Concat(node.Type.GetLeadingTrivia()) 20.Concat(node.Type.GetTrailingTrivia()) 21.Concat(node.CloseParenToken.LeadingTrivia) 22.Concat(node.CloseParenToken.TrailingTrivia) 23.Concat(node.Expression.GetLeadingTrivia())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeParameterSymbolExtensions.cs (2)
60typeParameter.ConstraintTypes.Where(t => t.TypeKind == TypeKind.Class).Concat( 61typeParameter.ConstraintTypes.Where(t => t.TypeKind == TypeKind.Interface).Concat(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\SemanticModelExtensions.cs (4)
61var isFixed = reservedNames.Select(s => true).Concat( 64var parameterNames = reservedNames.Concat( 84var isFixed = reservedNames.Select(s => true).Concat( 87var parameterNames = reservedNames.Concat(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\TypeDeclarationSyntaxExtensions.cs (1)
139openBrace.TrailingTrivia.Concat(closeBrace.LeadingTrivia.Take(index + 1)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
199.Concat(_localDeclarationStatement.Declaration.Type.GetTrailingTrivia());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
765return InferTypeInArgument(index, parameterListsWithMatchingCount.ToImmutable(), name, refKind).Concat(
Microsoft.CodeAnalysis.EditorFeatures (4)
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProvider.cs (2)
48var csharpAndVisualBasicSettings = csharpSettings.Concat(ToAnalyzerSetting(visualBasicAnalyzers, Language.VisualBasic)); 49return csharpAndVisualBasicSettings.Concat(ToAnalyzerSetting(dotnetAnalyzers, Language.CSharp | Language.VisualBasic));
InlineRename\AbstractEditorInlineRenameService.InlineRenameReplacementInfo.cs (1)
35return nonComplexifiedSpans.Concat(complexifiedSpans);
IntelliSense\AsyncCompletion\ItemManager.cs (1)
137var combinedItemList = session.CreateCompletionList(data.InitialSortedItemList.Concat(expandedContext.ItemList));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\CodeGenerationTests.VisualBasic.cs (1)
1475var newModifiers = new[] { VB.SyntaxFactory.Token(VB.SyntaxKind.FriendKeyword).WithLeadingTrivia(eol) }.Concat(
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
SignatureHelp\Controller_TypeChar.cs (1)
120textuallyTriggeredProviders.Concat(untriggeredProviders), triggerInfo);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (7)
SignatureHelp\FSharpSignatureHelpItem.cs (4)
67PrefixDisplayParts.Concat( 68SeparatorDisplayParts.Concat( 69SuffixDisplayParts.Concat( 70Parameters.SelectMany(p => p.GetAllParts())).Concat(
SignatureHelp\FSharpSignatureHelpParameter.cs (3)
78return this.PrefixDisplayParts.Concat(this.DisplayParts) 79.Concat(this.SuffixDisplayParts) 80.Concat(this.SelectedDisplayParts);
Microsoft.CodeAnalysis.Features (33)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (2)
228var newStartToken = startToken.WithLeadingTrivia(previousOfStart.TrailingTrivia.Concat(startToken.LeadingTrivia)); 236newEndToken = newEndToken.WithTrailingTrivia(endToken.TrailingTrivia.Concat(nextOfEnd.LeadingTrivia));
Completion\Providers\AbstractDocCommentCompletionProvider.cs (3)
149items = items.Concat(GetParamRefItems(symbol)) 150.Concat(GetTypeParamRefItems(symbol)); 155items = items.Concat(GetKeywordNames().Select(CreateLangwordCompletionItem));
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (1)
285return unnamedArguments.Concat(namedAndUnnamedArguments);
ExtractMethod\AbstractSyntaxTriviaService.cs (1)
129foreach (var trivia in token1.TrailingTrivia.Concat(token2.LeadingTrivia))
ExtractMethod\MethodExtractor.Analyzer.cs (1)
123.Concat(dataFlowAnalysisData.WrittenInside)
ExtractMethod\MethodExtractor.TriviaResult.cs (3)
89return result.Concat(currentLine).Concat(list.Skip(i - 1)); 106return result.Concat(currentLine);
FullyQualify\AbstractFullyQualifyService.cs (1)
99.Concat(matchingNamespaceContainers)
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (2)
433nonNullBaseSymbolItems.Concat(nonNullDerivedTypeItems)); 497nonNullBaseSymbolItems.Concat(nonNullDerivedTypeItems));
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (2)
345.Concat(parametersWithVariableDeclarationArgumentQuery) 363foreach (var symbol in parametersNeedGenerateFreshVariableFor.Concat(localSymbolsInCallee))
InvertIf\AbstractInvertIfCodeRefactoringProvider.cs (2)
494var leadingTrivia = GetLeadingSpace(statementsAfterIf[0].GetLeadingTrivia()).Concat(GetTriviaAfterSpace(newTrailing[0].GetLeadingTrivia())); 495var trailingTrivia = GetTriviaUntilSpace(newTrailing[^1].GetTrailingTrivia()).Concat(GetTrailingSpace(statementsAfterIf[^1].GetTrailingTrivia()));
QuickInfo\CommonSemanticQuickInfoProvider.ErrorVisitor.cs (1)
61foreach (var typeParameter in symbol.TypeArguments.Concat(symbol.TypeParameters))
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (1)
190var allReferenceDocuments = getReferencesByDocument.Concat(setReferencesByDocument).Select(g => g.Key).Distinct();
SignatureHelp\AbstractSignatureHelpProvider.cs (4)
184var allParts = prefixParts.Concat(separatorParts) 185.Concat(suffixParts) 331var concatted = startingNewLine.Concat(platformParts); 334: item.DescriptionParts.Concat(concatted);
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
105CreateClassificationDiagnostics(contiguousSpans, tree, descriptor, cancellationToken).Concat(
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
238return (preMatches.Concat(postMatches), shouldUseCollectionExpression: true, changesSemantics);
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
440var newParameters = _delegatedConstructor.Parameters.Concat(_parameters);
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (2)
204var newFieldName = NameGenerator.EnsureUniqueness(baseFieldWithNamingStyle, unavailableMemberNames.Concat(parameterToNewFieldMap.Values)); 205var newPropertyName = NameGenerator.EnsureUniqueness(basePropertyWithNamingStyle, unavailableMemberNames.Concat(parameterToNewPropertyMap.Values));
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
137return derivedClasses.Concat(implementedTypes).ToSet();
Structure\BlockStructureServiceWithProviders.cs (1)
24_providers = GetBuiltInProviders().Concat(GetImportedProviders());
Wrapping\AbstractCodeActionComputer.cs (2)
226var tokens = leftTokenToTrailingTrivia.Keys.Concat(rightTokenToLeadingTrivia.Keys).Distinct().ToImmutableArray(); 246tokens: leftTokenToTrailingTrivia.Keys.Concat(rightTokenToLeadingTrivia.Keys).Distinct(),
Microsoft.CodeAnalysis.LanguageServer (2)
ExportProviderBuilder.cs (2)
38assemblyPaths = assemblyPaths.Concat(Directory.EnumerateFiles(baseDirectory, "Microsoft.ServiceHub*.dll")); 49assemblyPaths = assemblyPaths.Concat(extensionManager.ExtensionAssemblyPaths);
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (1)
68? hostStateSets.Concat(entry.StateSetMap.Values)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateSet.cs (1)
61.Concat(_projectStates.Where(kv => !kv.Value.IsEmpty())
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (1)
680return refactorings.Concat(fixes);
Handler\Diagnostics\DiagnosticSources\AbstractWorkspaceDocumentDiagnosticSource.cs (1)
80static (project, _) => [.. project.DocumentIds.Concat(project.AdditionalDocumentIds)],
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
38private static readonly ImmutableDictionary<string, string> s_pureLspDirectTypeMap = s_vsDirectTypeMap.Concat(new Dictionary<string, string>
Protocol\Converters\SumConverter.cs (1)
92this.objectUnionTypeInfos = objectUnionTypeInfosSet.Where(t => t.KindAttribute is not null).Concat(
Workspaces\LspWorkspaceManager.cs (1)
334.Concat(registeredWorkspaces.Where(workspace => workspace.Kind == WorkspaceKind.MiscellaneousFiles))
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\TestUtils.cs (2)
236foreach (var document in project.Documents.Concat(project.AdditionalDocuments).Concat(project.AnalyzerConfigDocuments))
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
186members = ((IEnumerable<MemberInfo>)type.DeclaredFields).Concat(type.DeclaredProperties);
Microsoft.CodeAnalysis.Test.Utilities (35)
AssemblyLoadTestFixture.cs (1)
538}).Concat(additionalReferences),
Assert\EqualityUnit`1.cs (4)
22get { return Enumerable.Repeat(Value, 1).Concat(EqualValues).Concat(NotEqualValues); } 46EqualValues.Concat(equalValues).ToList().AsReadOnly(), 55NotEqualValues.Concat(notEqualValues).ToList().AsReadOnly());
Compilation\IRuntimeEnvironment.cs (1)
227foreach (var current in (new[] { compilation }).Concat(referencedCompilations))
Compilation\TestOperationVisitor.cs (28)
140children = children.Concat(new[] { initializer }); 149IEnumerable<IOperation> children = operation.IgnoredDimensions.Concat(operation.Declarators); 154children = children.Concat(new[] { initializer }); 165AssertEx.Equal(new[] { operation.Value }.Concat(operation.Cases), operation.ChildOperations); 172AssertEx.Equal(operation.Clauses.Concat(operation.Body), operation.ChildOperations); 299children = children.Concat(new[] { operation.Condition }); 302children = children.Concat(new[] { operation.Body }); 303children = children.Concat(operation.AtLoopBottom); 325children = children.Concat(operation.NextVariables); 334IEnumerable<IOperation> children = new[] { operation.Collection, operation.LoopControlVariable, operation.Body }.Concat(operation.NextVariables); 430children = children.Concat(operation.Catches); 433children = children.Concat(new[] { operation.Finally }); 448children = children.Concat(new[] { operation.ExceptionDeclarationOrExpression }); 453children = children.Concat(new[] { operation.Filter }); 456children = children.Concat(new[] { operation.Handler }); 544children = new[] { operation.Instance }.Concat(operation.Arguments); 567IEnumerable<IOperation> children = new[] { operation.Target }.Concat(operation.Arguments); 601AssertEx.Equal(new[] { operation.ArrayReference }.Concat(operation.Indices), operation.ChildOperations); 661children = new[] { operation.Instance }.Concat(additionalChildren); 1039children = children.Concat(new[] { operation.Initializer }); 1066children = children.Concat(new[] { operation.Initializer }); 1075AssertEx.Equal(new[] { operation.Operation }.Concat(operation.Arguments), operation.ChildOperations); 1081AssertEx.Equal(new[] { operation.Operation }.Concat(operation.Arguments), operation.ChildOperations); 1143children = children.Concat(new[] { operation.Initializer }); 1303children = children.Concat(new[] { operation.Alignment }); 1312children = children.Concat(new[] { operation.FormatString }); 1516children = children.Concat(operation.PropertySubpatterns); 1620AssertEx.Equal(new IOperation[] { operation.EventReference }.Concat(operation.Arguments), operation.ChildOperations);
ReflectionAssert.cs (1)
19var fieldsAndProps = fields.Where(f => !f.IsPrivate).Select(f => f.Name).Concat(
Microsoft.CodeAnalysis.UnitTests (22)
Collections\ImmutableArrayExtensionsTests.cs (4)
268Assert.Equal(empty, empty.Concat(empty)); 269Assert.Equal(a, a.Concat(empty)); 270Assert.Equal(a, empty.Concat(a)); 271Assert.True(a.Concat(a).SequenceEqual(ImmutableArray.Create<int>(0, 2, 4, 0, 2, 4)));
Collections\ImmutableListTestBase.cs (2)
175var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5))); 229var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5)));
Collections\ImmutableSetTest.cs (1)
34var arrayWithDuplicates = Enumerable.Range(1, 100).Concat(Enumerable.Range(1, 100)).ToArray();
Collections\ImmutablesTestBase.nonnetstandard.cs (3)
44var longerSequence = equivalentSequence.Concat(new[] { additionalItem }); 45var differentSequence = shorterSequence.Concat(new[] { additionalItem }); 46var nonUniqueSubsetSequenceOfSameLength = shorterSequence.Concat(shorterSequence.Take(1));
Collections\IndexOfTests.cs (2)
50var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5))); 118var list = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(100, 5).Concat(Enumerable.Range(100, 5)));
Collections\RopeTests.cs (2)
31private static readonly Rope[] someRopes = shortRopes.Concat(longRopes).ToArray(); 32private static readonly string[] someStrings = shortStrings.Concat(longStrings).ToArray();
Collections\TopologicalSortTests.cs (1)
162successors[possibleSort[0]] = successors[possibleSort[0]].Concat(new int[] { possibleSort[numberOfNodes - 1] }).ToArray();
EmbeddedTextTests.cs (6)
131var paddedBytes = new byte[] { 0 }.Concat(bytes).Concat(new byte[] { 0 }).ToArray(); 152AssertEx.Equal(Encoding.UTF8.GetPreamble().Concat(Encoding.UTF8.GetBytes(SmallSource)), text.Blob.Skip(4)); 173var paddedBytes = new byte[] { 0 }.Concat(bytes).Concat(new byte[] { 0 }).ToArray(); 194AssertEx.Equal(Encoding.Unicode.GetPreamble().Concat(Encoding.Unicode.GetBytes(LargeSource)), Decompress(text.Blob.Skip(4)));
Text\SourceTextTests.cs (1)
73var bytes = utf8BOM.GetPreamble().Concat(utf8BOM.GetBytes("abc")).ToArray();
Microsoft.CodeAnalysis.VisualBasic (2)
Syntax\SyntaxReplacer.vb (2)
83Me._spanSet = New HashSet(Of TextSpan)(Me._nodeSet.Select(Function(n) n.FullSpan).Concat( 84Me._tokenSet.Select(Function(t) t.FullSpan)).Concat(
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_Synthesized.vb (1)
122AssertEx.SetEqual(expected.Concat("AccessedThroughPropertyAttribute"), GetAttributeNames(attrs))
Microsoft.CodeAnalysis.Workspaces (41)
CodeActions\CodeAction_Cleanup.cs (2)
66.SelectMany(p => p.GetChangedDocuments(onlyGetDocumentsWithTextChanges: true).Concat(p.GetAddedDocuments())) 67.Concat(solutionChanges.GetAddedProjects().SelectMany(p => p.DocumentIds))
CodeActions\Operations\ApplyChangesOperation.cs (2)
116.Concat(changedProject.GetChangedAdditionalDocuments()) 117.Concat(changedProject.GetChangedAnalyzerConfigDocuments()).ToImmutableArray();
Diagnostics\DiagnosticAnalysisResult.cs (3)
307documents = documents.Concat(syntaxLocals.Keys); 312documents = documents.Concat(semanticLocals.Keys); 317documents = documents.Concat(nonLocals.Keys);
Editing\SyntaxGenerator.cs (4)
1025.Concat(attribute.NamedArguments.Select(n => this.AttributeArgument(n.Key, this.TypedConstantExpression(n.Value)))) 1048=> RemoveNodes(declaration, GetAttributes(declaration).Concat(GetReturnAttributes(declaration))); 1479.WithLeadingTrivia(node.GetLeadingTrivia().Concat(changedNode.GetLeadingTrivia())) 1480.WithTrailingTrivia(changedNode.GetTrailingTrivia().Concat(node.GetTrailingTrivia()));
FindSymbols\FindReferences\DependentTypeFinder.cs (1)
496.Concat(projects.Select(p => p.Id)).ToSet();
FindSymbols\SymbolFinder_Hierarchy.cs (1)
368var allTypes = classAndStructImplementations.Concat(transitiveDerivedInterfaces);
Recommendations\AbstractRecommendationServiceRunner.cs (1)
531: symbols.Where(s => s is not IFieldSymbol).Concat(namedType.TupleElements).ToImmutableArray();
Rename\RenameUtilities.cs (1)
108var relevantProjects = projectIdsOfRenameSymbolDeclaration.Concat(projectIdsOfRenameSymbolDeclaration.SelectMany(p =>
Shared\Extensions\TelemetryExtensions.cs (1)
28var suffixBytes = BitConverter.GetBytes(suffix).Concat(new byte[4]).ToArray();
Shared\Utilities\SemanticMap.cs (1)
35return _expressionToInfoMap.Values.Concat(_tokenToInfoMap.Values).Select(info => info.Symbol).Distinct();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (2)
716var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis()) 756var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
164return type.GetBaseTypesAndThis().Concat(type.AllInterfaces).Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
709return node.WithLeadingTrivia(trivia.Concat(node.GetLeadingTrivia())); 743return node.WithTrailingTrivia(node.GetTrailingTrivia().Concat(trivia));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeOrTokenExtensions.cs (1)
54=> nodesOrTokens.SelectMany(nodeOrToken => nodeOrToken.GetLeadingTrivia().Concat(nodeOrToken.GetTrailingTrivia())).ToArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxTokenExtensions.cs (2)
134return token.WithLeadingTrivia(trivia.Concat(token.LeadingTrivia)); 158return token.WithTrailingTrivia(token.TrailingTrivia.Concat(trivia));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
74return words.Take(1).Select(DecapitalizeFirstLetter).Concat(words.Skip(1).Select(CapitalizeFirstLetter)); 76return words.Take(1).Select(CapitalizeFirstLetter).Concat(words.Skip(1).Select(DecapitalizeFirstLetter));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (4)
339.Concat(openParenToken.TrailingTrivia) 341.Concat(operand.GetLeadingTrivia()); 344.Concat(closeParenToken.LeadingTrivia) 346.Concat(closeParenToken.TrailingTrivia);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (3)
516triviaOfRemovedNode = leading.Concat(trailing); 532triviaOfRemovedNode = leading.Concat(trailing); 541var tokenWithInsertedTrivia = tokenToInsertTrivia.WithLeadingTrivia(trivia.Concat(tokenToInsertTrivia.LeadingTrivia));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationNamedTypeSymbol.cs (1)
163=> ImmutableArray.CreateRange(_members.Concat(this.TypeMembers));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
34var unusableNames = parameterNames.Concat(outerTypeParameterNames).ToSet(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
83return GenerateUniqueName(baseName, filteredCandidates.Select(s => s.Name).Concat(usedNames)); 92=> semanticModel.LookupSymbols(location.SpanStart).Concat(semanticModel.GetExistingSymbols(container, cancellationToken));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefLanguageServices.cs (1)
46_services = services.Concat(factories).Where(lz => lz.lazyService.Metadata.Language == language).ToImmutableArray();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\MefWorkspaceServices.cs (1)
50_services = services.Concat(factories).ToImmutableArray();
Workspace\Solution\ProjectDependencyGraph.cs (1)
477var otherProjects = this.GetProjectsThatDirectlyDependOnThisProject_NoLock(project).Concat(
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildProjectLoader.Worker.cs (2)
362CheckForDuplicateDocuments(documents.Concat(additionalDocuments).Concat(analyzerConfigDocuments), projectPath, projectId);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Workspaces\TestHostProject`1.cs (3)
207this.Documents = this.Documents.Concat(new TDocument[] { document }); 216this.AdditionalDocuments = this.AdditionalDocuments.Concat(new TDocument[] { document }); 225this.AnalyzerConfigDocuments = this.AnalyzerConfigDocuments.Concat(new TDocument[] { document });
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
71runtimeItems[runtimeName] = runtimeItems[runtimeName].Concat(items);
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Utilities\TestApp.cs (1)
42return ExecuteScript(output, cmd, new [] { "-bl" }.Concat(scriptArgs));
Microsoft.DotNet.AsmDiff (3)
AssemblySet.cs (1)
191var allReferences = loadedAssemblies.Concat(loadedAssemblies.SelectMany(a => a.AssemblyReferences))
DiffCciFilter.cs (1)
89var accessors = propertyAccessors.Concat(eventAccessors);
DiffConfigurationExtensions.cs (1)
56var totalAssemblyPaths = existingAssemblyPaths.Concat(addedPaths).ToArray();
Microsoft.DotNet.Build.Tasks.Installers (1)
src\GenerateMacOSDistributionFile.cs (1)
79.Concat(
Microsoft.DotNet.Build.Tasks.Packaging (6)
CreateTrimDependencyGroups.cs (1)
109var nearestGroup = newDependencyGroups.Concat(dependencyGroups).GetNearest(group.TargetFramework);
NuGetPack.cs (2)
370? _libPackageExcludes.Concat(AdditionalLibPackageExcludes?.Select(item => item.ItemSpec) ?? Enumerable.Empty<string>()) 380.Concat(AdditionalSymbolPackageExcludes?.Select(item => item.ItemSpec) ?? Enumerable.Empty<string>());
ValidatePackage.cs (3)
156Version minSupportedGeneration = allRuntimeGenerations.Concat(allSupportedGenerations).Min(); 387var allDlls = _report.Targets.Values.SelectMany(t => t.CompileAssets.NullAsEmpty().Concat(t.RuntimeAssets.NullAsEmpty())); 567higherFrameworks = higherFrameworks.Concat(uapFrameworks);
Microsoft.DotNet.Build.Tasks.VisualStudio (2)
OptProf\GetRunSettingsSessionConfiguration.cs (2)
135.Concat(assemblyContainers) 153.Concat(assemblyTests)
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\WritePackageUsageData.cs (2)
135.Concat(prebuilt) 193.Concat(jObj.SelectToken("$.libraries"))
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (3)
Modeler\ClassTypeModel.cs (2)
32.Concat(Properties.Where(p => p.Required && !p.ReadOnly)) 33.Concat(Properties.Where(p => !p.Required && p.ReadOnly));
Modeler\ServiceClientModelFactory.cs (1)
133_types.Values?.Concat(_enumTypeModels.Values).OrderBy(m => m.Name),
Microsoft.DotNet.VersionTools (11)
BuildManifest\BuildManifestClient.cs (4)
82.Concat(new[] 168.Concat(changedSemaphorePaths) 179semaphoreUploads.Concat(change.SupplementaryUploads.NullAsEmpty()); 183uploads = uploads.Concat(new[]
BuildManifest\Model\ArtifactSet.cs (1)
23public IEnumerable<XElement> ToXml() => Enumerable.Concat(
BuildManifest\Model\PackageArtifactModel.cs (1)
20private static readonly string[] AttributeOrder = RequiredAttributes.Concat(new[]
BuildManifest\Model\SigningInformationModel.cs (4)
37Enumerable.Concat( 48.Concat(CertificatesSignInfo 53.Concat(ItemsToSign 56.Concat(StrongNameSignInfo
Util\GitCommand.cs (1)
106CommandResult result = Create(new[] { "-C", path, "rev-parse" }.Concat(args).ToArray())
Microsoft.Extensions.DependencyModel (4)
DependencyContextExtensions.cs (2)
132IEnumerable<string?> rids = Enumerable.Concat(new[] { runtimeIdentifier }, fallbacks?.Fallbacks ?? Enumerable.Empty<string?>()); 142IEnumerable<string?> rids = Enumerable.Concat(new[] { runtimeIdentifier }, fallbacks?.Fallbacks ?? Enumerable.Empty<string?>());
DependencyContextWriter.cs (2)
151foreach (string packageName in runtimeLookup.Keys.Concat(compileLookup.Keys).Distinct()) 408context.RuntimeLibraries.Cast<Library>().Concat(context.CompileLibraries)
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
Manifest\TestEntry.cs (1)
37return files.Concat(otherFiles).ToArray();
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
182source.InitialData = source.InitialData!.Concat(new[] { new KeyValuePair<string, string?>(key, value) });
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
EmitterTests.cs (1)
49.Concat(SyntaxFactory
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
498var fullName = string.Join("_", chain.Concat(new[] { leaf }).Select(static x => x.TagName));
Microsoft.Interop.ComInterfaceGenerator (3)
ComInterfaceGenerator.cs (2)
498.Concat(shadowImplementations) 499.Concat(inheritedStubs)))
ComMethodContext.cs (1)
133.WithAttributeLists(List(GenerationContext.SignatureContext.AdditionalAttributes.Concat(MethodInfo.Attributes.Select(a => a.GenerateAttributeList()))))
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportCodeGenerator.cs (2)
118finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.GuaranteedUnmarshal.Concat(statements.CleanupCalleeAllocated)))); 168.Concat(_marshallers.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind()));
JSImportCodeGenerator.cs (2)
113finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.GuaranteedUnmarshal.Concat(statements.CleanupCalleeAllocated)))); 160.Concat(_marshallers.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind()));
Microsoft.Interop.SourceGeneration (1)
ManagedToNativeStubGenerator.cs (1)
168finallyStatements.Add(IfStatement(IdentifierName(InvokeSucceededIdentifier), Block(statements.GuaranteedUnmarshal.Concat(statements.CleanupCalleeAllocated))));
Microsoft.Maui.Controls (5)
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (2)
342 foreach (var child in _detailController.View.Subviews.Concat(_flyoutController.View.Subviews)) 345 foreach (var vc in _detailController.ChildViewControllers.Concat(_flyoutController.ChildViewControllers))
Compatibility\iOS\Extensions\UIViewExtensions.cs (1)
25 return self.Subviews.Concat(self.Subviews.SelectMany(s => s.Descendants()));
ResourceDictionary.cs (2)
250 return new ReadOnlyCollection<string>(_innerDictionary.Keys.Concat(_mergedInstance.Keys).ToList()); 269 return new ReadOnlyCollection<object>(_innerDictionary.Values.Concat(_mergedInstance.Values).ToList());
Microsoft.Maui.Controls.Build.Tasks (1)
TypeReferenceExtensions.cs (1)
317 var implicitOperators = implicitOperatorsOnFromType.Concat(implicitOperatorsOnToType).ToList();
Microsoft.Maui.Controls.Xaml (1)
ApplyPropertiesVisitor.cs (1)
828 .Concat(type.GetInterfaces().SelectMany(t => t.GetRuntimeMethods()));
Microsoft.ML.AutoML (15)
API\AutoCatalog.cs (4)
862InputColumnNames = textFeatureColumnNames.Concat(numericFeatureColumnNames).Concat(catalogFeatureColumnNames).Concat(imagePathColumnNames).Concat(booleanFeatureColumnNames).ToArray(),
AutoMLExperiment\ITrialResultManager.cs (3)
71return _trialResultsHistory.Concat(_newTrialResults); 96}.Concat(Enumerable.Range(0, _searchSpace.FeatureSpaceDim).Select(i => $"parameter_{i}")); 112}.Concat(parameter.Select(p => p.ToString("F3", CultureInfo.InvariantCulture))));
SweepableEstimator\SweepableEstimatorPipeline.cs (1)
72return new SweepableEstimatorPipeline(_estimators.Concat(new[] { estimator }));
TrainerExtensions\SweepableParams.cs (3)
45return BuildTreeArgsParams().Concat(new List<SweepableParam>() 72return BuildAveragedLinearArgsParams().Concat(BuildOnlineLinearArgsParams()); 139}.Concat(BuildOnlineLinearArgsParams());
Tuner\SmacTuner.cs (2)
182return eiChallengers.Concat(randomChallengers).ToArray(); 209var orderedConfigurations = configurations.Concat(randomConfigurations).OrderByDescending(p => p.Item1);
Utils\Entity.cs (2)
79return leftTerms.Concat(rightTerms); 96return entity.Left.ValueEntities().Concat(entity.Right.ValueEntities());
Microsoft.ML.AutoML.SourceGenerator (1)
SweepableEstimatorFactoryGenerator.cs (1)
45EstimatorNames = trainers.Concat(transformers),
Microsoft.ML.AutoML.Tests (1)
TunerTests.cs (1)
214foreach (var loss in zeroLosses.Concat(randomLosses))
Microsoft.ML.Core (3)
ComponentModel\ComponentCatalog.cs (2)
383return kindAttr.Kinds.Concat(baseKinds).ToArray(); 623var names = (info.Aliases ?? new string[0]).Concat(new[] { info.Name }).Distinct();
Data\AnnotationUtils.cs (1)
209return head.Concat(tail);
Microsoft.ML.Data (8)
Commands\CrossValidationCommand.cs (1)
163preXf = preXf.Concat(
Data\SchemaDefinition.cs (2)
169var cursorChannelAttrMembers = (cursorChannelAttrFields as IEnumerable<MemberInfo>).Concat(cursorChannelAttrProperties).ToArray(); 345return (fieldInfos as IEnumerable<MemberInfo>).Concat(propertyInfos).ToArray();
DataLoadSave\Binary\BinaryLoader.cs (1)
2165.Concat(loader._deadColumns.Select(t => new KeyValuePair<bool, TableOfContentsEntry>(false, t)))
DataLoadSave\Database\DatabaseLoader.cs (1)
113var memberInfos = (fieldInfos as IEnumerable<MemberInfo>).Concat(propertyInfos).ToArray();
DataLoadSave\Text\TextLoader.cs (1)
1581var memberInfos = (fieldInfos as IEnumerable<MemberInfo>).Concat(propertyInfos).ToArray();
Evaluators\EvaluatorUtils.cs (1)
906foreach (var keyCol in AnnotationUtils.Prepend(firstDvVectorKeyColumns.Concat(firstDvKeyWithNamesColumns), labelColName))
Utilities\SlotDropper.cs (1)
226droppedSlots = droppedSlots.Concat(Enumerable.Range(SlotsMin[i], SlotsMax[i] - SlotsMin[i] + 1));
Microsoft.ML.FastTree (2)
Training\DocumentPartitioning.cs (1)
107_leafBegin = Enumerable.Range(0, 1).Concat(cumulativeLength).ToArray();
TreeEnsemble\InternalRegressionTree.cs (1)
987return GetNodesLeaves(LteChild[node]).Concat(GetNodesLeaves(GtChild[node]));
Microsoft.ML.GenAI.Core (1)
Trainer\CausalLMDataset.cs (1)
89var train = inputIds.Concat(labelIds.Take(i)).ToArray();
Microsoft.ML.Parquet (1)
PartitionedFileLoader.cs (1)
203columns = columns.Concat(new[] { pathCol }).ToArray();
Microsoft.ML.SearchSpace (10)
SearchSpace.cs (9)
176return fieldOptions.Concat(propertyOptions).ToDictionary(kv => kv.Key, kv => kv.Value); 185foreach (var kv in propertyOptions.Concat(fieldOptions)) 205var attributes = choiceAttributes.Concat(rangeAttributes).Concat(booleanChoiceAttributes).Concat(nestOptionAttributes); 252var attributes = choiceAttributes.Concat(rangeAttributes).Concat(booleanChoiceAttributes).Concat(nestOptionAttributes); 391foreach (var kv in left.Concat(right))
Tuner\GridSearchTuner.cs (1)
46yield return new[] { i }.Concat(i_s).ToArray();
Microsoft.ML.Tokenizers (2)
Utils\ByteToUnicodeEncoding.cs (2)
20.Concat(Enumerable.Range('¡', '¬' - '¡' + 1)) 21.Concat(Enumerable.Range('®', 'ÿ' - '®' + 1))
Microsoft.ML.Tokenizers.Tests (10)
LlamaTests.cs (10)
277Assert.Equal(isEmptyInput ? Array.Empty<int>() : ids.Skip(1).Concat(new[] { bpe.EndOfSentenceId }), bpeTokens.Select(token => token.Id)); 278Assert.Equal(isEmptyInput ? Array.Empty<string>() : tokens.Skip(1).Concat(new[] { bpe.EndOfSentenceToken }), bpeTokens.Select(token => token.Value)); 283Assert.Equal(isEmptyInput ? Array.Empty<int>() : ids.Skip(1).Concat(new[] { bpe.EndOfSentenceId }), encodedIds); 287Assert.Equal(isEmptyInput ? Array.Empty<int>() : ids.Concat(new[] { bpe.EndOfSentenceId }), bpeTokens.Select(token => token.Id)); 288Assert.Equal(isEmptyInput ? Array.Empty<string>() : tokens.Concat(new[] { bpe.EndOfSentenceToken }), bpeTokens.Select(token => token.Value)); 293Assert.Equal(isEmptyInput ? Array.Empty<int>() : ids.Concat(new[] { bpe.EndOfSentenceId }), encodedIds); 533expectedTokens1 = addEndOfSentence ? expectedTokens1.Concat(new[] { sentencePieceBpe.EndOfSentenceToken }).ToArray() : expectedTokens1; 536expectedOffsets1 = addEndOfSentence ? expectedOffsets1.Concat(new[] { (normalizedText.Length, 0) }).ToArray() : expectedOffsets1; 539expectedIds1 = addEndOfSentence ? expectedIds1.Concat(new[] { sentencePieceBpe.EndOfSentenceId }).ToArray() : expectedIds1; 573expectedIds1 = addEndOfSentence ? expectedIds1.Concat(new[] { sentencePieceBpe.EndOfSentenceId }).ToArray() : expectedIds1;
Microsoft.ML.TorchSharp (16)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
549.Concat(AnnotationUtils.GetTrainerOutputAnnotation()));
NasBert\NasBertTrainer.cs (8)
250t = torch.tensor((new[] { 0 /* InitToken */ }).Concat(Tokenizer.EncodeToConverted(sentence1.ToString())).ToList(), device: Device); 258t = torch.tensor((new[] { 0 /* InitToken */ }).Concat(Tokenizer.EncodeToConverted(sentence1.ToString())) 259.Concat(new[] { 2 /* SeparatorToken */ }).Concat(Tokenizer.EncodeToConverted(sentence2.ToString())).ToList(), device: Device); 438.Concat(AnnotationUtils.GetTrainerOutputAnnotation())); 595return InitTokenArray.Concat(tokenizer.EncodeToConverted(sentence1.ToString())) 596.Concat(SeperatorTokenArray).Concat(tokenizer.EncodeToConverted(sentence2.ToString())).ToList();
NasBert\NerTrainer.cs (1)
190t = torch.tensor((ZeroArray).Concat(Tokenizer.RobertaModel().ConvertIdsToOccurrenceRanks(encoding.Select(t => t.Id).ToArray())).ToList(), device: Device);
Roberta\QATrainer.cs (6)
422var srcTensor = torch.tensor((new[] { 0 /* InitToken */ }).Concat(questionTokenId).Concat(new[] { 2 /* SeparatorToken */ }).Concat(contextTokenId).ToList(), device: Device); 861var srcTensor = torch.tensor((new[] { 0 /* InitToken */ }).Concat(questionTokenId).Concat(new[] { 2 /* SeparatorToken */ }).Concat(contextTokenId).ToList(), device: _parent.Device);
Microsoft.ML.Transforms (2)
Text\NgramTransform.cs (2)
625allNGramIds = Enumerable.Concat(allNGramIds, ngramIds[i]); 626indexes = indexes.Concat(ngramIndexes[i]).ToList();
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
327Runner runner = new Runner(_session, new[] { options.LearningRateOperation }.Concat(inputsForTraining).ToArray(),
Microsoft.TestUtilities (2)
XUnit\TestMethodExtensions.cs (2)
20.Concat(testClass.GetCustomAttributes(typeof(ITestCondition))) 21.Concat(assembly.GetCustomAttributes(typeof(ITestCondition)))
Microsoft.VisualStudio.LanguageServices (5)
MoveToNamespace\MoveToNamespaceDialogViewModel.cs (1)
30.Concat(availableNamespaces.Except(namespaceHistory).Select(n => new NamespaceItem(false, n)))
Progression\GraphQueries\IsUsedByGraphQuery.cs (1)
34var allLocations = referencedSymbol.Locations.Concat(reference.Locations.Select(r => r.Location))
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManager.cs (1)
138return GetReferencePaths().Concat(
ProjectSystem\VisualStudioWorkspaceImpl.cs (2)
325var changedDocs = projectChanges.SelectMany(pd => pd.GetChangedDocuments(onlyGetDocumentsWithTextChanges: true).Concat(pd.GetChangedAdditionalDocuments())) 840return items.Concat(items.SelectMany(i => GetAllItems(i.ProjectItems)));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Interactive\Commands\ResetInteractiveTests.cs (1)
148return metadataReferences.Union(projectReferences).Concat(outputReference);
PrepareTests (1)
TestDiscovery.cs (1)
147var assemblies = unitTestAssemblies.Concat(integrationTestAssemblies).Where(ShouldInclude);
PresentationCore.Tests (9)
BinaryFormat\ArrayTests.cs (1)
23public static IEnumerable<object[]> Array_TestData => ((IEnumerable<object[]>)StringArray_Parse_Data).Concat(PrimitiveArray_Parse_Data);
BinaryFormat\BinaryFormatWriterTests.cs (8)
105((IEnumerable<object[]?>)HashtableTests.Hashtables_TestData).Concat( 106ListTests.PrimitiveLists_TestData).Concat( 107ListTests.ArrayLists_TestData).Concat( 108PrimitiveTypeTests.Primitive_Data).Concat( 109SystemDrawingTests.SystemDrawing_TestData).Concat( 113((IEnumerable<object[]?>)HashtableTests.Hashtables_UnsupportedTestData).Concat( 114ListTests.Lists_UnsupportedTestData).Concat( 115ListTests.ArrayLists_UnsupportedTestData).Concat(
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\GuidGenerator.cs (1)
137var data = wrt_pinterface_namespace.ToByteArray().Concat(UTF8Encoding.UTF8.GetBytes(sig)).ToArray();
ResponseCompressionSample (1)
Startup.cs (1)
20options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[] { "image/svg+xml" });
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
43_mainListView = CreateContent(new ActivityLevel[] { s_model.RootNode }.Concat(s_model.RootNode.Children), useWrapPanel: true);
Swaggatherer (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
154HashSet<string> buddyTypeMembers = new HashSet<string>(buddyFields.Concat(buddyProperties), StringComparer.Ordinal);
System.ComponentModel.Composition (10)
Microsoft\Internal\Collections\CollectionServices.cs (1)
78return source.Concat(second);
Microsoft\Internal\ReflectionServices.cs (3)
126return type.GetInterfaces().Concat(new Type[] { type }).SelectMany(itf => itf.GetProperties()); 137return declaredMethods.Concat(baseType.GetAllMethods()); 161return declaredFields.Concat(baseType.GetAllFields());
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (1)
130foreach (MemberInfo member in GetExportMembers(_type).Concat(GetInheritedExports(_type)))
System\ComponentModel\Composition\Hosting\AggregateExportProvider.cs (1)
198allExports = (allExports != null) ? allExports.Concat(exports) : exports;
System\ComponentModel\Composition\Hosting\CatalogExportProvider.CatalogChangeProxy.cs (2)
30return _originalCatalog.Concat(_addedParts).Except(_removedParts).GetEnumerator(); 53return trimmedExports.Concat(addedExports);
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
362UpdateRejections(e.AddedExports.Concat(e.RemovedExports), e.AtomicComposition);
System\ComponentModel\Composition\Hosting\ExportsChangeEventArgs.cs (1)
98.Concat(RemovedExports)
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\RegistrationBuilder.cs (2)
217return cachedAttributes == null ? attributes : attributes.Concat(cachedAttributes); 226return cachedAttributes == null ? attributes : attributes.Concat(cachedAttributes);
System.Composition.Convention (2)
System\Composition\Convention\ConventionBuilder.cs (2)
244return cachedAttributes == null ? appliedAttributes : appliedAttributes.Concat(cachedAttributes); 308return cachedAttributes == null ? attributes : attributes.Concat(cachedAttributes);
System.Composition.Hosting (1)
System\Composition\Hosting\CompositionHost.cs (1)
59.Concat(providers)
System.Composition.TypedParts (1)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (1)
75.Concat(_activationFeatures
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\Binary\ConcatQueryOperator.cs (1)
140return LeftChild.AsSequentialQuery(token).Concat(RightChild.AsSequentialQuery(token));
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogPage.cs (1)
764if (_buttons.Concat<TaskDialogControl>(_radioButtons)
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\DesignerActionListCollectionTests.cs (2)
69Assert.Equal(value.Concat(value), collection.Cast<object>()); 82Assert.Equal(value.Concat(value), collection.Cast<object>());
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (2)
69Assert.Equal(value.Concat(value), collection.Cast<object>()); 82Assert.Equal(value.Concat(value), collection.Cast<object>());
System.Windows.Forms.Tests (1)
System\Windows\Forms\ColorDialogTests.cs (1)
192yield return new object[] { new int[] { 1, 2, 3 }, new int[] { 1, 2, 3 }.Concat(Enumerable.Repeat(0x00FFFFFF, 13)).ToArray() };
Templates.Blazor.Tests (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
Templates.Mvc.Tests (7)
MvcTemplateTest.cs (4)
103Links = menuLinks.Append(PageUrls.DocsUrl).Concat(footerLinks) 108Links = menuLinks.Concat(footerLinks) 300Links = menuLinks.Append(PageUrls.DocsUrl).Concat(footerLinks), 305Links = menuLinks.Concat(footerLinks),
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
Templates.Tests (5)
ByteOrderMarkTest.cs (2)
44files = files.Concat(Directory.GetFiles(templateDirectoryPath, "*.js")); 82files = files.Concat(Directory.GetFiles(templateDirectoryPath, "*.razor", SearchOption.AllDirectories));
src\Shared\CertificateGeneration\CertificateManager.cs (1)
198var certificates = currentUserCertificates.Concat(localMachineCertificates);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
645var profiles = Directory.GetDirectories(firefoxDirectory, "*.default", SearchOption.TopDirectoryOnly).Concat(
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
Wasm.Performance.ConsoleHost (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
74expr = expr.Concat(rootNode.Options.Where(o => o.Inherited));
xunit.assert (2)
Sdk\ArgumentFormatter.cs (1)
347 .Concat(properties)
Sdk\AssertHelper.cs (1)
168 .Concat(propertyGetters)