3 references to Distinct
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1463foreach (int kind in kinds.Distinct())
Operations\ControlFlowGraph.cs (1)
52Debug.Assert(localFunctions.Distinct().Length == localFunctions.Length);
SourceGeneration\Nodes\NodeStateTable.cs (1)
598Debug.Assert(states.Length == 1 || states.Distinct().Length > 1);