5 references to Sort
Microsoft.CodeAnalysis (5)
Collections\TemporaryArray`1.cs (1)
384
_builder.
Sort
(compare);
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
642
builder.
Sort
(static (x, y) => string.Compare(x.typeName, y.typeName, StringComparison.OrdinalIgnoreCase));
Emit\EditAndContinue\DefinitionMap.cs (1)
555
lambdasBuilder.
Sort
(static (x, y) => x.id.CompareTo(y.id));
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (1)
269
branches.
Sort
((x, y) =>
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (1)
335
CaptureIds?.
Sort
((x, y) => x.Value.CompareTo(y.Value));