40 references to Union
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
786dependencies = packageReferences.Union(assemblyReferences).Except(excludeDependencies);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ViewDataDictionaryTest.cs (1)
165{ model.Union(model) }
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
1551string[] aggregateArguments = arguments.Union(new[] { " /nr:false /v:diag " }).ToArray();
Microsoft.Build.Tasks.Core (2)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
537IEnumerable<string> references = taskInfo.References.Union(DefaultReferences[String.Empty]); 542references = references.Union(DefaultReferences[taskInfo.CodeLanguage]);
Microsoft.CodeAnalysis (1)
Compilation\Compilation.cs (1)
805return CommonWithReferences(this.ExternalReferences.Union(references));
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Diagnostics\StructuredAnalyzerConfigOptions.cs (1)
39=> _fallback == null ? _options.Keys : _options.Keys.Union(_fallback.Keys);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
408.Union(typeSymbol.GetOriginalInterfacesAndTheirBaseInterfaces())
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (2)
66=> BinaryArithmeticAndLogicalOperators().Union(BinaryEqualityAndRelationalOperators()); 69=> PostfixOperators().Union(PrefixOperators());
Microsoft.CodeAnalysis.CSharp.Features (2)
Structure\Providers\FileScopedNamespaceDeclarationStructureProvider.cs (1)
28var externsAndUsings = Enumerable.Union<SyntaxNode>(fileScopedNamespaceDeclaration.Externs, fileScopedNamespaceDeclaration.Usings).ToImmutableArray();
Structure\Providers\NamespaceDeclarationStructureProvider.cs (1)
38var externsAndUsings = Enumerable.Union<SyntaxNode>(namespaceDeclaration.Externs, namespaceDeclaration.Usings)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\AnonymousTypesSemanticsTests.cs (1)
2096select new { start = true, offset = s }).Union(
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Diagnostics\StructuredAnalyzerConfigOptions.cs (1)
39=> _fallback == null ? _options.Keys : _options.Keys.Union(_fallback.Keys);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
408.Union(typeSymbol.GetOriginalInterfacesAndTheirBaseInterfaces())
Microsoft.DotNet.AsmDiff (1)
AssemblySet.cs (1)
133var allPaths = assemblyPaths.Union(dependencyPaths);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PushToBuildStorage.cs (1)
185.Union(symbolItems)
Microsoft.DotNet.Build.Tasks.Packaging (1)
GenerateNuSpec.cs (1)
401return aggregate.Union(next).ToArray();
Microsoft.Extensions.DependencyModel (1)
DependencyContext.cs (1)
60RuntimeGraph.Union(other.RuntimeGraph)
Microsoft.ML.AutoML (2)
TrainerExtensions\SweepableParams.cs (1)
92return BuildLightGbmParams().Union(new SweepableParam[]
TrainerExtensions\TrainerExtensionUtil.cs (1)
231var allProps = parentProps.Union(treeProps);
Microsoft.ML.Core.Tests (4)
UnitTests\TestVBuffer.cs (4)
327int[] indices = aIndices.Union(b.Items().Select(iv => iv.Key)).OrderBy(i => i).ToArray(); 372int[] indices = a.Items().Select(iv => iv.Key).Union(b.Items().Select(iv => iv.Key)).OrderBy(i => i).ToArray(); 419var indices = union ? aIndices.Union(bIndices) : aIndices.Intersect(bIndices); 504.Union(b.Items().Select(iv => iv.Key)).Distinct().OrderBy(x => x).ToArray();
Microsoft.ML.Data (1)
Scorers\RowToRowScorerBase.cs (1)
105inputColumns = activeInCols.Union(colsInputForMapper);
Microsoft.ML.EntryPoints (1)
JsonUtils\JsonManifestUtils.cs (1)
66propertyInfos = epKind.GetInterfaces().Aggregate(propertyInfos, (current, face) => current.Union(face.GetProperties()));
Microsoft.ML.FastTree (1)
TreeEnsemble\InternalTreeEnsemble.cs (1)
408combinedKeys = Keys.Union(currentGains.Keys).Distinct().ToList();
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Interactive\Commands\ResetInteractiveTests.cs (1)
148return metadataReferences.Union(projectReferences).Concat(outputReference);
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (6)
149.Union(EnumerateFilterMarginPaths(SnapLine.MarginLeft, SnapLine.MarginRight, SnapLine.PaddingLeft)) 150.Union(EnumerateFilterMarginPaths(SnapLine.MarginTop, SnapLine.MarginBottom, SnapLine.PaddingTop)) 151.Union(EnumerateFilterMarginPaths(SnapLine.MarginBottom, SnapLine.MarginTop, SnapLine.PaddingBottom)); 185.Union(EnumerateFilterPaddingPaths(SnapLine.PaddingRight, SnapLine.MarginRight)) 186.Union(EnumerateFilterPaddingPaths(SnapLine.PaddingTop, SnapLine.MarginTop)) 187.Union(EnumerateFilterPaddingPaths(SnapLine.PaddingBottom, SnapLine.MarginBottom));
System.Windows.Forms.Tests (1)
System\Windows\Forms\RichTextBoxTests.cs (1)
6791var chars = Enumerable.Range(0x0008, /* 0x0008 to 0x007F */ 0x007F - 0x0008 + 1).Union(
Templates.Blazor.WebAssembly.Auth.Tests (3)
BlazorWasmTemplateAuthTest.cs (3)
95=> CreateBuildPublishAsync(auth: instance.Auth, args: instance.Arguments.Union(new[] { ArgConstants.NoHttps }).ToArray(), targetFramework: "netstandard2.1"); 105=> CreateBuildPublishAsync(auth: instance.Auth, args: instance.Arguments.Union(new[] { ArgConstants.NoHttps }).ToArray(), targetFramework: "netstandard2.1"); 115=> CreateBuildPublishAsync(auth: instance.Auth, args: instance.Arguments.Union(new[] { ArgConstants.NoHttps }).ToArray(), targetFramework: "netstandard2.1");
xunit.console (1)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContext.cs (1)
73RuntimeGraph.Union(other.RuntimeGraph)