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