2 references to Distinct
Microsoft.CodeAnalysis (2)
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);