534 references to Comparison
GenerateDocumentationAndConfigFiles (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Metrics (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Metrics.Legacy (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.CodeAnalysis (21)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.Analyzers (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.AnalyzerUtilities (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.BannedApiAnalyzers (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.CodeStyle (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.Collections.Package (21)
Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.Debugging.Package (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Extensions.Package (21)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.InteractiveHost (21)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (23)
Microsoft.CodeAnalysis.PooledObjects.Package (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.ResxSourceGenerator (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.Threading.Package (21)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.UnitTests (7)
Microsoft.CodeAnalysis.Workspaces (25)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (21)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Microsoft.Extensions.Configuration (1)
Microsoft.ML.Data (2)
mscorlib (1)
netstandard (1)
PresentationFramework (18)
MS\Internal\Data\LiveShapingBlock.cs (4)
64internal void FindPosition(LiveShapingItem item, out RBFinger<LiveShapingItem> oldFinger, out RBFinger<LiveShapingItem> newFinger, Comparison<LiveShapingItem> comparison)
179private RBFinger<LiveShapingItem> LocalSearch(LiveShapingItem item, int left, int right, Comparison<LiveShapingItem> comparison)
270private RBFinger<LiveShapingItem> SearchLeft(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
351private RBFinger<LiveShapingItem> SearchRight(LiveShapingItem item, int offset, Comparison<LiveShapingItem> comparison)
MS\Internal\Data\RBNode.cs (5)
113protected RBFinger<T> Find(T x, Comparison<T> comparison)
150protected RBFinger<T> BoundedSearch(T x, int low, int high, Comparison<T> comparison)
223private int BinarySearch(T x, int low, int high, Comparison<T> comparison, int compHigh, out bool found)
253protected RBFinger<T> LocateItem(RBFinger<T> finger, Comparison<T> comparison)
701protected bool Verify(RBNode<T> node, Comparison<T> comparison, int blackDepth, ref int index, ref T maxItem, out int size)
Roslyn.Diagnostics.Analyzers (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
System.Collections.Immutable (14)
System.Data.Common (15)
System.Linq (1)
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ArraySortHelper.cs (8)
54internal static void Sort(Span<T> keys, Comparison<T> comparer)
99private static void SwapIfGreater(Span<T> keys, Comparison<T> comparer, int i, int j)
121internal static void IntrospectiveSort(Span<T> keys, Comparison<T> comparer)
134private static void IntroSort(Span<T> keys, int depthLimit, Comparison<T> comparer)
179private static int PickPivotAndPartition(Span<T> keys, Comparison<T> comparer)
217private static void HeapSort(Span<T> keys, Comparison<T> comparer)
235private static void DownHeap(Span<T> keys, int i, int n, Comparison<T> comparer)
258private static void InsertionSort(Span<T> keys, Comparison<T> comparer)
System.Reflection.Metadata (1)
System.Runtime (1)
Test.Utilities (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
Text.Analyzers (23)
src\Dependencies\Collections\Internal\ArraySortHelper.cs (8)
65internal static void Sort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
110private static void SwapIfGreater(SegmentedArraySegment<T> keys, Comparison<T> comparer, int i, int j)
132internal static void IntrospectiveSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
145private static void IntroSort(SegmentedArraySegment<T> keys, int depthLimit, Comparison<T> comparer)
190private static int PickPivotAndPartition(SegmentedArraySegment<T> keys, Comparison<T> comparer)
235private static void HeapSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)
253private static void DownHeap(SegmentedArraySegment<T> keys, int i, int n, Comparison<T> comparer)
276private static void InsertionSort(SegmentedArraySegment<T> keys, Comparison<T> comparer)