2 references to Distinct
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraph.cs (1)
52
Debug.Assert(localFunctions.
Distinct
().Length == localFunctions.Length);
SourceGeneration\Nodes\NodeStateTable.cs (1)
598
Debug.Assert(states.Length == 1 || states.
Distinct
().Length > 1);