34 references to ThenByDescending
aspire (1)
src\Shared\X509Certificate2Extensions.cs (1)
130.ThenByDescending(c => c.NotAfter);
Aspire.Dashboard (2)
Model\ResourceUrlHelpers.cs (2)
67.ThenByDescending(e => e.Url?.StartsWith("https") == true) 68.ThenByDescending(e => e.Url is not null)
Aspire.Hosting (1)
src\Shared\X509Certificate2Extensions.cs (1)
130.ThenByDescending(c => c.NotAfter);
Aspire.Playground.Tests (2)
src\Shared\X509Certificate2Extensions.cs (1)
130.ThenByDescending(c => c.NotAfter);
tests\Aspire.TestUtilities\RequiresFeatureAttribute.cs (1)
105.ThenByDescending(c => c.NotAfter)
Aspire.TestUtilities (2)
RequiresFeatureAttribute.cs (1)
105.ThenByDescending(c => c.NotAfter)
src\Shared\X509Certificate2Extensions.cs (1)
130.ThenByDescending(c => c.NotAfter);
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.CodeAnalysis.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.CodeAnalysis.Features (1)
InheritanceMargin\InheritanceMarginItem.cs (1)
77=> [.. targetItems.OrderBy(t => t.DisplayName).ThenByDescending(t => t.LanguageGlyph).ThenBy(t => t.ProjectName ?? "")];
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
Microsoft.DotNet.Cli.Utils (1)
TypoCorrection.cs (1)
68.ThenByDescending(s => GetStartsWithDistance(currentToken, s.PossibleMatch))
NuGet.Resolver (4)
ResolverComparer.cs (3)
167.ThenByDescending(p => p.Version.Minor) 168.ThenByDescending(p => p.Version.Patch).FirstOrDefault() == x ? -1 : 1; 180.ThenByDescending(p => p.Version.Patch).FirstOrDefault() == x ? -1 : 1;
ResolverInputSort.cs (1)
78.ThenByDescending(id => parents.Values.Count(parentIds => parentIds.Contains(id)))
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
47.ThenByDescending(x => x.section.Span.Start) 85.ThenByDescending(x => x.section.Span.Start) // in event of a further tie, pick entry at the bottom of the file
System.CommandLine (2)
Invocation\ParseErrorAction.cs (2)
142.ThenByDescending(x => GetStartsWithDistance(token, x)) 151.ThenByDescending(tuple => GetStartsWithDistance(token, tuple.possibleMatch))
System.Data.Common (1)
System\Data\EnumerableRowCollectionExtensions.cs (1)
103IEnumerable<TRow> ie = Enumerable.ThenByDescending((IOrderedEnumerable<TRow>)source.EnumerableRows, keySelector);
tlens (3)
TLens.Analyzers\InterfaceDispatchAnalyzer.cs (1)
13var entries = usage.OrderBy(l => l.Value.Count).ThenByDescending(l => GetImplementationCount(l.Key)).Take(maxCount);
TLens.Analyzers\LimitedMethodCalls.cs (1)
51var entries = methods.Where(l => l.Value.Count <= 3).OrderBy(l => l.Value.Count).ThenByDescending(l => l.Key.GetEstimatedSize()).Take(maxCount);
TLens.Analyzers\TypeInstatiationAnalyzer.cs (1)
64var entries = types.OrderBy(l => l.Value.Count).ThenByDescending(l => l.Key.GetEstimatedSize()).Take(maxCount);