33 references to ThenBy
AnalyzerRunner (2)
DiagnosticAnalyzerRunner.cs (2)
206.ThenBy(tuple => tuple.Item2.Location.SourceSpan.Start) 207.ThenBy(tuple => tuple.Item2.Location.SourceSpan.End);
CodeGenerator (3)
src\Servers\Kestrel\shared\KnownHeaders.cs (3)
178.ThenBy(header => header) 249.ThenBy(header => header) 276.ThenBy(header => header)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
682handlerMethods.OrderBy(h => h.MethodInfo.DeclaringType.Name).ThenBy(h => h.MethodInfo.Name),
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
147.ThenBy(x => x.Priority)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
37.ThenBy(g => g.Key.InboundPrecedence);
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
44.ThenBy(g => g.Key.InboundPrecedence);
Microsoft.AspNetCore.Routing.Tests (2)
Matching\RouteMatcherBuilder.cs (1)
37.ThenBy(g => g.Key.InboundPrecedence);
Matching\TreeRouterMatcherBuilder.cs (1)
44.ThenBy(g => g.Key.InboundPrecedence);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\KnownHeaders.cs (3)
178.ThenBy(header => header) 249.ThenBy(header => header) 276.ThenBy(header => header)
Microsoft.Cci.Extensions (2)
Extensions\TypeExtensions.cs (2)
512.ThenBy(a => a.Version); 519.ThenBy(a => a.Version);
Microsoft.CodeAnalysis (1)
CodeGen\PrivateImplementationDetails.cs (1)
179_orderedProxyTypes = _proxyTypes.OrderBy(kvp => kvp.Key.Size).ThenBy(kvp => kvp.Key.Alignment).Select(kvp => kvp.Value).AsImmutable();
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Workspaces\EditorTestWorkspace.cs (2)
275mappedSpans[string.Empty] = [.. mappedSpans[string.Empty].OrderBy(s => s.End).ThenBy(s => -s.Start)]; 325.ThenBy(kvp => markup.IndexOf("{|" + kvp.Key + ":", StringComparison.Ordinal));
Microsoft.CodeAnalysis.Features (2)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
306.ThenBy(t => t.action.Title)
InheritanceMargin\InheritanceMarginItem.cs (1)
77=> [.. targetItems.OrderBy(t => t.DisplayName).ThenByDescending(t => t.LanguageGlyph).ThenBy(t => t.ProjectName ?? "")];
Microsoft.CodeAnalysis.Test.Utilities (4)
Diagnostics\TrackingDiagnosticAnalyzer.cs (4)
151AssertSequenceEqual(expectedArguments, actualOnCodeBlockStartedArguments, items => items.OrderBy(p => p.SymbolKind).ThenBy(p => p.MethodKind).ThenBy(p => p.ReturnsVoid)); 152AssertSequenceEqual(expectedArguments, actualOnCodeBlockEndedArguments, items => items.OrderBy(p => p.SymbolKind).ThenBy(p => p.MethodKind).ThenBy(p => p.ReturnsVoid));
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
119.ThenBy(d => d.Location.SourceSpan.Start)
Rename\ConflictEngine\ConflictResolver.cs (1)
411.ThenBy(l => l.IsInSource ? l.SourceSpan.Start : int.MaxValue);
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Modeler\MethodModel.cs (2)
53public IEnumerable<ParameterModel> FormalParameters => NonConstantParameters.OrderBy(p => p.Required ? 0 : 1).ThenBy(p => p.Name); 55public IEnumerable<ParameterModel> FormalParametersNoPaging => NonConstantParameters.OrderBy(p => p.Required ? 0 : 1).ThenBy(p => p.Name).Where(p => Paginated == null || (p.Name != Paginated.PageParameterName && p.Name != Paginated.PageSizeParameterName));
Microsoft.DotNet.VersionTools (2)
Automation\PullRequestCreator.cs (1)
184.ThenBy(s => s.Context)
BuildManifest\Model\SigningInformationModel.cs (1)
51.ThenBy(f => f.DualSigningAllowed)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (1)
DependencyInjection\ServiceCollectionExtensionsTest.cs (1)
56Assert.Collection(services.OrderBy(s => s.ServiceType.FullName).ThenBy(s => s.ImplementationType!.FullName),
System.Data.Common (1)
System\Data\EnumerableRowCollectionExtensions.cs (1)
79IEnumerable<TRow> ie = Enumerable.ThenBy((IOrderedEnumerable<TRow>)source.EnumerableRows, keySelector);