22 references to Distinct
BuildActionTelemetryTable (1)
Program.cs (1)
497.Distinct(FullNameTypeComparer.Instance)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
RequestDelegateGenerator.cs (1)
164.Distinct(EndpointHttpMethodComparer.Instance)
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
635.Distinct(StringComparer.OrdinalIgnoreCase)
Microsoft.Build.UnitTests.Shared (1)
TestEnvironment.cs (1)
497return files.Distinct(StringComparer.InvariantCultureIgnoreCase).ToArray();
Microsoft.Cci.Extensions (1)
Dgml\DgmlExtensions.cs (1)
18var assemblyNames = definedNames.Concat(referencedNames).Distinct(StringComparer.OrdinalIgnoreCase).ToArray();
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
420return builder.Distinct(ExtTypeComparer.Instance).ToImmutableArray();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Builder.cs (1)
97var distinctValues = values.Where(v => v.Length > 0).Distinct(CaseInsensitiveComparison.Comparer).ToArray();
Microsoft.CodeAnalysis.CSharp (1)
Binder\Imports.cs (1)
186var usings = this.Usings.AddRange(otherImports.Usings).Distinct(UsingTargetComparer.Instance);
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\NamedParameterCompletionProvider.cs (1)
93.Distinct(this);
Microsoft.CodeAnalysis.Features (3)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
245foreach (var referenceLocation in getReferences.Distinct(LinkedFileReferenceLocationEqualityComparer.Instance)) 285foreach (var referenceLocation in setReferences.Distinct(LinkedFileReferenceLocationEqualityComparer.Instance))
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (1)
257foreach (var (property, referenceLocation) in references.Distinct(this))
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\SymbolFinder_Hierarchy.cs (2)
186return builder.Distinct(SymbolEquivalenceComparer.Instance).ToImmutableArray(); 383return results.Distinct(SymbolEquivalenceComparer.Instance).ToImmutableArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Builder.cs (1)
97var distinctValues = values.Where(v => v.Length > 0).Distinct(CaseInsensitiveComparison.Comparer).ToArray();
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateNuSpec.cs (1)
276).Distinct(frameworkAssemblyReferenceComparer).ToList();
GeneratePackageReport.cs (1)
226var fileFrameworks = _targetPathToPackageItem.Values.Select(f => f.TargetFramework).Distinct(NuGetFramework.Comparer).Where(f => f != null);
Microsoft.DotNet.GenFacades (1)
GenPartialFacadeSourceGenerator.cs (1)
40if (distinctSeeds.Count() != seedNames.Distinct(StringComparer.InvariantCultureIgnoreCase).Count())
Microsoft.Extensions.Configuration (1)
InternalConfigurationRootExtensions.cs (1)
29.Distinct(StringComparer.OrdinalIgnoreCase)
Microsoft.Gen.Logging (1)
Parsing\Parser.cs (1)
561.Distinct(SymbolEqualityComparer.Default)
System.Linq (1)
System\Linq\Distinct.cs (1)
11public static IEnumerable<TSource> Distinct<TSource>(this IEnumerable<TSource> source) => Distinct(source, null);
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
188return wrappedChild.Distinct(_comparer);