74 references to Union
Metrics (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
Metrics.Legacy (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
974string[] dummyTargetsForEvaluationTime = _defaultTargetNames.Union(_targetNames).ToArray();
Microsoft.CodeAnalysis (2)
Binding\UseSiteInfo.cs (1)
92secondaryDependencies = (secondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty).Union(SecondaryDependencies ?? ImmutableHashSet<TAssemblySymbol>.Empty);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Microsoft.CodeAnalysis.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
Microsoft.CodeAnalysis.AnalyzerUtilities (11)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysis.CopyDataFlowOperationVisitor.cs (3)
227newAnalysisEntities = newAnalysisEntities.Union(existingValue.AnalysisEntities); 237newAnalysisEntities = newAnalysisEntities.Union(addressSharedCopyValue.AnalysisEntities); 277newAnalysisEntities = newAnalysisEntities.Union(existingValue.AnalysisEntities);
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (1)
148newCopyEntities = newCopyEntities.Union(predicatedCopyEntityValue.AnalysisEntities);
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAbstractValue.cs (1)
82value1.SourceOrigins.Union(value2.SourceOrigins));
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Microsoft.CodeAnalysis.CSharp (2)
Utilities\ValueSetFactory.EnumeratedValueSet.cs (2)
132return new EnumeratedValueSet<T>(false, larger._membersIncludedOrExcluded.Union(smaller._membersIncludedOrExcluded), _tc); 155return new EnumeratedValueSet<T>(true, larger._membersIncludedOrExcluded.Union(smaller._membersIncludedOrExcluded), _tc);
Microsoft.CodeAnalysis.Features (1)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingWorkItem.cs (1)
108return SpecificAnalyzers.Union(analyzers);
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceFieldSymbol.vb (1)
385result = ImmutableHashSet(Of SourceFieldSymbol).Empty.Union(builder)
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (3)
65return existingReferencesMap.SetItem(projectId, existingReferences.Union(referencedProjectIds)); 138builder[projectIdToUpdate] = existingTransitiveReferences.Union(newTransitiveReferences); 186builder[projectIdToUpdate] = existingReverseTransitiveReferences.Union(newReverseTranstiveReferences);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
276/// <inheritdoc cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/>
Roslyn.Diagnostics.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));
System.Collections.Immutable (5)
System\Collections\Immutable\ImmutableHashSet.cs (3)
67return ImmutableHashSet<T>.Empty.Union(items); 79return ImmutableHashSet<T>.Empty.WithComparer(equalityComparer).Union(items); 169return ImmutableHashSet<TSource>.Empty.WithComparer(equalityComparer).Union(source);
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
21/// While <see cref="ImmutableHashSet{T}.Union(IEnumerable{T})"/> and other bulk change methods
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
376return this.Union(other);
Text.Analyzers (6)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (6)
383distinctOperatorKinds: _distinctOperatorKinds.Union(other._distinctOperatorKinds), 384distinctBinaryOperatorKinds: _distinctBinaryOperatorKinds.Union(other._distinctBinaryOperatorKinds), 385distinctUnaryOperatorKinds: _distinctUnaryOperatorKinds.Union(other._distinctUnaryOperatorKinds), 386distinctCaseKinds: _distinctCaseKinds.Union(other._distinctCaseKinds), 387distinctReferencedSymbols: _distinctReferencedSymbols.Union(other._distinctReferencedSymbols), 388distinctReferencedConstants: _distinctReferencedConstants.Union(other._distinctReferencedConstants));