737 references to IsNaN
mscorlib (16)
system\double.cs (8)
125
if (
IsNaN
(m_value))
126
return (
IsNaN
(d) ? 0 : -1);
139
if (
IsNaN
(m_value))
140
return (
IsNaN
(value) ? 0 : -1);
156
return
IsNaN
(temp) &&
IsNaN
(m_value);
194
return
IsNaN
(obj) &&
IsNaN
(m_value);
system\math.cs (7)
207
if (Double.
IsNaN
(x)) {
210
if (Double.
IsNaN
(y)) {
215
if (Double.
IsNaN
(regularMod)) {
410
if (Double.
IsNaN
(val1))
492
if (Double.
IsNaN
(val1))
507
if (Double.
IsNaN
(a)) {
510
if (Double.
IsNaN
(newBase)) {
system\timespan.cs (1)
229
if (Double.
IsNaN
(value))
PresentationCore (36)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (4)
651
System.Diagnostics.Debug.Assert(!double.
IsNaN
(findex));
662
System.Diagnostics.Debug.Assert(!double.
IsNaN
(findex));
678
System.Diagnostics.Debug.Assert(!double.
IsNaN
(findex));
690
System.Diagnostics.Debug.Assert(!double.
IsNaN
(findex));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
914
if ( Double.
IsNaN
(dVal) || dVal < DrawingAttributes.MinHeight || dVal > DrawingAttributes.MaxHeight)
921
if (Double.
IsNaN
(dVal) || dVal < DrawingAttributes.MinWidth || dVal > DrawingAttributes.MaxWidth)
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (2)
905
System.Diagnostics.Debug.Assert(!double.
IsNaN
(cutAt.BeginFIndex) && !double.
IsNaN
(cutAt.EndFIndex));
Core\CSharp\MS\Internal\Ink\StylusShape.cs (3)
51
if (Double.
IsNaN
(width) || Double.IsInfinity(width) || width < DrawingAttributes.MinWidth || width > DrawingAttributes.MaxWidth)
56
if (Double.
IsNaN
(height) || Double.IsInfinity(height) || height < DrawingAttributes.MinHeight || height > DrawingAttributes.MaxHeight)
61
if (Double.
IsNaN
(rotation) || Double.IsInfinity(rotation))
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (2)
173
if (double.
IsNaN
(value) || value < MinHeight || value > MaxHeight)
200
if (double.
IsNaN
(value) || value < MinWidth || value > MaxWidth)
Core\CSharp\System\Windows\Ink\Stroke.cs (6)
1145
if (Double.
IsNaN
(matrix.M11) ||
1146
Double.
IsNaN
(matrix.M12) ||
1147
Double.
IsNaN
(matrix.M21) ||
1148
Double.
IsNaN
(matrix.M22) ||
1149
Double.
IsNaN
(matrix.OffsetX) ||
1150
Double.
IsNaN
(matrix.OffsetY))
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
224
if (Double.
IsNaN
(diameter) || diameter < DrawingAttributes.MinWidth || diameter > DrawingAttributes.MaxWidth)
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
79
if (Double.
IsNaN
(diameter) || diameter < DrawingAttributes.MinWidth || diameter > DrawingAttributes.MaxWidth)
Core\CSharp\System\Windows\Input\InertiaExpansionBehavior.cs (1)
55
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
Core\CSharp\System\Windows\Input\InertiaRotationBehavior.cs (2)
55
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
75
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
Core\CSharp\System\Windows\Input\InertiaTranslationBehavior.cs (2)
55
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
75
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
Core\CSharp\System\Windows\Media\Animation\ClockController.cs (1)
293
if (value < 0 || value > double.MaxValue || double.
IsNaN
(value))
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (2)
223
if (newValue < 0 || newValue > 1 || double.
IsNaN
(newValue))
612
if (newValue <= 0 || newValue > double.MaxValue || double.
IsNaN
(newValue))
Core\CSharp\System\Windows\Media\FormattedText.cs (2)
1466
if (_metrics == null || double.
IsNaN
(_metrics.Extent))
1732
if (_metrics != null && !double.
IsNaN
(_metrics.Extent))
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (3)
328
if (Double.
IsNaN
(value))
385
if (Double.
IsNaN
(value))
1174
if (Double.
IsNaN
(value))
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (2)
419
Debug.Assert(!double.IsInfinity(pz / pw) && !double.
IsNaN
(pz / pw),
505
Debug.Assert(!double.IsInfinity(pz / pw) && !double.
IsNaN
(pz / pw),
PresentationFramework (118)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
227
if (!double.
IsNaN
(fp.Segments[i].Start.X))
236
if (!double.
IsNaN
(fp.Segments[i].End.X))
337
if (double.
IsNaN
(start.X) || double.
IsNaN
(start.Y))
356
if (double.
IsNaN
(end.X) || double.
IsNaN
(end.Y))
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
1038
if ((double.
IsNaN
(anchor.X)) || (double.
IsNaN
(anchor.Y)))
1592
if (!(double.
IsNaN
(anchor.X)) && !(double.
IsNaN
(anchor.Y)) && PositionTransform != null)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (4)
619
if (Double.
IsNaN
(offset))
662
if (Double.
IsNaN
(offset))
2187
if (Double.
IsNaN
(offset))
2207
if (Double.
IsNaN
(offset))
src\Framework\MS\Internal\Helper.cs (1)
578
return !(Double.IsInfinity(value) || Double.
IsNaN
(value));
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (8)
452
if ( !double.
IsNaN
(left) )
456
else if ( !double.
IsNaN
(right) )
461
if ( !double.
IsNaN
(top) )
465
else if ( !double.
IsNaN
(bottom) )
472
if ( !double.
IsNaN
(left) )
476
else if ( !double.
IsNaN
(right) )
488
if ( !double.
IsNaN
(top) )
492
else if ( !double.
IsNaN
(bottom) )
src\Framework\MS\Internal\PtsHost\ColumnPropertiesGroup.cs (2)
46
internal double ColumnWidth { get { Debug.Assert(!double.
IsNaN
(_columnWidth)); return _columnWidth; } }
67
Invariant.Assert(!double.
IsNaN
(_columnGap));
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (3)
279
if(fsbbox.fsrc.du < subpageWidth && Double.
IsNaN
(specifiedWidth) && HorizontalAlignment != HorizontalAlignment.Stretch)
462
if(fsbbox.fsrc.du < subpageWidth && Double.
IsNaN
(specifiedWidth) && HorizontalAlignment != HorizontalAlignment.Stretch)
673
if (!Double.
IsNaN
(specifiedWidth))
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (16)
141
Double.
IsNaN
(mbp.Margin.Left) ? defaultMargin.Left : mbp.Margin.Left,
142
Double.
IsNaN
(mbp.Margin.Top) ? defaultMargin.Top : mbp.Margin.Top,
143
Double.
IsNaN
(mbp.Margin.Right) ? defaultMargin.Right : mbp.Margin.Right,
144
Double.
IsNaN
(mbp.Margin.Bottom) ? defaultMargin.Bottom : mbp.Margin.Bottom);
166
Double.
IsNaN
(mbp.Padding.Left) ? defaultPadding.Left : mbp.Padding.Left,
167
Double.
IsNaN
(mbp.Padding.Top) ? defaultPadding.Top : mbp.Padding.Top,
168
Double.
IsNaN
(mbp.Padding.Right) ? defaultPadding.Right : mbp.Padding.Right,
169
Double.
IsNaN
(mbp.Padding.Bottom) ? defaultPadding.Bottom : mbp.Padding.Bottom);
340
Double.
IsNaN
(_padding.Left) ||
341
Double.
IsNaN
(_padding.Right) ||
342
Double.
IsNaN
(_padding.Top) ||
343
Double.
IsNaN
(_padding.Bottom));
355
Double.
IsNaN
(_margin.Left) ||
356
Double.
IsNaN
(_margin.Right) ||
357
Double.
IsNaN
(_margin.Top) ||
358
Double.
IsNaN
(_margin.Bottom));
src\Framework\MS\Internal\Text\LineProperties.cs (1)
62
if (LineStackingStrategy == LineStackingStrategy.BlockLineHeight && !Double.
IsNaN
(_lineHeight))
src\Framework\MS\Internal\Text\MarkerProperties.cs (1)
38
if (Double.
IsNaN
(_offset))
src\Framework\System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (2)
51
if (double.IsInfinity(x) || double.
IsNaN
(x))
54
if (double.IsInfinity(y) || double.
IsNaN
(y))
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8551
else if (!Double.
IsNaN
(RowHeaderWidth))
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2418
if ((double.
IsNaN
(checkValue)) ||
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1837
return (!Double.
IsNaN
(value) && !Double.IsInfinity(value) && DoubleUtil.GreaterThan(value, 0d));
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1728
return (!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;
408
c.State = Double.
IsNaN
(newWidth) ? ColumnMeasureState.Init : ColumnMeasureState.SpecificWidth;
426
if (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)
715
if (Double.
IsNaN
(Column.Width))
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
2156
if (!IsTransparent || double.
IsNaN
(horizontalAxis.Y) || Math.Abs(horizontalAxis.Y) < Tolerance)
2191
if (!IsTransparent || double.
IsNaN
(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance)
2257
if (!IsTransparent || double.
IsNaN
(verticalAxis.X) || Math.Abs(verticalAxis.X) < Tolerance)
2279
if (!IsTransparent || double.
IsNaN
(horizontalAxis.X) || Math.Abs(horizontalAxis.Y) < Tolerance)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (2)
308
if (Double.
IsNaN
(offset))
325
if (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)
336
return d >= 0.0 || double.
IsNaN
(d);
441
if (!double.
IsNaN
(ViewportSize))
460
else if (componentLength > trackLength || double.
IsNaN
(componentLength))
488
if (double.
IsNaN
(viewportSize))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1457
return (!Double.
IsNaN
(value) && !Double.IsInfinity(value) && DoubleUtil.GreaterThan(value, 0d));
src\Framework\System\Windows\Documents\Block.cs (9)
515
if (Double.
IsNaN
(lineHeight))
560
if (Double.
IsNaN
(t.Left) || Double.
IsNaN
(t.Right) || Double.
IsNaN
(t.Top) || Double.
IsNaN
(t.Bottom))
565
if (!Double.
IsNaN
(t.Left) && (t.Left < 0 || t.Left > maxThickness))
569
if (!Double.
IsNaN
(t.Right) && (t.Right < 0 || t.Right > maxThickness))
573
if (!Double.
IsNaN
(t.Top) && (t.Top < 0 || t.Top > maxThickness))
577
if (!Double.
IsNaN
(t.Bottom) && (t.Bottom < 0 || t.Bottom > maxThickness))
src\Framework\System\windows\Documents\CaretElement.cs (4)
327
if (positionChanged || !double.
IsNaN
(scrollToOriginPosition))
346
if (!double.
IsNaN
(scrollToOriginPosition) && scrollToOriginPosition > 0)
375
if (!double.
IsNaN
(scrollToOriginPosition))
1146
if (double.
IsNaN
(value))
src\Framework\System\Windows\Documents\Figure.cs (1)
302
if (Double.
IsNaN
(offset))
src\Framework\System\Windows\Documents\Floater.cs (1)
134
if (Double.
IsNaN
(width))
src\Framework\System\Windows\Documents\FlowDocument.cs (5)
1539
if (Double.
IsNaN
(value))
1554
if (Double.
IsNaN
(value))
1569
if (Double.
IsNaN
(value))
1590
if (Double.
IsNaN
(ruleWidth) || ruleWidth < 0 || ruleWidth > maxRuleWidth)
1601
if (Double.
IsNaN
(gap))
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
2023
if (Double.
IsNaN
(value))
src\Framework\System\Windows\Documents\List.cs (1)
340
if (Double.
IsNaN
(value))
src\Framework\System\Windows\Documents\Paragraph.cs (6)
243
return (Double.
IsNaN
(margin.Left) && Double.
IsNaN
(margin.Right) && Double.
IsNaN
(margin.Top) && Double.
IsNaN
(margin.Bottom));
248
return (Double.
IsNaN
(lineHeight));
312
if (Double.
IsNaN
(indent))
src\Framework\System\Windows\Documents\Table.cs (1)
396
if (Double.
IsNaN
(spacing))
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2256
if (Double.
IsNaN
(This._suggestedX))
src\Framework\System\Windows\Documents\TextElement.cs (1)
1659
if (Double.
IsNaN
(fontSize))
src\Framework\System\Windows\Documents\TextRange.cs (2)
1045
if (double.
IsNaN
(image.Height))
1059
if (double.
IsNaN
(image.Width))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
1138
if (double.
IsNaN
(newValue))
1143
if (double.
IsNaN
(currentValue))
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
92
if ((double.
IsNaN
(percent)) || (double.IsInfinity(percent)))
src\Framework\System\Windows\FrameworkElement.cs (1)
4289
if( !Double.
IsNaN
(expandFactor)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2955
if (double.
IsNaN
(score))
src\Framework\System\Windows\Shell\TaskbarItemInfo.cs (1)
97
if (double.
IsNaN
(progressValue))
src\Framework\System\Windows\Standard\DoubleUtil.cs (1)
118
return !double.
IsNaN
(value) && !double.IsInfinity(value);
src\Framework\System\Windows\Standard\Utilities.cs (1)
333
if (double.
IsNaN
(d) || double.IsInfinity(d) || d < 0)
src\Framework\System\Windows\Window.cs (8)
6365
if (double.
IsNaN
(top))
6405
Invariant.Assert(!Double.
IsNaN
(_actualLeft), "_actualLeft cannot be NaN after show");
6406
UpdateHwndPositionOnTopLeftChange(Double.
IsNaN
(Left) ? _actualLeft : Left, newTop);
6440
if (double.
IsNaN
(left))
6500
Invariant.Assert(!Double.
IsNaN
(_actualTop), "_actualTop cannot be NaN after show");
6501
UpdateHwndPositionOnTopLeftChange(newLeft, Double.
IsNaN
(Top) ? _actualTop : Top);
7489
if (!double.
IsNaN
(_prePanningLocation.X) && !double.
IsNaN
(_prePanningLocation.Y) && (_swh != null))
PresentationFramework.Aero (10)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (2)
58
if (width <= 0.0 || Double.IsInfinity(width) || Double.
IsNaN
(width) ||
59
height <= 0.0 || Double.IsInfinity(height) || Double.
IsNaN
(height) )
Microsoft\Windows\Themes\ScrollChrome.cs (4)
741
if (double.
IsNaN
(widthScale) || double.IsInfinity(widthScale) || double.
IsNaN
(heightScale) || double.IsInfinity(heightScale) ||
742
double.
IsNaN
(x) || double.IsInfinity(x) || double.
IsNaN
(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78
double.
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)
72
if (width <= 0.0 || Double.IsInfinity(width) || Double.
IsNaN
(width) ||
73
height <= 0.0 || Double.IsInfinity(height) || Double.
IsNaN
(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78
double.
IsNaN
(cr.TopLeft) || double.
IsNaN
(cr.TopRight) || double.
IsNaN
(cr.BottomLeft) || double.
IsNaN
(cr.BottomRight) ||
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
600
if (double.
IsNaN
(widthScale) || double.IsInfinity(widthScale) || double.
IsNaN
(heightScale) || double.IsInfinity(heightScale) ||
601
double.
IsNaN
(x) || double.IsInfinity(x) || double.
IsNaN
(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
72
if (width <= 0.0 || Double.IsInfinity(width) || Double.
IsNaN
(width) ||
73
height <= 0.0 || Double.IsInfinity(height) || Double.
IsNaN
(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78
double.
IsNaN
(cr.TopLeft) || double.
IsNaN
(cr.TopRight) || double.
IsNaN
(cr.BottomLeft) || double.
IsNaN
(cr.BottomRight) ||
PresentationFramework.Royale (10)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
560
if (double.
IsNaN
(widthScale) || double.IsInfinity(widthScale) || double.
IsNaN
(heightScale) || double.IsInfinity(heightScale) ||
561
double.
IsNaN
(x) || double.IsInfinity(x) || double.
IsNaN
(y) || double.IsInfinity(y))
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
72
if (width <= 0.0 || Double.IsInfinity(width) || Double.
IsNaN
(width) ||
73
height <= 0.0 || Double.IsInfinity(height) || Double.
IsNaN
(height) )
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (4)
78
double.
IsNaN
(cr.TopLeft) || double.
IsNaN
(cr.TopRight) || double.
IsNaN
(cr.BottomLeft) || double.
IsNaN
(cr.BottomRight) ||
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2022
if( double.
IsNaN
(d)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1233
if( double.
IsNaN
(d)) {
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\MaxValueConverter.cs (1)
22
if (!double.
IsNaN
(val) && val > maxValue)
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
182
Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.
IsNaN
(x) || double.Epsilon > x);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (4)
465
if ((double.
IsNaN
(MinWidth) || double.IsInfinity(MinWidth) || bottomRight.X - absolutePosition.X >= MinWidth) &&
466
(double.
IsNaN
(MaxWidth) || double.IsInfinity(MaxWidth) || bottomRight.X - absolutePosition.X <= MaxWidth))
484
if ((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)
1628
if (x < value || System.Double.
IsNaN
(x)) value = x;
1644
if (value == null || x < value || System.Double.
IsNaN
((double)x)) value = x;
1805
if (x > value || System.Double.
IsNaN
(value)) value = x;
1821
if (value == null || x > value || System.Double.
IsNaN
((double)value)) value = x;
1832
if (x > value || System.Double.
IsNaN
(value)) value = x;
System\Linq\Parallel\QueryOperators\Inlined\DoubleMinMaxAggregationOperator.cs (4)
76
if (current < best || double.
IsNaN
(current))
87
if (current > best || double.
IsNaN
(best))
155
if (elem < currentElement || double.
IsNaN
(elem))
169
if (elem > currentElement || double.
IsNaN
(currentElement))
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleMinMaxAggregationOperator.cs (4)
74
if (best == null || current < best || double.
IsNaN
(current.GetValueOrDefault()))
86
if (best == null || current > best || double.
IsNaN
(best.GetValueOrDefault()))
154
if (currentElement == null || elem < currentElement || double.
IsNaN
(elem.GetValueOrDefault()))
169
if (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)
182
Func<double, bool> IsInvalid = x => (double.IsInfinity(x) || double.
IsNaN
(x) || double.Epsilon > x);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
964
if (!double.
IsNaN
(d)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1715
if (Double.IsInfinity(v) || Double.
IsNaN
(v)) {
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (1)
64
if (Double.IsInfinity(value) || Double.
IsNaN
(value))
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1090
if (double.
IsNaN
(value))
System.Data.Services (3)
System\Data\Services\Parsing\WebConvert.cs (1)
179
if (!Double.IsInfinity(d) && !Double.
IsNaN
(d))
System\Data\Services\Serializers\JsonWriter.cs (2)
183
if (double.IsInfinity(value) || double.
IsNaN
(value))
221
if (double.IsInfinity(value) || double.
IsNaN
(value))
System.Data.SqlXml (20)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (2)
4162
if (Double.
IsNaN
((double) litLeft) || Double.
IsNaN
((double) litRight))
System\Xml\Xsl\Runtime\XmlAggregates.cs (2)
208
if (this.cnt == 0 || value < this.result || double.
IsNaN
(value))
215
if (this.cnt == 0 || value > this.result || double.
IsNaN
(value))
System\Xml\Xsl\Runtime\XmlSortKey.cs (1)
273
if (Double.
IsNaN
(value)) {
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
66
Debug.Assert(value.Length < startIndex || Double.
IsNaN
(startIndex));
87
Debug.Assert(endIndex <= startIndex || Double.
IsNaN
(endIndex));
System\Xml\Xsl\XPathConvert.cs (2)
2295
Debug.Assert(Double.
IsNaN
(dblLowPrec) || dblLowPrec == dbl);
2537
if (Double.
IsNaN
(dbl)) {
System\Xml\Xsl\Xslt\MatcherBuilder.cs (3)
123
this.priority = double.
IsNaN
(template.Priority) ? XPathPatternBuilder.GetPriority(filter) : template.Priority;
217
Debug.Assert(!double.
IsNaN
(x.priority));
218
Debug.Assert(!double.
IsNaN
(y.priority));
System\Xml\Xsl\Xslt\XslAst.cs (1)
233
if (!double.
IsNaN
(Priority)) {
System\Xml\Xsl\Xslt\XsltInput.cs (1)
565
if (double.
IsNaN
(version)) {
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
949
if (double.
IsNaN
(priority) && !input.ForwardCompatibility) {
System\Xml\Xsl\XsltOld\TemplateAction.cs (3)
93
Debug.Assert(Double.
IsNaN
(this.priority));
95
if (double.
IsNaN
(this.priority) && ! compiler.ForwardCompatibility) {
118
if (!Double.
IsNaN
(this.priority) || this.matchKey == Compiler.InvalidQueryKey) {
System\Xml\Xsl\XsltOld\Templatemanager.cs (2)
29
Debug.Assert(! Double.
IsNaN
(tx.Priority));
30
Debug.Assert(! Double.
IsNaN
(ty.Priority));
System.Numerics (1)
System\Numerics\BigInteger.cs (1)
490
if (Double.
IsNaN
(value))
System.Runtime.Serialization (1)
System\Xml\ValueHandle.cs (1)
331
if ((value >= Single.MinValue && value <= Single.MaxValue) || double.IsInfinity(value) || double.
IsNaN
(value))
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryModel.cs (1)
547
return (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)
1165
if (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)
353
if (!double.
IsNaN
(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet)
Common\ChartTypes\ErrorBarChart.cs (1)
1687
if (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)
1502
if (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))
254
if (double.
IsNaN
(yValue) && _totalPerPoint[pointIndex] == 0)
259
if(!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))
707
if (!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))
716
if (!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))
675
if (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]))
911
if (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)
1327
if (double.
IsNaN
(value))
1370
if (double.
IsNaN
(value))
4166
(this.tempLabelInterval <= 0.0 || (double.
IsNaN
(this.tempLabelInterval) && this.Interval <= 0.0)) )
4175
if (Double.
IsNaN
(this.minimum) || Double.
IsNaN
(this.maximum))
4532
if(!double.
IsNaN
(minInterval) && newInterval < minInterval)
6355
double.
IsNaN
(axisOpposite.maximum) ||
6356
double.
IsNaN
(axisOpposite.minimum) ||
6358
double.
IsNaN
(maximum) ||
6359
double.
IsNaN
(minimum))
6375
if (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) )
549
if (_isLogarithmic && logarithmicConvertedToLinear && !Double.
IsNaN
(maximum))
557
if( Double.
IsNaN
(value) )
604
if (_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;
1177
this.minorGrid.intervalOffset = Double.
IsNaN
(this.minorGrid.intervalOffset) ? offset : this.minorGrid.intervalOffset + offset;
1178
this.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));
593
if (!Double.
IsNaN
(this.Size))
596
if (Double.
IsNaN
(this.Position))
631
if (!Double.
IsNaN
(this.Size))
634
if (Double.
IsNaN
(this.Position))
1510
if(Double.
IsNaN
(doubleValue))
1596
if(Double.
IsNaN
((double)value))
Common\General\ChartArea3D.cs (1)
1874
if (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)
1023
if (Double.
IsNaN
(point.XValue))
1042
if (Double.
IsNaN
(point.YValues[yIndex]))
Common\General\FormulaData.cs (4)
548
if (Double.
IsNaN
(outputValues[seriesIndex + 1][pointIndex]))
562
if (Double.
IsNaN
(outputValues[seriesIndex + 1][pointIndex]))
924
if (Double.
IsNaN
(input[seriesIndex][pointIndex]))
953
if (!double.
IsNaN
(input[1][pointIndex]))
Common\General\GridTickMarks.cs (9)
159
if( !this.majorGridTick && ( this.interval == 0 || double.
IsNaN
(this.interval) ) )
229
if (GetIntervalOffset() != 0 && !double.
IsNaN
(GetIntervalOffset()) && axisSeries == null)
1280
if( !this.majorGridTick && ( this.interval == 0 || double.
IsNaN
(this.interval) ) )
1321
if (GetIntervalOffset() != 0 && !double.
IsNaN
(GetIntervalOffset()) && axisSeries == null)
1669
return !double.
IsNaN
(intervalOffset);
1681
if(this.majorGridTick && double.
IsNaN
(intervalOffset) && this._axis != null)
1771
if (!this.majorGridTick && value != 0.0 && !Double.
IsNaN
(value))
1823
return !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))
1176
if (!double.
IsNaN
(this._axis.ChartArea.AxisX.Crossing))
1373
if (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)
1165
if (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)
353
if (!double.
IsNaN
(hAxis.majorGrid.GetInterval()) && hAxis.majorGrid.GetIntervalType() != DateTimeIntervalType.NotSet)
Common\ChartTypes\ErrorBarChart.cs (1)
1687
if (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)
1502
if (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))
254
if (double.
IsNaN
(yValue) && _totalPerPoint[pointIndex] == 0)
259
if(!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))
707
if (!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))
716
if (!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))
675
if (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]))
911
if (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)
1327
if (double.
IsNaN
(value))
1370
if (double.
IsNaN
(value))
4166
(this.tempLabelInterval <= 0.0 || (double.
IsNaN
(this.tempLabelInterval) && this.Interval <= 0.0)) )
4175
if (Double.
IsNaN
(this.minimum) || Double.
IsNaN
(this.maximum))
4532
if(!double.
IsNaN
(minInterval) && newInterval < minInterval)
6355
double.
IsNaN
(axisOpposite.maximum) ||
6356
double.
IsNaN
(axisOpposite.minimum) ||
6358
double.
IsNaN
(maximum) ||
6359
double.
IsNaN
(minimum))
6375
if (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) )
549
if (_isLogarithmic && logarithmicConvertedToLinear && !Double.
IsNaN
(maximum))
557
if( Double.
IsNaN
(value) )
604
if (_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;
1177
this.minorGrid.intervalOffset = Double.
IsNaN
(this.minorGrid.intervalOffset) ? offset : this.minorGrid.intervalOffset + offset;
1178
this.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));
593
if (!Double.
IsNaN
(this.Size))
596
if (Double.
IsNaN
(this.Position))
631
if (!Double.
IsNaN
(this.Size))
634
if (Double.
IsNaN
(this.Position))
1510
if(Double.
IsNaN
(doubleValue))
1596
if(Double.
IsNaN
((double)value))
Common\General\ChartArea3D.cs (1)
1874
if (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)
1023
if (Double.
IsNaN
(point.XValue))
1042
if (Double.
IsNaN
(point.YValues[yIndex]))
Common\General\FormulaData.cs (4)
548
if (Double.
IsNaN
(outputValues[seriesIndex + 1][pointIndex]))
562
if (Double.
IsNaN
(outputValues[seriesIndex + 1][pointIndex]))
924
if (Double.
IsNaN
(input[seriesIndex][pointIndex]))
953
if (!double.
IsNaN
(input[1][pointIndex]))
Common\General\GridTickMarks.cs (9)
159
if( !this.majorGridTick && ( this.interval == 0 || double.
IsNaN
(this.interval) ) )
229
if (GetIntervalOffset() != 0 && !double.
IsNaN
(GetIntervalOffset()) && axisSeries == null)
1280
if( !this.majorGridTick && ( this.interval == 0 || double.
IsNaN
(this.interval) ) )
1321
if (GetIntervalOffset() != 0 && !double.
IsNaN
(GetIntervalOffset()) && axisSeries == null)
1669
return !double.
IsNaN
(intervalOffset);
1681
if(this.majorGridTick && double.
IsNaN
(intervalOffset) && this._axis != null)
1771
if (!this.majorGridTick && value != 0.0 && !Double.
IsNaN
(value))
1823
return !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))
1176
if (!double.
IsNaN
(this._axis.ChartArea.AxisX.Crossing))
1373
if (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)
3438
if (double.IsInfinity(value) || double.
IsNaN
(value)) {
System\Xml\XPath\Internal\BooleanFunctions.cs (1)
48
return number != 0 && ! double.
IsNaN
(number);
System\Xml\XPath\Internal\StringFunctions.cs (2)
145
if (Double.
IsNaN
(num) || str1.Length <= num) {
150
if (Double.
IsNaN
(num1)) {
UIAutomationClient (2)
System\Windows\Automation\AutomationElement.cs (2)
963
if (double.
IsNaN
(((Point) ptClickable).X) || double.
IsNaN
(((Point) ptClickable).Y))
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
229
if (double.
IsNaN
(val))