223 references to IsNaN
mscorlib (10)
system\math.cs (2)
399
if (Single.
IsNaN
(val1))
481
if (Single.
IsNaN
(val1))
system\single.cs (8)
96
if (
IsNaN
(m_value))
97
return (
IsNaN
(f) ? 0 : -1);
111
if (
IsNaN
(m_value))
112
return (
IsNaN
(value) ? 0 : -1);
156
return
IsNaN
(temp) &&
IsNaN
(m_value);
165
return
IsNaN
(obj) &&
IsNaN
(m_value);
PresentationCore (10)
Core\CSharp\System\windows\Media\MILUtilities.cs (10)
103
Debug.Assert(pD3DMatrix[2] == 0.0f || Single.
IsNaN
(pD3DMatrix[2]));
104
Debug.Assert(pD3DMatrix[3] == 0.0f || Single.
IsNaN
(pD3DMatrix[3]));
112
Debug.Assert(pD3DMatrix[6] == 0.0f || Single.
IsNaN
(pD3DMatrix[6]));
113
Debug.Assert(pD3DMatrix[7] == 0.0f || Single.
IsNaN
(pD3DMatrix[7]));
119
Debug.Assert(pD3DMatrix[8] == 0.0f || Single.
IsNaN
(pD3DMatrix[8]));
120
Debug.Assert(pD3DMatrix[9] == 0.0f || Single.
IsNaN
(pD3DMatrix[9]));
121
Debug.Assert(pD3DMatrix[10] == 1.0f || Single.
IsNaN
(pD3DMatrix[10]));
122
Debug.Assert(pD3DMatrix[11] == 0.0f || Single.
IsNaN
(pD3DMatrix[11]));
130
Debug.Assert(pD3DMatrix[14] == 0.0f || Single.
IsNaN
(pD3DMatrix[14]));
131
Debug.Assert(pD3DMatrix[15] == 1.0f || Single.
IsNaN
(pD3DMatrix[15]));
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2006
if( float.
IsNaN
(s)) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1217
if( float.
IsNaN
(s)) {
System.Core (11)
System\Linq\Enumerable.cs (3)
1601
if (x < value || System.Single.
IsNaN
(x)) value = x;
1617
if (value == null || x < value || System.Single.
IsNaN
((float)x)) value = x;
1848
if (value == null || x > value || System.Single.
IsNaN
((float)value)) value = x;
System\Linq\Parallel\QueryOperators\Inlined\FloatMinMaxAggregationOperator.cs (4)
75
if (current < best || float.
IsNaN
(current))
86
if (current > best || float.
IsNaN
(best))
152
if (elem < currentElement || float.
IsNaN
(elem))
166
if (elem > currentElement || float.
IsNaN
(currentElement))
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatMinMaxAggregationOperator.cs (4)
74
if (best == null || current < best || float.
IsNaN
(current.GetValueOrDefault()))
86
if (best == null || current > best || float.
IsNaN
(best.GetValueOrDefault()))
154
if (currentElement == null || elem < currentElement || float.
IsNaN
(elem.GetValueOrDefault()))
169
if (currentElement == null || elem > currentElement || float.
IsNaN
(currentElement.GetValueOrDefault()))
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
951
if (!float.
IsNaN
(f)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
1606
if (Single.IsInfinity(v) || Single.
IsNaN
(v)) {
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (1)
60
if (Single.IsInfinity(value) || Single.
IsNaN
(value))
System.Data.Entity (1)
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1111
if (float.
IsNaN
(value))
System.Drawing (2)
commonui\System\Drawing\Advanced\Font.cs (2)
209
if (float.
IsNaN
(emSize) || float.IsInfinity(emSize) || emSize <= 0) {
365
if ( float.
IsNaN
( emSize ) || float.IsInfinity(emSize) || emSize <= 0 )
System.Numerics (1)
System\Numerics\BigInteger.cs (1)
476
if (Single.
IsNaN
(value))
System.Web.DataVisualization (94)
Common\Annotation\AnnotationBase.cs (6)
2985
if(float.
IsNaN
(position.Right) &&
2986
!float.
IsNaN
(position.Width) &&
2987
!float.
IsNaN
(anchorPoint.X) )
3028
if(float.
IsNaN
(position.Bottom) &&
3029
!float.
IsNaN
(position.Height) &&
3030
!float.
IsNaN
(anchorPoint.Y) )
Common\Annotation\ArrowAnnotation.cs (4)
320
if( float.
IsNaN
(firstPoint.X) ||
321
float.
IsNaN
(firstPoint.Y) ||
322
float.
IsNaN
(secondPoint.X) ||
323
float.
IsNaN
(secondPoint.Y) )
Common\Annotation\CalloutAnnotation.cs (14)
670
if( float.
IsNaN
(rectanglePosition.X) ||
671
float.
IsNaN
(rectanglePosition.Y) ||
672
float.
IsNaN
(rectanglePosition.Right) ||
673
float.
IsNaN
(rectanglePosition.Bottom) )
838
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
916
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1109
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1308
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1486
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
Common\Annotation\GroupAnnotation.cs (4)
940
float.
IsNaN
(selectionRect.X) ||
941
float.
IsNaN
(selectionRect.Y) ||
942
float.
IsNaN
(selectionRect.Right) ||
943
float.
IsNaN
(selectionRect.Bottom) )
Common\Annotation\ImageAnnotation.cs (4)
544
if( float.
IsNaN
(rectanglePosition.X) ||
545
float.
IsNaN
(rectanglePosition.Y) ||
546
float.
IsNaN
(rectanglePosition.Right) ||
547
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\LineAnnotation.cs (4)
578
if( float.
IsNaN
(firstPoint.X) ||
579
float.
IsNaN
(firstPoint.Y) ||
580
float.
IsNaN
(secondPoint.X) ||
581
float.
IsNaN
(secondPoint.Y) )
Common\Annotation\PolygonAnnotation.cs (4)
585
if( float.
IsNaN
(rectanglePosition.X) ||
586
float.
IsNaN
(rectanglePosition.Y) ||
587
float.
IsNaN
(rectanglePosition.Right) ||
588
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\RectangleAnnotation.cs (8)
408
if( float.
IsNaN
(rectanglePosition.X) ||
409
float.
IsNaN
(rectanglePosition.Y) ||
410
float.
IsNaN
(rectanglePosition.Right) ||
411
float.
IsNaN
(rectanglePosition.Bottom) )
646
if( float.
IsNaN
(rectanglePosition.X) ||
647
float.
IsNaN
(rectanglePosition.Y) ||
648
float.
IsNaN
(rectanglePosition.Right) ||
649
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\TextAnnotation.cs (4)
439
float.
IsNaN
(textPosition.X) ||
440
float.
IsNaN
(textPosition.Y) ||
441
float.
IsNaN
(textPosition.Right) ||
442
float.
IsNaN
(textPosition.Bottom) )
Common\ChartTypes\AreaChart.cs (6)
1037
if(!float.
IsNaN
(thirdPointPosition.Y))
1041
if(!float.
IsNaN
(fourthPointPosition.Y))
1046
if(float.
IsNaN
(thirdPoint.X) ||
1047
float.
IsNaN
(thirdPoint.Y) ||
1048
float.
IsNaN
(fourthPoint.X) ||
1049
float.
IsNaN
(fourthPoint.Y) )
Common\ChartTypes\BarChart.cs (2)
2281
if(!float.
IsNaN
(_areaProjectionCenter.Y))
2328
if(!float.
IsNaN
(_areaProjectionCenter.X))
Common\ChartTypes\FunnelChart.cs (8)
1509
!float.
IsNaN
(labelInfo.Position.X) &&
1510
!float.
IsNaN
(labelInfo.Position.Y) &&
1511
!float.
IsNaN
(labelInfo.Position.Width) &&
1512
!float.
IsNaN
(labelInfo.Position.Height) )
1527
!float.
IsNaN
(labelInfo.CalloutPoint1.X) &&
1528
!float.
IsNaN
(labelInfo.CalloutPoint1.Y) &&
1529
!float.
IsNaN
(labelInfo.CalloutPoint2.X) &&
1530
!float.
IsNaN
(labelInfo.CalloutPoint2.Y) )
Common\ChartTypes\RangeChart.cs (4)
971
if(!float.
IsNaN
(thirdPointPosition.Y))
975
if(!float.
IsNaN
(fourthPointPosition.Y))
1609
if(!float.
IsNaN
(_thirdPointY2Value))
1614
if(!float.
IsNaN
(_fourthPointY2Value))
Common\ChartTypes\StackedAreaChart.cs (4)
1369
if(!float.
IsNaN
(thirdPointPosition.X))
1383
if(!float.
IsNaN
(thirdPointPosition.Y))
1388
if(!float.
IsNaN
(fourthPointPosition.X))
1402
if(!float.
IsNaN
(fourthPointPosition.Y))
Common\DataManager\DataPoint.cs (1)
961
if(val is Single && Single.
IsNaN
((Single)val))
Common\General\Axis.cs (3)
2432
if (rotationCenter.IsEmpty || float.
IsNaN
(rotationCenter.X) || float.
IsNaN
(rotationCenter.Y))
4889
if (!float.
IsNaN
(prevLabelSideAngle))
Common\General\ChartArea3D.cs (6)
1629
if(!float.
IsNaN
(areaProjectionCenter.Z))
1980
if(!float.
IsNaN
(_areaProjectionCenter.Y))
2028
if (!float.
IsNaN
(_areaProjectionCenter.X))
2140
if(!float.
IsNaN
(resultPoint.X))
2142
if(!float.
IsNaN
(resultPoint.Y))
2144
if(!float.
IsNaN
(resultPoint.Z))
Common\General\Legend.cs (2)
1114
if(float.
IsNaN
(legendSize.Height) || float.
IsNaN
(legendSize.Width))
Common\General\Selection.cs (4)
2830
if (!(float.
IsNaN
(pp.X) || float.
IsNaN
(pp.Y)))
3010
if (float.
IsNaN
(pp.X) || float.
IsNaN
(pp.Y))
Common\General\Title.cs (2)
1897
if(float.
IsNaN
(titleSize.Height) || float.
IsNaN
(titleSize.Width))
System.Windows.Forms.DataVisualization (88)
Common\Annotation\AnnotationBase.cs (6)
2985
if(float.
IsNaN
(position.Right) &&
2986
!float.
IsNaN
(position.Width) &&
2987
!float.
IsNaN
(anchorPoint.X) )
3028
if(float.
IsNaN
(position.Bottom) &&
3029
!float.
IsNaN
(position.Height) &&
3030
!float.
IsNaN
(anchorPoint.Y) )
Common\Annotation\ArrowAnnotation.cs (4)
320
if( float.
IsNaN
(firstPoint.X) ||
321
float.
IsNaN
(firstPoint.Y) ||
322
float.
IsNaN
(secondPoint.X) ||
323
float.
IsNaN
(secondPoint.Y) )
Common\Annotation\CalloutAnnotation.cs (14)
670
if( float.
IsNaN
(rectanglePosition.X) ||
671
float.
IsNaN
(rectanglePosition.Y) ||
672
float.
IsNaN
(rectanglePosition.Right) ||
673
float.
IsNaN
(rectanglePosition.Bottom) )
838
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
916
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1109
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1308
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
1486
if(!float.
IsNaN
(anchorPoint.X) && !float.
IsNaN
(anchorPoint.Y))
Common\Annotation\GroupAnnotation.cs (4)
940
float.
IsNaN
(selectionRect.X) ||
941
float.
IsNaN
(selectionRect.Y) ||
942
float.
IsNaN
(selectionRect.Right) ||
943
float.
IsNaN
(selectionRect.Bottom) )
Common\Annotation\ImageAnnotation.cs (4)
544
if( float.
IsNaN
(rectanglePosition.X) ||
545
float.
IsNaN
(rectanglePosition.Y) ||
546
float.
IsNaN
(rectanglePosition.Right) ||
547
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\LineAnnotation.cs (4)
578
if( float.
IsNaN
(firstPoint.X) ||
579
float.
IsNaN
(firstPoint.Y) ||
580
float.
IsNaN
(secondPoint.X) ||
581
float.
IsNaN
(secondPoint.Y) )
Common\Annotation\PolygonAnnotation.cs (4)
585
if( float.
IsNaN
(rectanglePosition.X) ||
586
float.
IsNaN
(rectanglePosition.Y) ||
587
float.
IsNaN
(rectanglePosition.Right) ||
588
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\RectangleAnnotation.cs (8)
408
if( float.
IsNaN
(rectanglePosition.X) ||
409
float.
IsNaN
(rectanglePosition.Y) ||
410
float.
IsNaN
(rectanglePosition.Right) ||
411
float.
IsNaN
(rectanglePosition.Bottom) )
646
if( float.
IsNaN
(rectanglePosition.X) ||
647
float.
IsNaN
(rectanglePosition.Y) ||
648
float.
IsNaN
(rectanglePosition.Right) ||
649
float.
IsNaN
(rectanglePosition.Bottom) )
Common\Annotation\TextAnnotation.cs (4)
439
float.
IsNaN
(textPosition.X) ||
440
float.
IsNaN
(textPosition.Y) ||
441
float.
IsNaN
(textPosition.Right) ||
442
float.
IsNaN
(textPosition.Bottom) )
Common\ChartTypes\AreaChart.cs (6)
1037
if(!float.
IsNaN
(thirdPointPosition.Y))
1041
if(!float.
IsNaN
(fourthPointPosition.Y))
1046
if(float.
IsNaN
(thirdPoint.X) ||
1047
float.
IsNaN
(thirdPoint.Y) ||
1048
float.
IsNaN
(fourthPoint.X) ||
1049
float.
IsNaN
(fourthPoint.Y) )
Common\ChartTypes\BarChart.cs (2)
2281
if(!float.
IsNaN
(_areaProjectionCenter.Y))
2328
if(!float.
IsNaN
(_areaProjectionCenter.X))
Common\ChartTypes\FunnelChart.cs (8)
1509
!float.
IsNaN
(labelInfo.Position.X) &&
1510
!float.
IsNaN
(labelInfo.Position.Y) &&
1511
!float.
IsNaN
(labelInfo.Position.Width) &&
1512
!float.
IsNaN
(labelInfo.Position.Height) )
1527
!float.
IsNaN
(labelInfo.CalloutPoint1.X) &&
1528
!float.
IsNaN
(labelInfo.CalloutPoint1.Y) &&
1529
!float.
IsNaN
(labelInfo.CalloutPoint2.X) &&
1530
!float.
IsNaN
(labelInfo.CalloutPoint2.Y) )
Common\ChartTypes\RangeChart.cs (4)
971
if(!float.
IsNaN
(thirdPointPosition.Y))
975
if(!float.
IsNaN
(fourthPointPosition.Y))
1609
if(!float.
IsNaN
(_thirdPointY2Value))
1614
if(!float.
IsNaN
(_fourthPointY2Value))
Common\ChartTypes\StackedAreaChart.cs (4)
1369
if(!float.
IsNaN
(thirdPointPosition.X))
1383
if(!float.
IsNaN
(thirdPointPosition.Y))
1388
if(!float.
IsNaN
(fourthPointPosition.X))
1402
if(!float.
IsNaN
(fourthPointPosition.Y))
Common\DataManager\DataPoint.cs (1)
961
if(val is Single && Single.
IsNaN
((Single)val))
Common\General\Axis.cs (3)
2432
if (rotationCenter.IsEmpty || float.
IsNaN
(rotationCenter.X) || float.
IsNaN
(rotationCenter.Y))
4889
if (!float.
IsNaN
(prevLabelSideAngle))
Common\General\Legend.cs (2)
1114
if(float.
IsNaN
(legendSize.Height) || float.
IsNaN
(legendSize.Width))
Common\General\Selection.cs (4)
2830
if (!(float.
IsNaN
(pp.X) || float.
IsNaN
(pp.Y)))
3010
if (float.
IsNaN
(pp.X) || float.
IsNaN
(pp.Y))
Common\General\Title.cs (2)
1897
if(float.
IsNaN
(titleSize.Height) || float.
IsNaN
(titleSize.Width))
System.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
3454
if (float.IsInfinity(value) || float.
IsNaN
(value)) {