737 references to IsNaN
mscorlib (16)
system\double.cs (8)
125if (IsNaN(m_value)) 126return (IsNaN(d) ? 0 : -1); 139if (IsNaN(m_value)) 140return (IsNaN(value) ? 0 : -1); 156return IsNaN(temp) && IsNaN(m_value); 194return IsNaN(obj) && IsNaN(m_value);
system\math.cs (7)
207if (Double.IsNaN(x)) { 210if (Double.IsNaN(y)) { 215if (Double.IsNaN(regularMod)) { 410if (Double.IsNaN(val1)) 492if (Double.IsNaN(val1)) 507if (Double.IsNaN(a)) { 510if (Double.IsNaN(newBase)) {
system\timespan.cs (1)
229if (Double.IsNaN(value))
PresentationCore (36)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (4)
651System.Diagnostics.Debug.Assert(!double.IsNaN(findex)); 662System.Diagnostics.Debug.Assert(!double.IsNaN(findex)); 678System.Diagnostics.Debug.Assert(!double.IsNaN(findex)); 690System.Diagnostics.Debug.Assert(!double.IsNaN(findex));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
914if ( Double.IsNaN(dVal) || dVal < DrawingAttributes.MinHeight || dVal > DrawingAttributes.MaxHeight) 921if (Double.IsNaN(dVal) || dVal < DrawingAttributes.MinWidth || dVal > DrawingAttributes.MaxWidth)
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (2)
905System.Diagnostics.Debug.Assert(!double.IsNaN(cutAt.BeginFIndex) && !double.IsNaN(cutAt.EndFIndex));
Core\CSharp\MS\Internal\Ink\StylusShape.cs (3)
51if (Double.IsNaN(width) || Double.IsInfinity(width) || width < DrawingAttributes.MinWidth || width > DrawingAttributes.MaxWidth) 56if (Double.IsNaN(height) || Double.IsInfinity(height) || height < DrawingAttributes.MinHeight || height > DrawingAttributes.MaxHeight) 61if (Double.IsNaN(rotation) || Double.IsInfinity(rotation))
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (2)
173if (double.IsNaN(value) || value < MinHeight || value > MaxHeight) 200if (double.IsNaN(value) || value < MinWidth || value > MaxWidth)
Core\CSharp\System\Windows\Ink\Stroke.cs (6)
1145if (Double.IsNaN(matrix.M11) || 1146Double.IsNaN(matrix.M12) || 1147Double.IsNaN(matrix.M21) || 1148Double.IsNaN(matrix.M22) || 1149Double.IsNaN(matrix.OffsetX) || 1150Double.IsNaN(matrix.OffsetY))
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
224if (Double.IsNaN(diameter) || diameter < DrawingAttributes.MinWidth || diameter > DrawingAttributes.MaxWidth)
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
79if (Double.IsNaN(diameter) || diameter < DrawingAttributes.MinWidth || diameter > DrawingAttributes.MaxWidth)
Core\CSharp\System\Windows\Input\InertiaExpansionBehavior.cs (1)
55if (Double.IsInfinity(value) || Double.IsNaN(value))
Core\CSharp\System\Windows\Input\InertiaRotationBehavior.cs (2)
55if (Double.IsInfinity(value) || Double.IsNaN(value)) 75if (Double.IsInfinity(value) || Double.IsNaN(value))
Core\CSharp\System\Windows\Input\InertiaTranslationBehavior.cs (2)
55if (Double.IsInfinity(value) || Double.IsNaN(value)) 75if (Double.IsInfinity(value) || Double.IsNaN(value))
Core\CSharp\System\Windows\Media\Animation\ClockController.cs (1)
293if (value < 0 || value > double.MaxValue || double.IsNaN(value))
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (2)
223if (newValue < 0 || newValue > 1 || double.IsNaN(newValue)) 612if (newValue <= 0 || newValue > double.MaxValue || double.IsNaN(newValue))
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
1466if (_metrics == null || double.IsNaN(_metrics.Extent)) 1732if (_metrics != null && !double.IsNaN(_metrics.Extent))
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (3)
328if (Double.IsNaN(value)) 385if (Double.IsNaN(value)) 1174if (Double.IsNaN(value))
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (2)
419Debug.Assert(!double.IsInfinity(pz / pw) && !double.IsNaN(pz / pw), 505Debug.Assert(!double.IsInfinity(pz / pw) && !double.IsNaN(pz / pw),
PresentationFramework (118)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
227if (!double.IsNaN(fp.Segments[i].Start.X)) 236if (!double.IsNaN(fp.Segments[i].End.X)) 337if (double.IsNaN(start.X) || double.IsNaN(start.Y)) 356if (double.IsNaN(end.X) || double.IsNaN(end.Y))
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
1038if ((double.IsNaN(anchor.X)) || (double.IsNaN(anchor.Y))) 1592if (!(double.IsNaN(anchor.X)) && !(double.IsNaN(anchor.Y)) && PositionTransform != null)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (4)
619if (Double.IsNaN(offset)) 662if (Double.IsNaN(offset)) 2187if (Double.IsNaN(offset)) 2207if (Double.IsNaN(offset))
src\Framework\MS\Internal\Helper.cs (1)
578return !(Double.IsInfinity(value) || Double.IsNaN(value));
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (8)
452if ( !double.IsNaN(left) ) 456else if ( !double.IsNaN(right) ) 461if ( !double.IsNaN(top) ) 465else if ( !double.IsNaN(bottom) ) 472if ( !double.IsNaN(left) ) 476else if ( !double.IsNaN(right) ) 488if ( !double.IsNaN(top) ) 492else if ( !double.IsNaN(bottom) )
src\Framework\MS\Internal\PtsHost\ColumnPropertiesGroup.cs (2)
46internal double ColumnWidth { get { Debug.Assert(!double.IsNaN(_columnWidth)); return _columnWidth; } } 67Invariant.Assert(!double.IsNaN(_columnGap));
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (3)
279if(fsbbox.fsrc.du < subpageWidth && Double.IsNaN(specifiedWidth) && HorizontalAlignment != HorizontalAlignment.Stretch) 462if(fsbbox.fsrc.du < subpageWidth && Double.IsNaN(specifiedWidth) && HorizontalAlignment != HorizontalAlignment.Stretch) 673if (!Double.IsNaN(specifiedWidth))
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (16)
141Double.IsNaN(mbp.Margin.Left) ? defaultMargin.Left : mbp.Margin.Left, 142Double.IsNaN(mbp.Margin.Top) ? defaultMargin.Top : mbp.Margin.Top, 143Double.IsNaN(mbp.Margin.Right) ? defaultMargin.Right : mbp.Margin.Right, 144Double.IsNaN(mbp.Margin.Bottom) ? defaultMargin.Bottom : mbp.Margin.Bottom); 166Double.IsNaN(mbp.Padding.Left) ? defaultPadding.Left : mbp.Padding.Left, 167Double.IsNaN(mbp.Padding.Top) ? defaultPadding.Top : mbp.Padding.Top, 168Double.IsNaN(mbp.Padding.Right) ? defaultPadding.Right : mbp.Padding.Right, 169Double.IsNaN(mbp.Padding.Bottom) ? defaultPadding.Bottom : mbp.Padding.Bottom); 340Double.IsNaN(_padding.Left) || 341Double.IsNaN(_padding.Right) || 342Double.IsNaN(_padding.Top) || 343Double.IsNaN(_padding.Bottom)); 355Double.IsNaN(_margin.Left) || 356Double.IsNaN(_margin.Right) || 357Double.IsNaN(_margin.Top) || 358Double.IsNaN(_margin.Bottom));
src\Framework\MS\Internal\Text\LineProperties.cs (1)
62if (LineStackingStrategy == LineStackingStrategy.BlockLineHeight && !Double.IsNaN(_lineHeight))
src\Framework\MS\Internal\Text\MarkerProperties.cs (1)
38if (Double.IsNaN(_offset))
src\Framework\System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (2)
51if (double.IsInfinity(x) || double.IsNaN(x)) 54if (double.IsInfinity(y) || double.IsNaN(y))
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8551else if (!Double.IsNaN(RowHeaderWidth))
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2418if ((double.IsNaN(checkValue)) ||
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1837return (!Double.IsNaN(value) && !Double.IsInfinity(value) && DoubleUtil.GreaterThan(value, 0d));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1728return (!Double.IsNaN(value) && !Double.IsInfinity(value) && DoubleUtil.GreaterThan(value, 0d));
src\Framework\System\Windows\Controls\GridViewColumn.cs (4)
46_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 408c.State = Double.IsNaN(newWidth) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth; 426if (Double.IsNaN(value) || Double.IsInfinity(value) || value < 0.0) 533_state = Double.IsNaN(Width) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
715if (Double.IsNaN(Column.Width))
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
2156if (!IsTransparent || double.IsNaN(horizontalAxis.Y) || Math.Abs(horizontalAxis.Y) < Tolerance) 2191if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance) 2257if (!IsTransparent || double.IsNaN(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance) 2279if (!IsTransparent || double.IsNaN(horizontalAxis.X) || Math.Abs(horizontalAxis.Y) < Tolerance)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
308if (Double.IsNaN(offset)) 325if (Double.IsNaN(offset))
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
65_wrapWidth = double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth;
src\Framework\System\Windows\Controls\Primitives\Track.cs (4)
336return d >= 0.0 || double.IsNaN(d); 441if (!double.IsNaN(ViewportSize)) 460else if (componentLength > trackLength || double.IsNaN(componentLength)) 488if (double.IsNaN(viewportSize))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1457return (!Double.IsNaN(value) && !Double.IsInfinity(value) && DoubleUtil.GreaterThan(value, 0d));
src\Framework\System\Windows\Documents\Block.cs (9)
515if (Double.IsNaN(lineHeight)) 560if (Double.IsNaN(t.Left) || Double.IsNaN(t.Right) || Double.IsNaN(t.Top) || Double.IsNaN(t.Bottom)) 565if (!Double.IsNaN(t.Left) && (t.Left < 0 || t.Left > maxThickness)) 569if (!Double.IsNaN(t.Right) && (t.Right < 0 || t.Right > maxThickness)) 573if (!Double.IsNaN(t.Top) && (t.Top < 0 || t.Top > maxThickness)) 577if (!Double.IsNaN(t.Bottom) && (t.Bottom < 0 || t.Bottom > maxThickness))
src\Framework\System\windows\Documents\CaretElement.cs (4)
327if (positionChanged || !double.IsNaN(scrollToOriginPosition)) 346if (!double.IsNaN(scrollToOriginPosition) && scrollToOriginPosition > 0) 375if (!double.IsNaN(scrollToOriginPosition)) 1146if (double.IsNaN(value))
src\Framework\System\Windows\Documents\Figure.cs (1)
302if (Double.IsNaN(offset))
src\Framework\System\Windows\Documents\Floater.cs (1)
134if (Double.IsNaN(width))
src\Framework\System\Windows\Documents\FlowDocument.cs (5)
1539if (Double.IsNaN(value)) 1554if (Double.IsNaN(value)) 1569if (Double.IsNaN(value)) 1590if (Double.IsNaN(ruleWidth) || ruleWidth < 0 || ruleWidth > maxRuleWidth) 1601if (Double.IsNaN(gap))
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
2023if (Double.IsNaN(value))
src\Framework\System\Windows\Documents\List.cs (1)
340if (Double.IsNaN(value))
src\Framework\System\Windows\Documents\Paragraph.cs (6)
243return (Double.IsNaN(margin.Left) && Double.IsNaN(margin.Right) && Double.IsNaN(margin.Top) && Double.IsNaN(margin.Bottom)); 248return (Double.IsNaN(lineHeight)); 312if (Double.IsNaN(indent))
src\Framework\System\Windows\Documents\Table.cs (1)
396if (Double.IsNaN(spacing))
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2256if (Double.IsNaN(This._suggestedX))
src\Framework\System\Windows\Documents\TextElement.cs (1)
1659if (Double.IsNaN(fontSize))
src\Framework\System\Windows\Documents\TextRange.cs (2)
1045if (double.IsNaN(image.Height)) 1059if (double.IsNaN(image.Width))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
1138if (double.IsNaN(newValue)) 1143if (double.IsNaN(currentValue))
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
92if ((double.IsNaN(percent)) || (double.IsInfinity(percent)))
src\Framework\System\Windows\FrameworkElement.cs (1)
4289if( !Double.IsNaN(expandFactor)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2955if (double.IsNaN(score))
src\Framework\System\Windows\Shell\TaskbarItemInfo.cs (1)
97if (double.IsNaN(progressValue))
src\Framework\System\Windows\Standard\DoubleUtil.cs (1)
118return !double.IsNaN(value) && !double.IsInfinity(value);
src\Framework\System\Windows\Standard\Utilities.cs (1)
333if (double.IsNaN(d) || double.IsInfinity(d) || d < 0)
src\Framework\System\Windows\Window.cs (8)
6365if (double.IsNaN(top)) 6405Invariant.Assert(!Double.IsNaN(_actualLeft), "_actualLeft cannot be NaN after show"); 6406UpdateHwndPositionOnTopLeftChange(Double.IsNaN(Left) ? _actualLeft : Left, newTop); 6440if (double.IsNaN(left)) 6500Invariant.Assert(!Double.IsNaN(_actualTop), "_actualTop cannot be NaN after show"); 6501UpdateHwndPositionOnTopLeftChange(newLeft, Double.IsNaN(Top) ? _actualTop : Top); 7489if (!double.IsNaN(_prePanningLocation.X) && !double.IsNaN(_prePanningLocation.Y) && (_swh != null))
PresentationFramework.Aero (10)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (2)
58if (width <= 0.0 || Double.IsInfinity(width) || Double.IsNaN(width) || 59height <= 0.0 || Double.IsInfinity(height) || Double.IsNaN(height) )
Microsoft\Windows\Themes\ScrollChrome.cs (4)
741if (double.IsNaN(widthScale) || double.IsInfinity(widthScale) || double.IsNaN(heightScale) || double.IsInfinity(heightScale) || 742double.IsNaN(x) || double.IsInfinity(x) || double.IsNaN(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
PresentationFramework.Classic (6)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
72if (width <= 0.0 || Double.IsInfinity(width) || Double.IsNaN(width) || 73height <= 0.0 || Double.IsInfinity(height) || Double.IsNaN(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
600if (double.IsNaN(widthScale) || double.IsInfinity(widthScale) || double.IsNaN(heightScale) || double.IsInfinity(heightScale) || 601double.IsNaN(x) || double.IsInfinity(x) || double.IsNaN(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
72if (width <= 0.0 || Double.IsInfinity(width) || Double.IsNaN(width) || 73height <= 0.0 || Double.IsInfinity(height) || Double.IsNaN(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
PresentationFramework.Royale (10)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
560if (double.IsNaN(widthScale) || double.IsInfinity(widthScale) || double.IsNaN(heightScale) || double.IsInfinity(heightScale) || 561double.IsNaN(x) || double.IsInfinity(x) || double.IsNaN(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
72if (width <= 0.0 || Double.IsInfinity(width) || Double.IsNaN(width) || 73height <= 0.0 || Double.IsInfinity(height) || Double.IsNaN(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78double.IsNaN(cr.TopLeft) || double.IsNaN(cr.TopRight) || double.IsNaN(cr.BottomLeft) || double.IsNaN(cr.BottomRight) ||
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2022if( double.IsNaN(d)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1233if( double.IsNaN(d)) {
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\MaxValueConverter.cs (1)
22if (!double.IsNaN(val) && val > maxValue)
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
182Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.IsNaN(x) || double.Epsilon > x);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (4)
465if ((double.IsNaN(MinWidth) || double.IsInfinity(MinWidth) || bottomRight.X - absolutePosition.X >= MinWidth) && 466(double.IsNaN(MaxWidth) || double.IsInfinity(MaxWidth) || bottomRight.X - absolutePosition.X <= MaxWidth)) 484if ((double.IsNaN(MinHeight) || double.IsInfinity(MinHeight) || bottomRight.Y - absolutePosition.Y >= MinHeight) && 485(double.IsNaN(MaxHeight) || double.IsInfinity(MaxHeight) || bottomRight.Y - absolutePosition.Y <= MaxHeight))
System.Core (13)
System\Linq\Enumerable.cs (5)
1628if (x < value || System.Double.IsNaN(x)) value = x; 1644if (value == null || x < value || System.Double.IsNaN((double)x)) value = x; 1805if (x > value || System.Double.IsNaN(value)) value = x; 1821if (value == null || x > value || System.Double.IsNaN((double)value)) value = x; 1832if (x > value || System.Double.IsNaN(value)) value = x;
System\Linq\Parallel\QueryOperators\Inlined\DoubleMinMaxAggregationOperator.cs (4)
76if (current < best || double.IsNaN(current)) 87if (current > best || double.IsNaN(best)) 155if (elem < currentElement || double.IsNaN(elem)) 169if (elem > currentElement || double.IsNaN(currentElement))
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleMinMaxAggregationOperator.cs (4)
74if (best == null || current < best || double.IsNaN(current.GetValueOrDefault())) 86if (best == null || current > best || double.IsNaN(best.GetValueOrDefault())) 154if (currentElement == null || elem < currentElement || double.IsNaN(elem.GetValueOrDefault())) 169if (currentElement == null || elem > currentElement || double.IsNaN(currentElement.GetValueOrDefault()))
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
182Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.IsNaN(x) || double.Epsilon > x);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
964if (!double.IsNaN(d)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1715if (Double.IsInfinity(v) || Double.IsNaN(v)) {
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (1)
64if (Double.IsInfinity(value) || Double.IsNaN(value))
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1090if (double.IsNaN(value))
System.Data.Services (3)
System\Data\Services\Parsing\WebConvert.cs (1)
179if (!Double.IsInfinity(d) && !Double.IsNaN(d))
System\Data\Services\Serializers\JsonWriter.cs (2)
183if (double.IsInfinity(value) || double.IsNaN(value)) 221if (double.IsInfinity(value) || double.IsNaN(value))
System.Data.SqlXml (20)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (2)
4162if (Double.IsNaN((double) litLeft) || Double.IsNaN((double) litRight))
System\Xml\Xsl\Runtime\XmlAggregates.cs (2)
208if (this.cnt == 0 || value < this.result || double.IsNaN(value)) 215if (this.cnt == 0 || value > this.result || double.IsNaN(value))
System\Xml\Xsl\Runtime\XmlSortKey.cs (1)
273if (Double.IsNaN(value)) {
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
66Debug.Assert(value.Length < startIndex || Double.IsNaN(startIndex)); 87Debug.Assert(endIndex <= startIndex || Double.IsNaN(endIndex));
System\Xml\Xsl\XPathConvert.cs (2)
2295Debug.Assert(Double.IsNaN(dblLowPrec) || dblLowPrec == dbl); 2537if (Double.IsNaN(dbl)) {
System\Xml\Xsl\Xslt\MatcherBuilder.cs (3)
123this.priority = double.IsNaN(template.Priority) ? XPathPatternBuilder.GetPriority(filter) : template.Priority; 217Debug.Assert(!double.IsNaN(x.priority)); 218Debug.Assert(!double.IsNaN(y.priority));
System\Xml\Xsl\Xslt\XslAst.cs (1)
233if (!double.IsNaN(Priority)) {
System\Xml\Xsl\Xslt\XsltInput.cs (1)
565if (double.IsNaN(version)) {
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
949if (double.IsNaN(priority) && !input.ForwardCompatibility) {
System\Xml\Xsl\XsltOld\TemplateAction.cs (3)
93Debug.Assert(Double.IsNaN(this.priority)); 95if (double.IsNaN(this.priority) && ! compiler.ForwardCompatibility) { 118if (!Double.IsNaN(this.priority) || this.matchKey == Compiler.InvalidQueryKey) {
System\Xml\Xsl\XsltOld\Templatemanager.cs (2)
29Debug.Assert(! Double.IsNaN(tx.Priority)); 30Debug.Assert(! Double.IsNaN(ty.Priority));
System.Numerics (1)
System\Numerics\BigInteger.cs (1)
490if (Double.IsNaN(value))
System.Runtime.Serialization (1)
System\Xml\ValueHandle.cs (1)
331if ((value >= Single.MinValue && value <= Single.MaxValue) || double.IsInfinity(value) || double.IsNaN(value))
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryModel.cs (1)
547return (dblVal != 0 && !double.IsNaN(dblVal));
System.Web.DataVisualization (236)
Common\Annotation\AnnotationBase.cs (46)
2177 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY)) 2318 if(!double.IsNaN(position.Width)) 2322 if(!double.IsNaN(position.Height)) 2361 if( double.IsNaN(anchorX) || double.IsNaN(anchorY)) 2364 if( double.IsNaN(anchorX) ) 2371 if( double.IsNaN(anchorY) ) 2393 if(!double.IsNaN(currentPositionRel.X) && !double.IsNaN(currentPositionRel.X)) 2480 if( double.IsNaN(relativeWidth) ) 2489 if( double.IsNaN(relativeHeight) ) 2507 if(double.IsNaN(relativeWidth)) 2512 if(double.IsNaN(relativeHeight)) 2527 if( double.IsNaN(relativeY) && !double.IsNaN(anchorY) ) 2548 if(relativeHeight != 0f && !double.IsNaN(relativeHeight)) 2566 if(relativeHeight != 0f && !double.IsNaN(relativeHeight)) 2587 if( double.IsNaN(relativeX) && !double.IsNaN(anchorX) ) 2608 if(relativeWidth != 0f && !double.IsNaN(relativeWidth)) 2625 if(relativeWidth != 0f && !double.IsNaN(relativeWidth)) 2653 if( double.IsNaN(relativeX) ) 2658 if( double.IsNaN(relativeY) ) 2760 if(double.IsNaN(relativeX)) 2765 if(double.IsNaN(relativeY)) 2770 if(double.IsNaN(relativeWidth)) 2775 if(double.IsNaN(relativeHeight)) 2797 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY) && 2798 double.IsNaN(this.X) && double.IsNaN(this.Y)) 2968 if(!double.IsNaN(newAnchorX)) 2977 if(!double.IsNaN(newAnchorX)) 3010 if(!double.IsNaN(newAnchorY)) 3020 if(!double.IsNaN(newAnchorY)) 3220 if( double.IsNaN(this.Width) ) 3224 if( double.IsNaN(this.Height) ) 3233 if( double.IsNaN(this.X) ) 3237 if( double.IsNaN(this.Y) ) 3242 else if(double.IsNaN(this.AnchorX) || double.IsNaN(this.AnchorY) ) 3484 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY)) 4037 if( !double.IsNaN(anchorX) && !double.IsNaN(anchorY) )
Common\ChartTypes\BarChart.cs (5)
439 if(!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1165if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1263 if( Double.IsNaN( previousPoint ) ) 1266 if( Double.IsNaN( nextPoint ) ) 1277 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\BoxPlotChart.cs (7)
501 if(!double.IsNaN(point.YValues[4]) && showAverage) 537 if(!double.IsNaN(point.YValues[5]) && showMedian) 630 if(!double.IsNaN(point.YValues[valueIndex])) 719 if(!double.IsNaN(point.YValues[valueIndex])) 1281 if(!double.IsNaN(point.YValues[4]) && showAverage) 1317 if(!double.IsNaN(point.YValues[5]) && showMedian) 1507 if(!double.IsNaN(point.YValues[valueIndex]))
Common\ChartTypes\ColumnChart.cs (1)
353if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet)
Common\ChartTypes\ErrorBarChart.cs (1)
1687if (double.IsNaN(param))
Common\ChartTypes\KagiChart.cs (1)
369 if(double.IsNaN(prevClose))
Common\ChartTypes\LineChart.cs (13)
1259 if(!double.IsNaN(prevValue) && dp.XValue != prevValue) 1655 if( double.IsNaN(firstPoint.xPosition) || 1656 double.IsNaN(firstPoint.yPosition) || 1657 double.IsNaN(secondPoint.xPosition) || 1658 double.IsNaN(secondPoint.yPosition) ) 1805 if(double.IsNaN(intersectionPoint.xPosition) || 1807 double.IsNaN(intersectionPoint.yPosition) || 1836 if(double.IsNaN(intersectionPoint2.xPosition) || 1838 double.IsNaN(intersectionPoint2.yPosition) || 2132 if(double.IsNaN(intersectionPoint.xPosition) || 2134 double.IsNaN(intersectionPoint.yPosition) || 2169 if(double.IsNaN(intersectionPoint2.xPosition) || 2171 double.IsNaN(intersectionPoint2.yPosition) ||
Common\ChartTypes\PointAndFigureChart.cs (1)
571 if(double.IsNaN(prevHigh))
Common\ChartTypes\PointChart.cs (4)
1502if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1597 if( Double.IsNaN( previousPoint ) ) 1600 if( Double.IsNaN( nextPoint ) ) 1611 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\PolarChart.cs (1)
177 if( !double.IsNaN(area.AxisX.Crossing) )
Common\ChartTypes\RadarChart.cs (3)
1493 if( Double.IsNaN( previousPoint ) ) 1496 if( Double.IsNaN( nextPoint ) ) 1507 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\RangeChart.cs (2)
1008 if( double.IsNaN(intersectionCoordinates.X) || 1009 double.IsNaN(intersectionCoordinates.Y) )
Common\ChartTypes\RenkoChart.cs (2)
434 if(double.IsNaN(prevLow) || double.IsNaN(prevHigh))
Common\ChartTypes\StackedAreaChart.cs (15)
223 if(!double.IsNaN(prevPosY)) 230 if(!double.IsNaN(prevNegY)) 254if (double.IsNaN(yValue) && _totalPerPoint[pointIndex] == 0) 259if(!double.IsNaN(yValue)) 266 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 270 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 1315 if(double.IsNaN(this.prevPosY)) 1327 if(double.IsNaN(this.prevNegY)) 1344 if(double.IsNaN(this.prevPosY)) 1356 if(double.IsNaN(this.prevNegY)) 1600 if(!double.IsNaN(prevPosY)) 1607 if(!double.IsNaN(prevNegY)) 1634 if(!double.IsNaN(yValue)) 1636 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1640 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\StackedBarChart.cs (11)
212 if(!double.IsNaN(prevPosY)) 219 if(!double.IsNaN(prevNegY)) 247 if(double.IsNaN(yValue)) 268 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 272 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 707if (!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1265 if(!double.IsNaN(prevPosY)) 1272 if(!double.IsNaN(prevNegY)) 1302 if(double.IsNaN(yValue)) 1309 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1313 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\StackedColumnChart.cs (11)
207 if(!double.IsNaN(prevPosY)) 214 if(!double.IsNaN(prevNegY)) 242 if(double.IsNaN(yValue)) 263 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 267 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 716if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1308 if(!double.IsNaN(prevPosY)) 1315 if(!double.IsNaN(prevNegY)) 1345 if(double.IsNaN(yValue)) 1352 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1356 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\ThreeLineBreakChart.cs (2)
352 if(double.IsNaN(prevLow) || double.IsNaN(prevHigh))
Common\Converters\AxisConverters.cs (3)
282 if(Double.IsNaN(doubleValue)) 494 if(Double.IsNaN(doubleValue)) 634 if(Double.IsNaN(doubleValue))
Common\DataManager\DataManager.cs (14)
327 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 355 if(!double.IsNaN(seriesPoint.YValues[0])) 390 if(!double.IsNaN(seriesPoint.XValue)) 425 if(!double.IsNaN(seriesPoint.XValue)) 461 if(!double.IsNaN(y)) 531 if(!double.IsNaN(yValue)) 563 if(!double.IsNaN(y)) 596 if(!double.IsNaN(y)) 675if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 745 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 773 if(!double.IsNaN(seriesPoint.YValues[0])) 809 if(!double.IsNaN(y)) 860 if( !chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 911if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex]))
Common\DataManager\DataPoint.cs (3)
957 if(val is double && double.IsNaN((double)val)) 1939 if( !double.IsNaN(doubleObj) ) 2156 if(double.IsNaN(d))
Common\DataManager\DataSeries.cs (2)
1055 if(!double.IsNaN(_totalYvalue)) 1714 if(double.IsNaN(point.YValues[yValueIndex]))
Common\General\Axis.cs (11)
1327if (double.IsNaN(value)) 1370if (double.IsNaN(value)) 4166 (this.tempLabelInterval <= 0.0 || (double.IsNaN(this.tempLabelInterval) && this.Interval <= 0.0)) ) 4175if (Double.IsNaN(this.minimum) || Double.IsNaN(this.maximum)) 4532 if(!double.IsNaN(minInterval) && newInterval < minInterval) 6355double.IsNaN(axisOpposite.maximum) || 6356double.IsNaN(axisOpposite.minimum) || 6358double.IsNaN(maximum) || 6359double.IsNaN(minimum)) 6375if (Double.IsNaN(axisOpposite.crossing) || ignoreCrossing)
Common\General\AxisScale.cs (25)
445 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 451 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 457 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 477 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 483 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 489 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 505 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 512 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 519 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 549if (_isLogarithmic && logarithmicConvertedToLinear && !Double.IsNaN(maximum)) 557 if( Double.IsNaN(value) ) 604if (_isLogarithmic && logarithmicConvertedToLinear && !Double.IsNaN(maximum)) 612 if( Double.IsNaN(value) ) 1174 this.labelStyle.intervalOffset = Double.IsNaN(this.labelStyle.intervalOffset) ? offset : this.labelStyle.intervalOffset + offset; 1175 this.majorGrid.intervalOffset = Double.IsNaN(this.majorGrid.intervalOffset) ? offset : this.majorGrid.intervalOffset + offset; 1176 this.majorTickMark.intervalOffset = Double.IsNaN(this.majorTickMark.intervalOffset) ? offset : this.majorTickMark.intervalOffset + offset; 1177this.minorGrid.intervalOffset = Double.IsNaN(this.minorGrid.intervalOffset) ? offset : this.minorGrid.intervalOffset + offset; 1178this.minorTickMark.intervalOffset = Double.IsNaN(this.minorTickMark.intervalOffset) ? offset : this.minorTickMark.intervalOffset + offset; 1671 if( Double.IsNaN(crossing) ) 1920 if(!Double.IsNaN(this.ScaleView.Size)) 1923 if(Double.IsNaN(this.ScaleView.Position)) 1930 if( !Double.IsNaN(_scaleView.Position) && !Double.IsNaN(_scaleView.Size) ) 2175 if( !double.IsNaN( this.interval3DCorrection ) && 2269 if( !double.IsNaN( this.interval3DCorrection ) &&
Common\General\AxisScaleBreaks.cs (4)
862 !double.IsNaN(segmentMinValue[index]) && 863 !double.IsNaN(segmentMaxValue[index])) 869 if(double.IsNaN(segmentFrom)) 881 if(!double.IsNaN(segmentFrom) &&
Common\General\AxisScaleSegments.cs (1)
251 if(double.IsNaN(value))
Common\General\AxisScrollZoom.cs (8)
372!double.IsNaN(this.Size) && 374!double.IsNaN(this.Position)); 593if (!Double.IsNaN(this.Size)) 596if (Double.IsNaN(this.Position)) 631if (!Double.IsNaN(this.Size)) 634if (Double.IsNaN(this.Position)) 1510 if(Double.IsNaN(doubleValue)) 1596 if(Double.IsNaN((double)value))
Common\General\ChartArea3D.cs (1)
1874if (point.IsEmpty && Double.IsNaN(yValue))
Common\General\ChartAreaAxes.cs (9)
661 if( !Double.IsNaN(axis.ScaleView.Position) && 662 !Double.IsNaN(axis.ScaleView.Size) && 684 ( (axis.AutoMaximum || double.IsNaN( axis.Maximum )) && (autoMaximum == Double.MaxValue || autoMaximum == Double.MinValue)) || 685 ( (axis.AutoMinimum || double.IsNaN( axis.Minimum )) && (autoMinimum == Double.MaxValue || autoMinimum == Double.MinValue )) ) 1048 !double.IsNaN(axis.minimumFromData) && 1049 !double.IsNaN(axis.maximumFromData) && 1345 if( area.Area3DStyle.Enable3D && !double.IsNaN(axis.interval3DCorrection) ) 1764 if( !double.IsNaN(intervalData) && _intervalSeriesList == seriesNames) 1773 if( !double.IsNaN(intervalLogData) && _intervalSeriesList == seriesNames)
Common\General\ChartGraphics.cs (1)
5690 if(relativePosition < 0 || relativePosition > 1 || double.IsNaN(relativePosition))
Common\General\DataManipulator.cs (8)
607 bool fromIsNaN = double.IsNaN(fromX); 608 bool toIsNaN = double.IsNaN(toX); 615 if(double.IsNaN(toX)) 626 if(double.IsNaN(fromX)) 675 if(double.IsNaN(fromXValue) && currentPointValue < nonAdjustedFromX || 676 !double.IsNaN(fromXValue) && currentPointValue < fromXValue) 1023if (Double.IsNaN(point.XValue)) 1042if (Double.IsNaN(point.YValues[yIndex]))
Common\General\FormulaData.cs (4)
548if (Double.IsNaN(outputValues[seriesIndex + 1][pointIndex])) 562if (Double.IsNaN(outputValues[seriesIndex + 1][pointIndex])) 924if (Double.IsNaN(input[seriesIndex][pointIndex])) 953if (!double.IsNaN(input[1][pointIndex]))
Common\General\GridTickMarks.cs (9)
159 if( !this.majorGridTick && ( this.interval == 0 || double.IsNaN(this.interval) ) ) 229if (GetIntervalOffset() != 0 && !double.IsNaN(GetIntervalOffset()) && axisSeries == null) 1280 if( !this.majorGridTick && ( this.interval == 0 || double.IsNaN(this.interval) ) ) 1321if (GetIntervalOffset() != 0 && !double.IsNaN(GetIntervalOffset()) && axisSeries == null) 1669return !double.IsNaN(intervalOffset); 1681 if(this.majorGridTick && double.IsNaN(intervalOffset) && this._axis != null) 1771if (!this.majorGridTick && value != 0.0 && !Double.IsNaN(value)) 1823return !double.IsNaN(interval); 1834 if(this.majorGridTick && double.IsNaN(interval) && this._axis != null)
Common\General\Label.cs (7)
265 !double.IsNaN(this.Axis.Minimum) && 266 !double.IsNaN(this.Axis.Maximum)) 1176if (!double.IsNaN(this._axis.ChartArea.AxisX.Crossing)) 1373if (Double.IsNaN(_axis.ViewMinimum) || Double.IsNaN(_axis.ViewMaximum)) 2588 if(double.IsNaN(intervalOffset) && this._axis != null) 2675 if(double.IsNaN(interval) && this._axis != null)
System.Windows.Forms.DataVisualization (236)
Common\Annotation\AnnotationBase.cs (46)
2177 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY)) 2318 if(!double.IsNaN(position.Width)) 2322 if(!double.IsNaN(position.Height)) 2361 if( double.IsNaN(anchorX) || double.IsNaN(anchorY)) 2364 if( double.IsNaN(anchorX) ) 2371 if( double.IsNaN(anchorY) ) 2393 if(!double.IsNaN(currentPositionRel.X) && !double.IsNaN(currentPositionRel.X)) 2480 if( double.IsNaN(relativeWidth) ) 2489 if( double.IsNaN(relativeHeight) ) 2507 if(double.IsNaN(relativeWidth)) 2512 if(double.IsNaN(relativeHeight)) 2527 if( double.IsNaN(relativeY) && !double.IsNaN(anchorY) ) 2548 if(relativeHeight != 0f && !double.IsNaN(relativeHeight)) 2566 if(relativeHeight != 0f && !double.IsNaN(relativeHeight)) 2587 if( double.IsNaN(relativeX) && !double.IsNaN(anchorX) ) 2608 if(relativeWidth != 0f && !double.IsNaN(relativeWidth)) 2625 if(relativeWidth != 0f && !double.IsNaN(relativeWidth)) 2653 if( double.IsNaN(relativeX) ) 2658 if( double.IsNaN(relativeY) ) 2760 if(double.IsNaN(relativeX)) 2765 if(double.IsNaN(relativeY)) 2770 if(double.IsNaN(relativeWidth)) 2775 if(double.IsNaN(relativeHeight)) 2797 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY) && 2798 double.IsNaN(this.X) && double.IsNaN(this.Y)) 2968 if(!double.IsNaN(newAnchorX)) 2977 if(!double.IsNaN(newAnchorX)) 3010 if(!double.IsNaN(newAnchorY)) 3020 if(!double.IsNaN(newAnchorY)) 3220 if( double.IsNaN(this.Width) ) 3224 if( double.IsNaN(this.Height) ) 3233 if( double.IsNaN(this.X) ) 3237 if( double.IsNaN(this.Y) ) 3242 else if(double.IsNaN(this.AnchorX) || double.IsNaN(this.AnchorY) ) 3484 if(!double.IsNaN(anchorX) && !double.IsNaN(anchorY)) 4037 if( !double.IsNaN(anchorX) && !double.IsNaN(anchorY) )
Common\ChartTypes\BarChart.cs (5)
439 if(!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1165if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1263 if( Double.IsNaN( previousPoint ) ) 1266 if( Double.IsNaN( nextPoint ) ) 1277 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\BoxPlotChart.cs (7)
501 if(!double.IsNaN(point.YValues[4]) && showAverage) 537 if(!double.IsNaN(point.YValues[5]) && showMedian) 630 if(!double.IsNaN(point.YValues[valueIndex])) 719 if(!double.IsNaN(point.YValues[valueIndex])) 1281 if(!double.IsNaN(point.YValues[4]) && showAverage) 1317 if(!double.IsNaN(point.YValues[5]) && showMedian) 1507 if(!double.IsNaN(point.YValues[valueIndex]))
Common\ChartTypes\ColumnChart.cs (1)
353if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet)
Common\ChartTypes\ErrorBarChart.cs (1)
1687if (double.IsNaN(param))
Common\ChartTypes\KagiChart.cs (1)
369 if(double.IsNaN(prevClose))
Common\ChartTypes\LineChart.cs (13)
1259 if(!double.IsNaN(prevValue) && dp.XValue != prevValue) 1655 if( double.IsNaN(firstPoint.xPosition) || 1656 double.IsNaN(firstPoint.yPosition) || 1657 double.IsNaN(secondPoint.xPosition) || 1658 double.IsNaN(secondPoint.yPosition) ) 1805 if(double.IsNaN(intersectionPoint.xPosition) || 1807 double.IsNaN(intersectionPoint.yPosition) || 1836 if(double.IsNaN(intersectionPoint2.xPosition) || 1838 double.IsNaN(intersectionPoint2.yPosition) || 2132 if(double.IsNaN(intersectionPoint.xPosition) || 2134 double.IsNaN(intersectionPoint.yPosition) || 2169 if(double.IsNaN(intersectionPoint2.xPosition) || 2171 double.IsNaN(intersectionPoint2.yPosition) ||
Common\ChartTypes\PointAndFigureChart.cs (1)
571 if(double.IsNaN(prevHigh))
Common\ChartTypes\PointChart.cs (4)
1502if (point.IsEmpty || double.IsNaN(point.YValues[yValueIndex])) 1597 if( Double.IsNaN( previousPoint ) ) 1600 if( Double.IsNaN( nextPoint ) ) 1611 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\PolarChart.cs (1)
177 if( !double.IsNaN(area.AxisX.Crossing) )
Common\ChartTypes\RadarChart.cs (3)
1493 if( Double.IsNaN( previousPoint ) ) 1496 if( Double.IsNaN( nextPoint ) ) 1507 if( Double.IsNaN( nextPoint ) )
Common\ChartTypes\RangeChart.cs (2)
1008 if( double.IsNaN(intersectionCoordinates.X) || 1009 double.IsNaN(intersectionCoordinates.Y) )
Common\ChartTypes\RenkoChart.cs (2)
434 if(double.IsNaN(prevLow) || double.IsNaN(prevHigh))
Common\ChartTypes\StackedAreaChart.cs (15)
223 if(!double.IsNaN(prevPosY)) 230 if(!double.IsNaN(prevNegY)) 254if (double.IsNaN(yValue) && _totalPerPoint[pointIndex] == 0) 259if(!double.IsNaN(yValue)) 266 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 270 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 1315 if(double.IsNaN(this.prevPosY)) 1327 if(double.IsNaN(this.prevNegY)) 1344 if(double.IsNaN(this.prevPosY)) 1356 if(double.IsNaN(this.prevNegY)) 1600 if(!double.IsNaN(prevPosY)) 1607 if(!double.IsNaN(prevNegY)) 1634 if(!double.IsNaN(yValue)) 1636 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1640 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\StackedBarChart.cs (11)
212 if(!double.IsNaN(prevPosY)) 219 if(!double.IsNaN(prevNegY)) 247 if(double.IsNaN(yValue)) 268 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 272 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 707if (!double.IsNaN(vAxis.majorGrid.GetInterval()) && vAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1265 if(!double.IsNaN(prevPosY)) 1272 if(!double.IsNaN(prevNegY)) 1302 if(double.IsNaN(yValue)) 1309 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1313 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\StackedColumnChart.cs (11)
207 if(!double.IsNaN(prevPosY)) 214 if(!double.IsNaN(prevNegY)) 242 if(double.IsNaN(yValue)) 263 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 267 if(yValue < 0.0 && !double.IsNaN(prevNegY)) 716if (!double.IsNaN(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet) 1308 if(!double.IsNaN(prevPosY)) 1315 if(!double.IsNaN(prevNegY)) 1345 if(double.IsNaN(yValue)) 1352 if(yValue >= 0.0 && !double.IsNaN(prevPosY)) 1356 if(yValue < 0.0 && !double.IsNaN(prevNegY))
Common\ChartTypes\ThreeLineBreakChart.cs (2)
352 if(double.IsNaN(prevLow) || double.IsNaN(prevHigh))
Common\Converters\AxisConverters.cs (3)
282 if(Double.IsNaN(doubleValue)) 494 if(Double.IsNaN(doubleValue)) 634 if(Double.IsNaN(doubleValue))
Common\DataManager\DataManager.cs (14)
327 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 355 if(!double.IsNaN(seriesPoint.YValues[0])) 390 if(!double.IsNaN(seriesPoint.XValue)) 425 if(!double.IsNaN(seriesPoint.XValue)) 461 if(!double.IsNaN(y)) 531 if(!double.IsNaN(yValue)) 563 if(!double.IsNaN(y)) 596 if(!double.IsNaN(y)) 675if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 745 if(!double.IsNaN(seriesPoint.YValues[valueIndex])) 773 if(!double.IsNaN(seriesPoint.YValues[0])) 809 if(!double.IsNaN(y)) 860 if( !chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex])) 911if (chartType.StackSign || double.IsNaN(this._series[seriesName].Points[pointIndex].YValues[valueIndex]))
Common\DataManager\DataPoint.cs (3)
957 if(val is double && double.IsNaN((double)val)) 1939 if( !double.IsNaN(doubleObj) ) 2156 if(double.IsNaN(d))
Common\DataManager\DataSeries.cs (2)
1055 if(!double.IsNaN(_totalYvalue)) 1714 if(double.IsNaN(point.YValues[yValueIndex]))
Common\General\Axis.cs (11)
1327if (double.IsNaN(value)) 1370if (double.IsNaN(value)) 4166 (this.tempLabelInterval <= 0.0 || (double.IsNaN(this.tempLabelInterval) && this.Interval <= 0.0)) ) 4175if (Double.IsNaN(this.minimum) || Double.IsNaN(this.maximum)) 4532 if(!double.IsNaN(minInterval) && newInterval < minInterval) 6355double.IsNaN(axisOpposite.maximum) || 6356double.IsNaN(axisOpposite.minimum) || 6358double.IsNaN(maximum) || 6359double.IsNaN(minimum)) 6375if (Double.IsNaN(axisOpposite.crossing) || ignoreCrossing)
Common\General\AxisScale.cs (25)
445 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 451 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 457 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 477 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 483 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 489 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 505 (double.IsNaN(tempMajorGridInterval) && ((Axis)this).Interval <= 0.0) ) 512 (double.IsNaN(tempMajorTickMarkInterval) && ((Axis)this).Interval <= 0.0) ) 519 (double.IsNaN(tempLabelInterval) && ((Axis)this).Interval <= 0.0) ) 549if (_isLogarithmic && logarithmicConvertedToLinear && !Double.IsNaN(maximum)) 557 if( Double.IsNaN(value) ) 604if (_isLogarithmic && logarithmicConvertedToLinear && !Double.IsNaN(maximum)) 612 if( Double.IsNaN(value) ) 1174 this.labelStyle.intervalOffset = Double.IsNaN(this.labelStyle.intervalOffset) ? offset : this.labelStyle.intervalOffset + offset; 1175 this.majorGrid.intervalOffset = Double.IsNaN(this.majorGrid.intervalOffset) ? offset : this.majorGrid.intervalOffset + offset; 1176 this.majorTickMark.intervalOffset = Double.IsNaN(this.majorTickMark.intervalOffset) ? offset : this.majorTickMark.intervalOffset + offset; 1177this.minorGrid.intervalOffset = Double.IsNaN(this.minorGrid.intervalOffset) ? offset : this.minorGrid.intervalOffset + offset; 1178this.minorTickMark.intervalOffset = Double.IsNaN(this.minorTickMark.intervalOffset) ? offset : this.minorTickMark.intervalOffset + offset; 1671 if( Double.IsNaN(crossing) ) 1920 if(!Double.IsNaN(this.ScaleView.Size)) 1923 if(Double.IsNaN(this.ScaleView.Position)) 1930 if( !Double.IsNaN(_scaleView.Position) && !Double.IsNaN(_scaleView.Size) ) 2175 if( !double.IsNaN( this.interval3DCorrection ) && 2269 if( !double.IsNaN( this.interval3DCorrection ) &&
Common\General\AxisScaleBreaks.cs (4)
862 !double.IsNaN(segmentMinValue[index]) && 863 !double.IsNaN(segmentMaxValue[index])) 869 if(double.IsNaN(segmentFrom)) 881 if(!double.IsNaN(segmentFrom) &&
Common\General\AxisScaleSegments.cs (1)
251 if(double.IsNaN(value))
Common\General\AxisScrollZoom.cs (8)
372!double.IsNaN(this.Size) && 374!double.IsNaN(this.Position)); 593if (!Double.IsNaN(this.Size)) 596if (Double.IsNaN(this.Position)) 631if (!Double.IsNaN(this.Size)) 634if (Double.IsNaN(this.Position)) 1510 if(Double.IsNaN(doubleValue)) 1596 if(Double.IsNaN((double)value))
Common\General\ChartArea3D.cs (1)
1874if (point.IsEmpty && Double.IsNaN(yValue))
Common\General\ChartAreaAxes.cs (9)
661 if( !Double.IsNaN(axis.ScaleView.Position) && 662 !Double.IsNaN(axis.ScaleView.Size) && 684 ( (axis.AutoMaximum || double.IsNaN( axis.Maximum )) && (autoMaximum == Double.MaxValue || autoMaximum == Double.MinValue)) || 685 ( (axis.AutoMinimum || double.IsNaN( axis.Minimum )) && (autoMinimum == Double.MaxValue || autoMinimum == Double.MinValue )) ) 1048 !double.IsNaN(axis.minimumFromData) && 1049 !double.IsNaN(axis.maximumFromData) && 1345 if( area.Area3DStyle.Enable3D && !double.IsNaN(axis.interval3DCorrection) ) 1764 if( !double.IsNaN(intervalData) && _intervalSeriesList == seriesNames) 1773 if( !double.IsNaN(intervalLogData) && _intervalSeriesList == seriesNames)
Common\General\ChartGraphics.cs (1)
5690 if(relativePosition < 0 || relativePosition > 1 || double.IsNaN(relativePosition))
Common\General\DataManipulator.cs (8)
607 bool fromIsNaN = double.IsNaN(fromX); 608 bool toIsNaN = double.IsNaN(toX); 615 if(double.IsNaN(toX)) 626 if(double.IsNaN(fromX)) 675 if(double.IsNaN(fromXValue) && currentPointValue < nonAdjustedFromX || 676 !double.IsNaN(fromXValue) && currentPointValue < fromXValue) 1023if (Double.IsNaN(point.XValue)) 1042if (Double.IsNaN(point.YValues[yIndex]))
Common\General\FormulaData.cs (4)
548if (Double.IsNaN(outputValues[seriesIndex + 1][pointIndex])) 562if (Double.IsNaN(outputValues[seriesIndex + 1][pointIndex])) 924if (Double.IsNaN(input[seriesIndex][pointIndex])) 953if (!double.IsNaN(input[1][pointIndex]))
Common\General\GridTickMarks.cs (9)
159 if( !this.majorGridTick && ( this.interval == 0 || double.IsNaN(this.interval) ) ) 229if (GetIntervalOffset() != 0 && !double.IsNaN(GetIntervalOffset()) && axisSeries == null) 1280 if( !this.majorGridTick && ( this.interval == 0 || double.IsNaN(this.interval) ) ) 1321if (GetIntervalOffset() != 0 && !double.IsNaN(GetIntervalOffset()) && axisSeries == null) 1669return !double.IsNaN(intervalOffset); 1681 if(this.majorGridTick && double.IsNaN(intervalOffset) && this._axis != null) 1771if (!this.majorGridTick && value != 0.0 && !Double.IsNaN(value)) 1823return !double.IsNaN(interval); 1834 if(this.majorGridTick && double.IsNaN(interval) && this._axis != null)
Common\General\Label.cs (7)
265 !double.IsNaN(this.Axis.Minimum) && 266 !double.IsNaN(this.Axis.Maximum)) 1176if (!double.IsNaN(this._axis.ChartArea.AxisX.Crossing)) 1373if (Double.IsNaN(_axis.ViewMinimum) || Double.IsNaN(_axis.ViewMaximum)) 2588 if(double.IsNaN(intervalOffset) && this._axis != null) 2675 if(double.IsNaN(interval) && this._axis != null)
System.Xml (4)
System\Xml\Schema\DataTypeImplementation.cs (1)
3438if (double.IsInfinity(value) || double.IsNaN(value)) {
System\Xml\XPath\Internal\BooleanFunctions.cs (1)
48return number != 0 && ! double.IsNaN(number);
System\Xml\XPath\Internal\StringFunctions.cs (2)
145if (Double.IsNaN(num) || str1.Length <= num) { 150if (Double.IsNaN(num1)) {
UIAutomationClient (2)
System\Windows\Automation\AutomationElement.cs (2)
963if (double.IsNaN (((Point) ptClickable).X) || double.IsNaN (((Point) ptClickable).Y))
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
229if (double.IsNaN(val))