4 references to Distinct
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1479foreach (int kind in kinds.Distinct())
Operations\ControlFlowGraph.cs (1)
52Debug.Assert(localFunctions.Distinct().Length == localFunctions.Length);
SourceGeneration\Nodes\NodeStateTable.cs (1)
605Debug.Assert(states.Length == 1 || states.Distinct().Length > 1);
Microsoft.CodeAnalysis.CSharp (1)
Binder\Imports.cs (1)
186var usings = this.Usings.AddRange(otherImports.Usings).Distinct(UsingTargetComparer.Instance);