38 references to MinValue
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (1)
242if (value < char.MinValue || value > char.MaxValue)
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Conversions.cs (2)
4303case SpecialType.System_Char: return (char.MinValue - 1D) < value && value < (char.MaxValue + 1D); 4333case SpecialType.System_Char: return (char.MinValue - 1M) < value && value < (char.MaxValue + 1M);
Utilities\ValueSetFactory.CharTC.cs (3)
18char INumericTC<char>.MinValue => char.MinValue; 60Debug.Assert(value != char.MinValue); 66return (char)random.Next((int)char.MinValue, 1 + (int)char.MaxValue);
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (2)
301return UnmanagedHelper<char>.TryCreate(parameterSymbol, attributeData, char.MinValue, char.MaxValue, out parameter); 353return UnmanagedHelper<char>.Validate(parameterSymbol, attributeData, char.MinValue, char.MaxValue, helper, out diagnostics);
Microsoft.Data.Analysis (3)
PrimitiveDataFrameColumnComputations.cs (3)
783var ret = char.MinValue; 1016var value = char.MinValue; 1039var value = char.MinValue;
Microsoft.DotNet.Build.Manifest (2)
VersionIdentifier.cs (2)
101char prevDelimiterCharacter = char.MinValue; 102char nextDelimiterCharacter = char.MinValue;
PresentationFramework (1)
MS\Internal\Data\PathParser.cs (1)
379private const char NullChar = char.MinValue;
System.Data.Common (1)
System\Data\Common\CharStorage.cs (1)
45char max = char.MinValue;
System.Private.CoreLib (19)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (5)
1448static char IMinMaxValue<char>.MinValue => MinValue; 1648(actualValue <= MinValue) ? MinValue : (char)actualValue; 1711(actualValue <= MinValue) ? MinValue : (char)actualValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2154(value <= Zero) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
1788(value <= char.MinValue) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1185char actualResult = (value <= 0) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1235(value <= char.MinValue) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1230(value <= char.MinValue) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1254(value <= char.MinValue) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1890(value <= Zero) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1594(value <= char.MinValue) ? char.MinValue : (char)value;
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1164char actualResult = (value <= 0) ? char.MinValue : (char)value;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
359if (value < char.MinValue || value > char.MaxValue)
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (3)
4788actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4793(value._sign <= char.MinValue) ? char.MinValue : (char)value._sign;