55 references to MinValue
BinaryFormatTests (1)
FormatTests\FormattedObject\HashTableTests.cs (1)
210{ decimal.MinValue, decimal.MaxValue },
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (3)
1787private static readonly FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.MaxValue); 3210private static readonly FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.Zero); 3239private static readonly FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.MinusOne);
GenerateDocumentationAndConfigFiles (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.SpecialTypes.cs (1)
195new object[] {"decimal", "decimal.MinValue", decimal.MinValue, true },
Microsoft.CodeAnalysis.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
3621case SpecialType.System_Decimal: return ((double)decimal.MinValue - 1D) < value && value < ((double)decimal.MaxValue + 1D);
Utilities\ValueSetFactory.DecimalTC.cs (1)
29decimal INumericTC<decimal>.MinValue => decimal.MinValue;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
116VerifySyntax<MemberAccessExpressionSyntax>(Generator.LiteralExpression(decimal.MinValue), "global::System.Decimal.MinValue");
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\Conversions.vb (2)
571New TypeAndValue(decimalType, Decimal.MinValue), 1132New TypeAndValue(decimalType, Decimal.MinValue),
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
112VerifySyntax(Of MemberAccessExpressionSyntax)(Generator.LiteralExpression(Decimal.MinValue), "Global.System.Decimal.MinValue")
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
Microsoft.Data.Analysis (3)
PrimitiveDataFrameColumnComputations.cs (3)
1270var ret = decimal.MinValue; 1503var value = decimal.MinValue; 1526var value = decimal.MinValue;
Roslyn.Diagnostics.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },
System.Data.Common (1)
System\Data\Common\DecimalStorage.cs (1)
122decimal max = decimal.MinValue;
System.Linq.Expressions (2)
System\Linq\Expressions\Common\CachedReflectionInfo.cs (1)
47s_Decimal_MinValue ??= typeof(decimal).GetField(nameof(decimal.MinValue))!;
System\Linq\Expressions\Compiler\ILGen.cs (1)
1037else if (value == decimal.MinValue)
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1248static decimal IMinMaxValue<decimal>.MinValue => MinValue;
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1409(value <= -79228162514264337593543950336.0) ? decimal.MinValue :
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2111(value == NegativeInfinity) ? decimal.MinValue :
src\libraries\System.Private.CoreLib\src\System\Int128.cs (2)
1805(value <= new Int128(0xFFFF_FFFF_0000_0000, 0x0000_0000_0000_0001)) ? decimal.MinValue : (decimal)value; 1878(value <= new Int128(0xFFFF_FFFF_0000_0000, 0x0000_0000_0000_0001)) ? decimal.MinValue : (decimal)value;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1674(value <= -79228162514264337593543950336.0f) ? decimal.MinValue :
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1428(value <= -79228162514264337593543950336.0f) ? decimal.MinValue :
System.Private.Windows.Core.Tests (4)
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (3)
79new List<decimal> { decimal.MinValue, decimal.MaxValue }, 99new decimal[] { decimal.MinValue, decimal.MaxValue }, 121(ArrayList)([decimal.MinValue, decimal.MaxValue]),
System\Value\StoringDecimal.cs (1)
12{ decimal.MinValue }
System.Private.Xml (3)
System\Xml\Schema\DataTypeImplementation.cs (3)
1749private static readonly Numeric10FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.MaxValue); 3150private static readonly FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.Zero); 3179private static readonly FacetsChecker s_numeric10FacetsChecker = new Numeric10FacetsChecker(decimal.MinValue, decimal.MinusOne);
System.Runtime.Numerics (6)
System\Numerics\BigInteger.cs (2)
4724(value <= new Int128(0xFFFF_FFFF_0000_0000, 0x0000_0000_0000_0001)) ? decimal.MinValue : (decimal)value; 4929(value <= new Int128(0xFFFF_FFFF_0000_0000, 0x0000_0000_0000_0001)) ? decimal.MinValue : (decimal)value;
System\Numerics\Complex.cs (4)
1841(value.m_real <= (double)decimal.MinValue) ? decimal.MinValue : (decimal)value.m_real; 1977(value.m_real <= (double)decimal.MinValue) ? decimal.MinValue : (decimal)value.m_real;
System.Text.Json (1)
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
696/// Thrown if the JSON token value represents a number less than <see cref="decimal.MinValue"/> or greater
System.Windows.Forms.Tests (1)
System\Resources\ResxDataNodeTests.cs (1)
133{ decimal.MinValue, decimal.MaxValue },
Text.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
100{ decimal.MinValue, nameof(decimal.MinValue) },