172 references to IsNull
PresentationCore (172)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
921if (!hWorldTransform.IsNull)
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (1)
363if (!resource.GetHandle(mediaContext.Channel).IsNull)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (2)
237if (!targetResource.GetHandle(channel).IsNull) 271if (!targetResource.GetHandle(channel).IsNull)
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
101if (!resource.GetHandle(mediaContext.Channel).IsNull)
Core\CSharp\System\Windows\Media\Effects\Generated\BlurEffect.cs (1)
213if (hRadiusAnimations.IsNull)
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowEffect.cs (5)
283if (hShadowDepthAnimations.IsNull) 288if (hColorAnimations.IsNull) 293if (hDirectionAnimations.IsNull) 298if (hOpacityAnimations.IsNull) 303if (hBlurRadiusAnimations.IsNull)
Core\CSharp\System\Windows\Media\Effects\Generated\ImplicitInputBrush.cs (1)
178if (hOpacityAnimations.IsNull)
Core\CSharp\System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (2)
562Debug.Assert(!targetResource.GetHandle(channel).IsNull); 740Debug.Assert(!hBrush.IsNull || ss._brush == null, "If brush isn't null, hBrush better not be");
Core\CSharp\System\Windows\Media\Generated\BitmapCache.cs (1)
215if (hRenderAtScaleAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\BitmapCacheBrush.cs (3)
136Debug.Assert(!targetResource.GetHandle(channel).IsNull); 197Debug.Assert(!targetResource.GetHandle(channel).IsNull); 386if (hOpacityAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\Brush.cs (2)
137Debug.Assert(!targetResource.GetHandle(channel).IsNull); 185Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\CombinedGeometry.cs (2)
136Debug.Assert(!targetResource.GetHandle(channel).IsNull); 184Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\DashStyle.cs (1)
203if (hOffsetAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (4)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 244if (hOpacityAnimations.IsNull) 253if (hViewportAnimations.IsNull) 258if (hViewboxAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\DrawingGroup.cs (8)
149Debug.Assert(!targetResource.GetHandle(channel).IsNull); 220Debug.Assert(!targetResource.GetHandle(channel).IsNull); 275Debug.Assert(!targetResource.GetHandle(channel).IsNull); 323Debug.Assert(!targetResource.GetHandle(channel).IsNull); 371Debug.Assert(!targetResource.GetHandle(channel).IsNull); 630if (hOpacityAnimations.IsNull) 756Debug.Assert(!thisResource.GetHandle(channel).IsNull); 784Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\DrawingImage.cs (1)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\EllipseGeometry.cs (3)
234if (hRadiusXAnimations.IsNull) 239if (hRadiusYAnimations.IsNull) 244if (hCenterAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
132Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\GeometryDrawing.cs (3)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 177Debug.Assert(!targetResource.GetHandle(channel).IsNull); 225Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\GeometryGroup.cs (3)
156Debug.Assert(!targetResource.GetHandle(channel).IsNull); 400Debug.Assert(!thisResource.GetHandle(channel).IsNull); 428Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\GlyphRunDrawing.cs (2)
110Debug.Assert(!targetResource.GetHandle(channel).IsNull); 158Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\ImageBrush.cs (4)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 244if (hOpacityAnimations.IsNull) 253if (hViewportAnimations.IsNull) 258if (hViewboxAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (2)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 241if (hRectAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\LineGeometry.cs (2)
211if (hStartPointAnimations.IsNull) 216if (hEndPointAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\MatrixTransform.cs (1)
171if (hMatrixAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\Pen.cs (3)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 219Debug.Assert(!targetResource.GetHandle(channel).IsNull); 416if (hThicknessAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (3)
234if (hRadiusXAnimations.IsNull) 239if (hRadiusYAnimations.IsNull) 244if (hRectAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\RotateTransform.cs (3)
217if (hAngleAnimations.IsNull) 222if (hCenterXAnimations.IsNull) 227if (hCenterYAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\ScaleTransform.cs (4)
240if (hScaleXAnimations.IsNull) 245if (hScaleYAnimations.IsNull) 250if (hCenterXAnimations.IsNull) 255if (hCenterYAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\SkewTransform.cs (4)
240if (hAngleXAnimations.IsNull) 245if (hAngleYAnimations.IsNull) 250if (hCenterXAnimations.IsNull) 255if (hCenterYAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\SolidColorBrush.cs (2)
200if (hOpacityAnimations.IsNull) 207if (hColorAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\TransformGroup.cs (3)
149Debug.Assert(!targetResource.GetHandle(channel).IsNull); 360Debug.Assert(!thisResource.GetHandle(channel).IsNull); 388Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media\Generated\TranslateTransform.cs (2)
194if (hXAnimations.IsNull) 199if (hYAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\VideoDrawing.cs (2)
110Debug.Assert(!targetResource.GetHandle(channel).IsNull); 222if (hRectAnimations.IsNull)
Core\CSharp\System\Windows\Media\Generated\VisualBrush.cs (4)
135Debug.Assert(!targetResource.GetHandle(channel).IsNull); 276if (hOpacityAnimations.IsNull) 285if (hViewportAnimations.IsNull) 290if (hViewboxAnimations.IsNull)
Core\CSharp\System\Windows\Media\HostVisual.cs (2)
223Debug.Assert(!targetsHandle.IsNull); 317if (!targetsHandle.IsNull)
Core\CSharp\System\Windows\Media\Renderer.cs (3)
149if (!rootHandle.IsNull) 164if (!deviceTransformHandle.IsNull) 173if (!targetHandle.IsNull)
Core\CSharp\System\Windows\Media\Visual.cs (1)
1197&& !ctx.Root.IsNull)
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
102if (!resource.GetHandle(mediaContext.Channel).IsNull)
Core\CSharp\System\Windows\Media\VisualProxy.cs (2)
126return !_head.Handle.IsNull; 130return !_tail[index].Handle.IsNull;
Core\CSharp\System\Windows\Media3D\Generated\AmbientLight.cs (1)
165if (hColorAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (2)
194if (hAxisAnimations.IsNull) 199if (hAngleAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
125Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
139Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\DirectionalLight.cs (2)
185if (hColorAnimations.IsNull) 190if (hDirectionAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
132Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\GeometryModel3D.cs (3)
125Debug.Assert(!targetResource.GetHandle(channel).IsNull); 175Debug.Assert(!targetResource.GetHandle(channel).IsNull); 225Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\MaterialGroup.cs (3)
145Debug.Assert(!targetResource.GetHandle(channel).IsNull); 356Debug.Assert(!thisResource.GetHandle(channel).IsNull); 384Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
125Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\Model3DGroup.cs (3)
145Debug.Assert(!targetResource.GetHandle(channel).IsNull); 373Debug.Assert(!thisResource.GetHandle(channel).IsNull); 401Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\OrthographicCamera.cs (6)
189if (hNearPlaneDistanceAnimations.IsNull) 194if (hFarPlaneDistanceAnimations.IsNull) 199if (hPositionAnimations.IsNull) 204if (hLookDirectionAnimations.IsNull) 209if (hUpDirectionAnimations.IsNull) 214if (hWidthAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\PerspectiveCamera.cs (6)
189if (hNearPlaneDistanceAnimations.IsNull) 194if (hFarPlaneDistanceAnimations.IsNull) 199if (hPositionAnimations.IsNull) 204if (hLookDirectionAnimations.IsNull) 209if (hUpDirectionAnimations.IsNull) 214if (hFieldOfViewAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\PointLight.cs (6)
170if (hColorAnimations.IsNull) 175if (hPositionAnimations.IsNull) 180if (hRangeAnimations.IsNull) 185if (hConstantAttenuationAnimations.IsNull) 190if (hLinearAttenuationAnimations.IsNull) 195if (hQuadraticAttenuationAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
170if (hQuaternionAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\RotateTransform3D.cs (4)
154Debug.Assert(!targetResource.GetHandle(channel).IsNull); 294if (hCenterXAnimations.IsNull) 299if (hCenterYAnimations.IsNull) 304if (hCenterZAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\ScaleTransform3D.cs (6)
300if (hScaleXAnimations.IsNull) 305if (hScaleYAnimations.IsNull) 310if (hScaleZAnimations.IsNull) 315if (hCenterXAnimations.IsNull) 320if (hCenterYAnimations.IsNull) 325if (hCenterZAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
132Debug.Assert(!targetResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\SpotLight.cs (9)
236if (hColorAnimations.IsNull) 241if (hPositionAnimations.IsNull) 246if (hRangeAnimations.IsNull) 251if (hConstantAttenuationAnimations.IsNull) 256if (hLinearAttenuationAnimations.IsNull) 261if (hQuadraticAttenuationAnimations.IsNull) 266if (hDirectionAnimations.IsNull) 271if (hOuterConeAngleAnimations.IsNull) 276if (hInnerConeAngleAnimations.IsNull)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DGroup.cs (3)
145Debug.Assert(!targetResource.GetHandle(channel).IsNull); 356Debug.Assert(!thisResource.GetHandle(channel).IsNull); 384Debug.Assert(!thisResource.GetHandle(channel).IsNull);
Core\CSharp\System\Windows\Media3D\Generated\TranslateTransform3D.cs (3)
222if (hOffsetXAnimations.IsNull) 227if (hOffsetYAnimations.IsNull) 232if (hOffsetZAnimations.IsNull)
Graphics\include\exports.cs (12)
551bool handleNeedsCreation = handle.IsNull; 625Debug.Assert(!handle.IsNull); 661Debug.Assert(!handle.IsNull); 1127return !_handle.IsNull; 1462if (_head._value.IsNull) 1505if (!_head._value.IsNull) 1616else if (!_head._value.IsNull) 1718if (!duplicate.IsNull) 1781return !GetHandle(channel).IsNull; 2147Debug.Assert(!hCompositionNode.IsNull); 2178Debug.Assert(!hCompositionNode.IsNull); 2386Debug.Assert(!hCompositionNode.IsNull);