15 references to Max
aspire (2)
Commands\TelemetryTracesCommand.cs (2)
349var totalDuration = rootSpans.Count > 0 ? rootSpans.Max(s => s.Duration) : spans.Max(s => s.Duration);
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
657var maxDuration = pagedResults.TotalItemCount > 0 ? results.Max(r => r.Duration) : default;
Microsoft.CodeAnalysis (2)
CodeGen\StateMachineStateDebugInfo.cs (1)
67var maxState = stateInfos.Max(info => info.StateNumber) + 1;
Emit\EditAndContinue\DefinitionMap.cs (1)
383firstUnusedIncreasingStateMachineState = debugInfo.StateMachineStates.Max(s => s.StateNumber) + 1;
Microsoft.Maui.Controls (2)
LegacyLayouts\Grid.cs (2)
389 this.Max<View, int?>(w => GetRow(w) + GetRowSpan(w)) ?? 0, 394 this.Max<View, int?>(w => GetColumn(w) + GetColumnSpan(w)) ?? 0,
Microsoft.NET.Build.Tasks (1)
CreateWindowsSdkKnownFrameworkReferences.cs (1)
120var highestMinimumVersion = knownFrameworkReferencesForSdkVersion.Max(t => t.minimumNetVersion);
NuGet.CommandLine.XPlat (4)
Commands\Package\Update\PackageUpdateIO.cs (1)
445NuGetVersion highestVersion = packageDetails.Max(p => p.Identity.Version)!;
Commands\PackageReferenceCommands\ListPackage\ListPackageCommandRunner.cs (2)
574.Max(i => i.Identity.Version); 613.Max(i => i.Identity.Version);
Utility\AddPackageCommandUtility.cs (1)
87return packages?.Max(x => x.Identity.Version);
NuGet.Versioning (1)
VersionRangeFactory.cs (1)
483var lowest = versionRanges.Where(range => range.HasLowerBound).Max(range => range.MinVersion);
vstest.console (1)
Internal\ConsoleLogger.cs (1)
712sourceSummary.Duration = !results.Any() ? TimeSpan.Zero : results.Max(r => r.EndTime) - results.Min(r => r.StartTime);
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (1)
712sourceSummary.Duration = !results.Any() ? TimeSpan.Zero : results.Max(r => r.EndTime) - results.Min(r => r.StartTime);