65 references to MinValue
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\Guard.cs (1)
161public static void ThrowIfOutOfRange(double value, [CallerArgumentExpression("value")] string? paramName = null, double min = double.MinValue, double max = double.MaxValue, string? minName = null, string? maxName = null, string? message = null)
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\Guard.cs (1)
192public static void ThrowIfOutOfRange(double value, [CallerArgumentExpression(nameof(value))] string? paramName = null, double min = double.MinValue, double max = double.MaxValue, string? minName = null, string? maxName = null, string? message = null)
GenerateDocumentationAndConfigFiles (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
90{ double.MinValue, nameof(double.MinValue) },
ILAssembler (1)
GrammarVisitor.cs (1)
2747result = neg ? double.MaxValue : double.MinValue;
Microsoft.CodeAnalysis.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
90{ double.MinValue, nameof(double.MinValue) },
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
90{ double.MinValue, nameof(double.MinValue) },
Microsoft.CodeAnalysis.CSharp (1)
Utilities\ValueSetFactory.DoubleTC.cs (1)
43return double.MinValue;
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (2)
321return UnmanagedHelper<double>.TryCreate(parameterSymbol, attributeData, double.MinValue, double.MaxValue, out parameter); 373return UnmanagedHelper<double>.Validate(parameterSymbol, attributeData, double.MinValue, double.MaxValue, helper, out diagnostics);
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
90{ double.MinValue, nameof(double.MinValue) },
Microsoft.Data.Analysis (3)
PrimitiveDataFrameColumnComputations.cs (3)
1757var ret = double.MinValue; 1990var value = double.MinValue; 2013var value = double.MinValue;
Microsoft.ML.AutoML.Tests (1)
TunerTests.cs (1)
254double bestMetric = double.MinValue;
Microsoft.ML.Core (3)
Utilities\BinFinder.cs (3)
249if (b == Double.MinValue) 250return Double.MinValue; 251a = Double.MinValue;
Microsoft.ML.FastTree (3)
FastTreeRanking.cs (3)
726scores[index] = double.MinValue; 818if (pScores[i] == double.MinValue) 843_costFunctionParam, _distanceWeight2, numActualResults, &lambdaSum, double.MinValue,
Microsoft.ML.TestFramework (1)
DataPipe\TestDataPipe.cs (1)
30private static Double[] _dataDouble = new Double[] { -0.0, 0, 1, -1, 2, -2, Double.NaN, Double.MinValue,
Microsoft.ML.Tests (3)
CollectionsDataViewTest.cs (1)
148fDouble = double.MinValue + 1,
Transformers\ConvertTests.cs (2)
164AN = new double[]{ double.MinValue, double.MaxValue,} 232AN = new double[]{ double.MinValue, double.MaxValue,},
Microsoft.ML.TimeSeries (1)
SrCnnEntireAnomalyDetector.cs (1)
497_maximumOriginValue = Double.MinValue;
Microsoft.ML.Transforms (7)
MissingValueReplacingUtils.cs (7)
430Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 449Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 454Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 468Contracts.Assert(double.MinValue <= stat && stat <= double.MaxValue); 474Contracts.Assert(double.MinValue <= _cur && _cur <= double.MaxValue); 488Contracts.Assert(double.MinValue <= stat && stat <= double.MaxValue); 877double bound = ReturnMax ? double.MinValue : double.MaxValue;
PresentationCore (11)
MS\Internal\Ink\StrokeFIndices.cs (1)
27internal static double BeforeFirst { get { return double.MinValue; } }
MS\Internal\Ink\StrokeRenderer.cs (5)
251double prevAngle = double.MinValue; 429prevAngle = double.MinValue; //invalidate 511if (prevAngle == double.MinValue) 1120internal static readonly Point ArcToMarker = new Point(Double.MinValue, Double.MinValue);
System\Windows\Media\CompositionTarget.cs (2)
548Double.MinValue / 2.0, 549Double.MinValue / 2.0,
System\Windows\Media\FormattedText.cs (3)
300_minWidth = double.MinValue; 1514if (_minWidth != double.MinValue) 1723accBlackBoxRight = accBlackBoxBottom = double.MinValue;
PresentationFramework (1)
System\Windows\Input\KeyboardNavigation.cs (1)
3455private const double BASELINE_DEFAULT = Double.MinValue;
ReachFramework (5)
AlphaFlattener\BrushProxy.cs (2)
3709double max = Double.MinValue; 4214double maxt = Double.MinValue;
AlphaFlattener\SegmentTree.cs (2)
200AddPoint(0, -1, Double.MinValue, Double.MinValue);
PrintConfig\PrintSchema.cs (1)
1784public const double UnspecifiedDoubleValue = System.Double.MinValue;
Roslyn.Diagnostics.Analyzers (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (2)
90{ double.MinValue, nameof(double.MinValue) },
System.Data.Common (2)
System\Data\Common\DoubleStorage.cs (1)
118double max = double.MinValue;
System\Data\SQLTypes\SQLDouble.cs (1)
441public static readonly SqlDouble MinValue = new SqlDouble(double.MinValue);
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\Metrics\Base2ExponentialHistogramAggregator.cs (2)
110_maxMeasurement = double.MinValue; 160_maxMeasurement = double.MinValue;
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
928static double IMinMaxValue<double>.MinValue => MinValue;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
339return (bits == double.NegativeInfinityBits) ? double.MinValue : x;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
70get => new NFloat(NativeType.MinValue);
System.Text.Json (3)
System\Text\Json\Document\JsonElement.cs (2)
845/// <see cref="double.MaxValue"/> (or smaller than <see cref="double.MinValue"/>), 879/// <see cref="double.MaxValue"/> (or smaller than <see cref="double.MinValue"/>).
System\Text\Json\Reader\Utf8JsonReader.TryGet.cs (1)
639/// On any framework that is not .NET Core 3.0 or higher, thrown if the JSON token value represents a number less than <see cref="double.MinValue"/> or greater