220 references to MaxValue
BinaryFormatTests (4)
dotnet-svcutil-lib (13)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (5)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (3)
Microsoft.Data.Analysis.PerformanceTests (1)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Gen.Metrics.Generated.Tests (1)
Microsoft.ML.Core (2)
Microsoft.ML.Core.Tests (1)
Microsoft.ML.Data (2)
Microsoft.ML.Tests (8)
TextLoaderTests.cs (2)
36string.Format("{0},{1},{2},{3}", sbyte.MaxValue, short.MaxValue, int.MaxValue, long.MaxValue),
55short[] shortTargets = new short[] { short.MinValue, short.MaxValue, default };
Microsoft.ML.Transforms (1)
Microsoft.VisualBasic.Core (10)
PresentationCore (1)
ReachFramework (10)
PrintConfig\PrintSchemaShim.cs (10)
555ticket.JobCopyCount.Value = Clamp(devModeCopies, 1, short.MaxValue);
560devMode.Copies = Clamp(copyCount, 1, short.MaxValue);
746w = LengthValueFromTenthOfMillimeterToDIP(Clamp(devModePaperWidth, 1, short.MaxValue));
752h = LengthValueFromTenthOfMillimeterToDIP(Clamp(devModePaperHeight, 1, short.MaxValue));
773devMode.PaperLength = Clamp(LengthValueFromDIPToTenthOfMillimeter(pageHeightInDIPs), 1, short.MaxValue);
778devMode.PaperWidth = Clamp(LengthValueFromDIPToTenthOfMillimeter(pageWidthInDIPs), 1, short.MaxValue);
990short devModXResolution = Clamp(dpiX, 1, short.MaxValue);
1000short devModYResolution = Clamp(dpiY, 1, short.MaxValue);
1011short devModYResolution = Clamp(dpiY, 1, short.MaxValue);
1072devMode.Scale = Clamp(scale, short.MinValue, short.MaxValue);
ScenarioTests.Common.Tests (2)
System.Console (2)
System.Data.Common (6)
System.Drawing.Common.Tests (9)
System.Net.Security (2)
System.Private.CoreLib (47)
System.Private.DataContractSerialization (3)
System.Private.Uri (1)
System.Private.Windows.Core.Tests (4)
System.Private.Xml (3)
System.Runtime.Numerics (7)
System.Text.Json (1)
System.Threading (3)
System.Windows.Forms (10)
System.Windows.Forms.Primitives (3)
System.Windows.Forms.Primitives.Tests (14)
System.Windows.Forms.Tests (5)