73 references to IsPositiveInfinity
mscorlib (1)
system\math.cs (1)
516
if (a != 1 && (newBase == 0 || Double.
IsPositiveInfinity
(newBase)))
PresentationCore (10)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (1)
2375
if (Double.
IsPositiveInfinity
(metrics.Width))
Core\CSharp\System\Windows\LayoutManager.cs (2)
487
if (double.
IsPositiveInfinity
(element.PreviousConstraint.Width))
490
if (double.
IsPositiveInfinity
(element.PreviousConstraint.Height))
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (1)
197
if (maxLineWidth == 0 || double.
IsPositiveInfinity
(maxLineWidth))
Core\CSharp\System\Windows\UIElement.cs (6)
688
if (double.
IsPositiveInfinity
(desiredSize.Width) || double.
IsPositiveInfinity
(desiredSize.Height))
809
if (double.
IsPositiveInfinity
(finalRect.Width)
810
|| double.
IsPositiveInfinity
(finalRect.Height)
1420
return ( (!DoubleUtil.IsNaN(v.X) && !Double.
IsPositiveInfinity
(v.X) && !Double.IsNegativeInfinity(v.X))
1421
&& (!DoubleUtil.IsNaN(v.Y) && !Double.
IsPositiveInfinity
(v.Y) && !Double.IsNegativeInfinity(v.Y)));
PresentationFramework (51)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
217
if (double.
IsPositiveInfinity
(pageSize.Width))
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
305
if (vrCur < TextDpi.ToTextDpi(double.
IsPositiveInfinity
(backgroundFormatInfo.ViewportHeight) ? 500 : backgroundFormatInfo.ViewportHeight))
src\Framework\System\Windows\Controls\DataGrid.cs (1)
210
return !(value < 0d || DoubleUtil.IsNaN(value) || Double.
IsPositiveInfinity
(value));
src\Framework\System\Windows\Controls\DataGridColumn.cs (2)
444
if (double.
IsPositiveInfinity
(transferValue) &&
459
return !(value < 0d || DoubleUtil.IsNaN(value) || Double.
IsPositiveInfinity
(value));
src\Framework\System\Windows\Controls\DefinitionBase.cs (1)
221
return (!DoubleUtil.IsNaN(v) && v >= 0.0d && !Double.
IsPositiveInfinity
(v));
src\Framework\System\Windows\Controls\Grid.cs (7)
450
bool sizeToContentU = double.
IsPositiveInfinity
(constraint.Width);
451
bool sizeToContentV = double.
IsPositiveInfinity
(constraint.Height);
1832
if (Double.
IsPositiveInfinity
(maxStar))
1894
if (!Double.
IsPositiveInfinity
(effectiveMaxSize))
2414
if (Double.
IsPositiveInfinity
(maxStar))
2472
if (!Double.
IsPositiveInfinity
(effectiveMaxSize))
3316
return (Double.
IsPositiveInfinity
(def.UserSize.Value)) ? 1.0 : 0.0;
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
268
return delta > 0.0 && !Double.
IsPositiveInfinity
(delta);
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
51
return (DoubleUtil.IsNaN(v)) || (DoubleUtil.GreaterThanOrClose(v, 0d) && !Double.
IsPositiveInfinity
(v));
src\Framework\System\Windows\Controls\Stack.cs (1)
1000
else if (Double.
IsPositiveInfinity
(offset))
src\Framework\System\Windows\Controls\ViewBox.cs (2)
390
bool isConstrainedWidth = !Double.
IsPositiveInfinity
(availableSize.Width);
391
bool isConstrainedHeight = !Double.
IsPositiveInfinity
(availableSize.Height);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (9)
4598
if (Double.
IsPositiveInfinity
(factor))
9525
if (Double.
IsPositiveInfinity
(constraint.Height))
9552
if (Double.
IsPositiveInfinity
(constraint.Width))
9570
if (!Double.
IsPositiveInfinity
(constraint.Width))
9575
if (!Double.
IsPositiveInfinity
(constraint.Height))
10377
if (Double.
IsPositiveInfinity
(constraint.Height))
10404
if (Double.
IsPositiveInfinity
(constraint.Width))
10422
if (!Double.
IsPositiveInfinity
(constraint.Width))
10427
if (!Double.
IsPositiveInfinity
(constraint.Height))
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
81
return (DoubleUtil.IsNaN(v)) || (v >= 0.0d && !Double.
IsPositiveInfinity
(v));
src\Framework\System\Windows\CornerRadius.cs (4)
217
if (Double.
IsPositiveInfinity
(_topLeft) || Double.
IsPositiveInfinity
(_topRight) || Double.
IsPositiveInfinity
(_bottomLeft) || Double.
IsPositiveInfinity
(_bottomRight))
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1573
if (!Double.
IsPositiveInfinity
(value) && (value < 0 || value > maxSize))
src\Framework\System\Windows\FrameworkElement.cs (6)
3460
return (DoubleUtil.IsNaN(v)) || (v >= 0.0d && !Double.
IsPositiveInfinity
(v));
3466
return (!DoubleUtil.IsNaN(v) && v >= 0.0d && !Double.
IsPositiveInfinity
(v));
4906
double maxWidthClip = (Double.
IsPositiveInfinity
(mm.maxWidth) ? inkSize.Width : mm.maxWidth);
4907
double maxHeightClip = (Double.
IsPositiveInfinity
(mm.maxHeight) ? inkSize.Height : mm.maxHeight);
5243
double maxWidthClip = (Double.
IsPositiveInfinity
(mm.maxWidth) ? inkSize.Width : mm.maxWidth);
5244
double maxHeightClip = (Double.
IsPositiveInfinity
(mm.maxHeight) ? inkSize.Height : mm.maxHeight);
src\Framework\System\Windows\Interop\ActiveXHost.cs (2)
232
if (Double.
IsPositiveInfinity
(swConstraint.Width))
237
if (Double.
IsPositiveInfinity
(swConstraint.Height))
src\Framework\System\Windows\Thickness.cs (4)
170
if(Double.
IsPositiveInfinity
(Left) || Double.
IsPositiveInfinity
(Right) || Double.
IsPositiveInfinity
(Top) || Double.
IsPositiveInfinity
(Bottom))
src\Framework\System\Windows\Window.cs (6)
2854
if (!Double.
IsPositiveInfinity
(maxSizeDeviceUnits.X) && (sizeDeviceUnits.Width > maxSizeDeviceUnits.X))
2860
if (!Double.
IsPositiveInfinity
(minSizeDeviceUnits.Y) && (sizeDeviceUnits.Height > maxSizeDeviceUnits.Y))
3558
if (!Double.
IsPositiveInfinity
(MaxWidth))
3580
if (!Double.
IsPositiveInfinity
(MaxHeight))
5951
if (!Double.
IsPositiveInfinity
(l) && !DoubleUtil.IsNaN(l) &&
5962
if (Double.
IsPositiveInfinity
(length) ||
PresentationFramework.Classic (4)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (4)
576
return (thickness.Left >= 0 && !double.
IsPositiveInfinity
(thickness.Left) &&
577
thickness.Right >= 0 && !double.
IsPositiveInfinity
(thickness.Right) &&
578
thickness.Top >= 0 && !double.
IsPositiveInfinity
(thickness.Top) &&
579
thickness.Bottom >= 0 && !double.
IsPositiveInfinity
(thickness.Bottom));
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2028
else if( double.
IsPositiveInfinity
(d)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1239
else if( double.
IsPositiveInfinity
(d)) {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
2077
isDefault = (double.
IsPositiveInfinity
(height));
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
2077
isDefault = (double.
IsPositiveInfinity
(height));
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1094
else if(double.
IsPositiveInfinity
(value))
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
71
if (0.5 <= dblVal && !double.
IsPositiveInfinity
(dblVal)) {
System.Xml (1)
System\Xml\XmlConvert.cs (1)
735
if (Double.
IsPositiveInfinity
(value)) return "INF";