172 references to IsNull
PresentationCore (172)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (12)
461bool handleNeedsCreation = handle.IsNull; 523Debug.Assert(!handle.IsNull); 553Debug.Assert(!handle.IsNull); 951return !_handle.IsNull; 1288if (_head._value.IsNull) 1331if (!_head._value.IsNull) 1441else if (!_head._value.IsNull) 1542if (!duplicate.IsNull) 1605return !GetHandle(channel).IsNull; 1905Debug.Assert(!hCompositionNode.IsNull); 1931Debug.Assert(!hCompositionNode.IsNull); 2109Debug.Assert(!hCompositionNode.IsNull);
System\Windows\InterOp\HwndTarget.cs (1)
835if (!hWorldTransform.IsNull)
System\Windows\Media\Animation\Animatable.cs (1)
336if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Animation\AnimationStorage.cs (2)
232if (!targetResource.GetHandle(channel).IsNull) 266if (!targetResource.GetHandle(channel).IsNull)
System\Windows\Media\BitmapCacheBrush.cs (1)
90if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Effects\Generated\BlurEffect.cs (1)
178if (hRadiusAnimations.IsNull)
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (5)
248if (hShadowDepthAnimations.IsNull) 253if (hColorAnimations.IsNull) 258if (hDirectionAnimations.IsNull) 263if (hOpacityAnimations.IsNull) 268if (hBlurRadiusAnimations.IsNull)
System\Windows\Media\Effects\Generated\ImplicitInputBrush.cs (1)
143if (hOpacityAnimations.IsNull)
System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
100Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Effects\ShaderEffect.cs (2)
541Debug.Assert(!targetResource.GetHandle(channel).IsNull); 714Debug.Assert(!hBrush.IsNull || ss._brush == null, "If brush isn't null, hBrush better not be");
System\Windows\Media\Generated\BitmapCache.cs (1)
185if (hRenderAtScaleAnimations.IsNull)
System\Windows\Media\Generated\BitmapCacheBrush.cs (3)
112Debug.Assert(!targetResource.GetHandle(channel).IsNull); 173Debug.Assert(!targetResource.GetHandle(channel).IsNull); 356if (hOpacityAnimations.IsNull)
System\Windows\Media\Generated\Brush.cs (2)
115Debug.Assert(!targetResource.GetHandle(channel).IsNull); 163Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\CombinedGeometry.cs (2)
112Debug.Assert(!targetResource.GetHandle(channel).IsNull); 160Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\DashStyle.cs (1)
173if (hOffsetAnimations.IsNull)
System\Windows\Media\Generated\DrawingBrush.cs (4)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull); 214if (hOpacityAnimations.IsNull) 223if (hViewportAnimations.IsNull) 228if (hViewboxAnimations.IsNull)
System\Windows\Media\Generated\DrawingGroup.cs (8)
125Debug.Assert(!targetResource.GetHandle(channel).IsNull); 196Debug.Assert(!targetResource.GetHandle(channel).IsNull); 251Debug.Assert(!targetResource.GetHandle(channel).IsNull); 299Debug.Assert(!targetResource.GetHandle(channel).IsNull); 347Debug.Assert(!targetResource.GetHandle(channel).IsNull); 600if (hOpacityAnimations.IsNull) 726Debug.Assert(!thisResource.GetHandle(channel).IsNull); 751Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\DrawingImage.cs (1)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\EllipseGeometry.cs (3)
204if (hRadiusXAnimations.IsNull) 209if (hRadiusYAnimations.IsNull) 214if (hCenterAnimations.IsNull)
System\Windows\Media\Generated\Geometry.cs (1)
110Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GeometryDrawing.cs (3)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull); 153Debug.Assert(!targetResource.GetHandle(channel).IsNull); 201Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GeometryGroup.cs (3)
132Debug.Assert(!targetResource.GetHandle(channel).IsNull); 370Debug.Assert(!thisResource.GetHandle(channel).IsNull); 395Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GlyphRunDrawing.cs (2)
86Debug.Assert(!targetResource.GetHandle(channel).IsNull); 134Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\ImageBrush.cs (4)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull); 214if (hOpacityAnimations.IsNull) 223if (hViewportAnimations.IsNull) 228if (hViewboxAnimations.IsNull)
System\Windows\Media\Generated\ImageDrawing.cs (2)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull); 211if (hRectAnimations.IsNull)
System\Windows\Media\Generated\LineGeometry.cs (2)
181if (hStartPointAnimations.IsNull) 186if (hEndPointAnimations.IsNull)
System\Windows\Media\Generated\MatrixTransform.cs (1)
141if (hMatrixAnimations.IsNull)
System\Windows\Media\Generated\Pen.cs (3)
105Debug.Assert(!targetResource.GetHandle(channel).IsNull); 195Debug.Assert(!targetResource.GetHandle(channel).IsNull); 386if (hThicknessAnimations.IsNull)
System\Windows\Media\Generated\RectangleGeometry.cs (3)
204if (hRadiusXAnimations.IsNull) 209if (hRadiusYAnimations.IsNull) 214if (hRectAnimations.IsNull)
System\Windows\Media\Generated\RotateTransform.cs (3)
187if (hAngleAnimations.IsNull) 192if (hCenterXAnimations.IsNull) 197if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\ScaleTransform.cs (4)
210if (hScaleXAnimations.IsNull) 215if (hScaleYAnimations.IsNull) 220if (hCenterXAnimations.IsNull) 225if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\SkewTransform.cs (4)
210if (hAngleXAnimations.IsNull) 215if (hAngleYAnimations.IsNull) 220if (hCenterXAnimations.IsNull) 225if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\SolidColorBrush.cs (2)
170if (hOpacityAnimations.IsNull) 177if (hColorAnimations.IsNull)
System\Windows\Media\Generated\TransformGroup.cs (3)
125Debug.Assert(!targetResource.GetHandle(channel).IsNull); 330Debug.Assert(!thisResource.GetHandle(channel).IsNull); 355Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\TranslateTransform.cs (2)
164if (hXAnimations.IsNull) 169if (hYAnimations.IsNull)
System\Windows\Media\Generated\VideoDrawing.cs (2)
86Debug.Assert(!targetResource.GetHandle(channel).IsNull); 192if (hRectAnimations.IsNull)
System\Windows\Media\Generated\VisualBrush.cs (4)
111Debug.Assert(!targetResource.GetHandle(channel).IsNull); 246if (hOpacityAnimations.IsNull) 255if (hViewportAnimations.IsNull) 260if (hViewboxAnimations.IsNull)
System\Windows\Media\HostVisual.cs (2)
210Debug.Assert(!targetsHandle.IsNull); 304if (!targetsHandle.IsNull)
System\Windows\Media\Renderer.cs (3)
124if (!rootHandle.IsNull) 139if (!deviceTransformHandle.IsNull) 148if (!targetHandle.IsNull)
System\Windows\Media\Visual.cs (1)
1168&& !ctx.Root.IsNull)
System\Windows\Media\VisualBrush.cs (1)
90if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\VisualProxy.cs (2)
116return !_head.Handle.IsNull; 120return !_tail[index].Handle.IsNull;
System\Windows\Media3D\Generated\AmbientLight.cs (1)
137if (hColorAnimations.IsNull)
System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (2)
166if (hAxisAnimations.IsNull) 171if (hAngleAnimations.IsNull)
System\Windows\Media3D\Generated\Camera.cs (1)
103Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
117Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\DirectionalLight.cs (2)
157if (hColorAnimations.IsNull) 162if (hDirectionAnimations.IsNull)
System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
110Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\GeometryModel3D.cs (3)
103Debug.Assert(!targetResource.GetHandle(channel).IsNull); 153Debug.Assert(!targetResource.GetHandle(channel).IsNull); 203Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\MaterialGroup.cs (3)
123Debug.Assert(!targetResource.GetHandle(channel).IsNull); 328Debug.Assert(!thisResource.GetHandle(channel).IsNull); 353Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\Model3D.cs (1)
103Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\Model3DGroup.cs (3)
123Debug.Assert(!targetResource.GetHandle(channel).IsNull); 345Debug.Assert(!thisResource.GetHandle(channel).IsNull); 370Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\OrthographicCamera.cs (6)
161if (hNearPlaneDistanceAnimations.IsNull) 166if (hFarPlaneDistanceAnimations.IsNull) 171if (hPositionAnimations.IsNull) 176if (hLookDirectionAnimations.IsNull) 181if (hUpDirectionAnimations.IsNull) 186if (hWidthAnimations.IsNull)
System\Windows\Media3D\Generated\PerspectiveCamera.cs (6)
161if (hNearPlaneDistanceAnimations.IsNull) 166if (hFarPlaneDistanceAnimations.IsNull) 171if (hPositionAnimations.IsNull) 176if (hLookDirectionAnimations.IsNull) 181if (hUpDirectionAnimations.IsNull) 186if (hFieldOfViewAnimations.IsNull)
System\Windows\Media3D\Generated\PointLight.cs (6)
142if (hColorAnimations.IsNull) 147if (hPositionAnimations.IsNull) 152if (hRangeAnimations.IsNull) 157if (hConstantAttenuationAnimations.IsNull) 162if (hLinearAttenuationAnimations.IsNull) 167if (hQuadraticAttenuationAnimations.IsNull)
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
142if (hQuaternionAnimations.IsNull)
System\Windows\Media3D\Generated\RotateTransform3D.cs (4)
132Debug.Assert(!targetResource.GetHandle(channel).IsNull); 266if (hCenterXAnimations.IsNull) 271if (hCenterYAnimations.IsNull) 276if (hCenterZAnimations.IsNull)
System\Windows\Media3D\Generated\ScaleTransform3D.cs (6)
272if (hScaleXAnimations.IsNull) 277if (hScaleYAnimations.IsNull) 282if (hScaleZAnimations.IsNull) 287if (hCenterXAnimations.IsNull) 292if (hCenterYAnimations.IsNull) 297if (hCenterZAnimations.IsNull)
System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
110Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\SpotLight.cs (9)
208if (hColorAnimations.IsNull) 213if (hPositionAnimations.IsNull) 218if (hRangeAnimations.IsNull) 223if (hConstantAttenuationAnimations.IsNull) 228if (hLinearAttenuationAnimations.IsNull) 233if (hQuadraticAttenuationAnimations.IsNull) 238if (hDirectionAnimations.IsNull) 243if (hOuterConeAngleAnimations.IsNull) 248if (hInnerConeAngleAnimations.IsNull)
System\Windows\Media3D\Generated\Transform3DGroup.cs (3)
123Debug.Assert(!targetResource.GetHandle(channel).IsNull); 328Debug.Assert(!thisResource.GetHandle(channel).IsNull); 353Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\TranslateTransform3D.cs (3)
194if (hOffsetXAnimations.IsNull) 199if (hOffsetYAnimations.IsNull) 204if (hOffsetZAnimations.IsNull)