456 references to MaxValue
BinaryFormatTests (4)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (18)
http2cat (3)
IIS.FunctionalTests (3)
IIS.LongTests (3)
IIS.NewHandler.FunctionalTests (3)
IIS.NewShim.FunctionalTests (3)
IIS.ShadowCopy.Tests (2)
IISExpress.FunctionalTests (3)
InMemory.FunctionalTests (5)
Microsoft.Analyzers.Local.Tests (3)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.Components.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
DefaultHtmlGeneratorTest.cs (4)
870{ nameof(Model.FlagsEnum), uint.MaxValue, new [] { "4294967295" } }, // converted to string & used
883{ nameof(Model.Id), uint.MaxValue, new [] { "4294967295" } }, // no limit checks
903{ nameof(Model.NullableEnum), uint.MaxValue, new [] { "4294967295" } },
923{ nameof(Model.RegularEnum), uint.MaxValue, new [] { "4294967295" } },
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Shared.Tests (3)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (25)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (13)
Emit\NumericIntPtrTests.cs (13)
2890verify((FieldSymbol)comp.GetMember("Program.E"), uint.MaxValue, signed: false, negative: false);
6328values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
6400values: $"0, 1, {uint.MaxValue}",
6401expectedResult: $"{(IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString())}, 0, 4294967294",
6473values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
6545values: $"0, 1, {uint.MaxValue}",
6704values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
6780values: $"0, 1, {uint.MaxValue}",
6781expectedResult: $"{(IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString())}, 0, 4294967294",
9397string nuintMaxValue = IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString();
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\NativeIntegerTests.cs (13)
7053verify((FieldSymbol)comp.GetMember("Program.E"), uint.MaxValue, signed: false, negative: false);
9805values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
9879values: $"0, 1, {uint.MaxValue}",
9880expectedResult: $"{(IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString())}, 0, 4294967294",
9954values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
10028values: $"0, 1, {uint.MaxValue}",
10182values: $"0, {int.MaxValue}, {uint.MaxValue - 1}, {uint.MaxValue}",
10258values: $"0, 1, {uint.MaxValue}",
10259expectedResult: $"{(IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString())}, 0, 4294967294",
13762string nuintMaxValue = IntPtr.Size == 4 ? uint.MaxValue.ToString() : ulong.MaxValue.ToString();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (8)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.ML.Core (2)
Microsoft.ML.Data (6)
Microsoft.ML.DataView (4)
Microsoft.ML.Tests (8)
Microsoft.ML.TorchSharp (1)
Microsoft.ML.Transforms (5)
Microsoft.ML.Vision (1)
Microsoft.VisualBasic.Core (2)
Microsoft.VisualStudio.LanguageServices (1)
PresentationCore (16)
PresentationFramework (3)
ReachFramework (1)
ScenarioTests.Common.Tests (2)
System.Collections (2)
System.Data.Common (1)
System.Formats.Asn1 (2)
System.Formats.Cbor (3)
System.IO.Compression (9)
System.IO.MemoryMappedFiles (5)
System.Linq.Expressions (2)
System.Net.Http (4)
System.Net.HttpListener (1)
System.Net.Primitives (3)
System.Net.Quic (2)
System.Net.Security (2)
System.Private.CoreLib (77)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
42public static Guid AllBitsSet => new Guid(uint.MaxValue, ushort.MaxValue, ushort.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue);
System.Private.DataContractSerialization (1)
System.Private.Uri (1)
System.Private.Windows.Core.Tests (3)
System.Private.Xml (16)
System.Reflection.Metadata (2)
System.Runtime.Numerics (25)
System.Security.Cryptography (3)
System.Security.Cryptography.Cose (2)
System.Text.Json (1)
System.Windows.Forms.Primitives.Tests (16)
System.Windows.Forms.Tests (48)
UIAutomationClientSideProviders (1)