172 references to IsNull
PresentationCore (172)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (12)
479bool handleNeedsCreation = handle.IsNull; 541Debug.Assert(!handle.IsNull); 571Debug.Assert(!handle.IsNull); 969return !_handle.IsNull; 1306if (_head._value.IsNull) 1349if (!_head._value.IsNull) 1459else if (!_head._value.IsNull) 1560if (!duplicate.IsNull) 1623return !GetHandle(channel).IsNull; 1923Debug.Assert(!hCompositionNode.IsNull); 1949Debug.Assert(!hCompositionNode.IsNull); 2127Debug.Assert(!hCompositionNode.IsNull);
System\Windows\InterOp\HwndTarget.cs (1)
842if (!hWorldTransform.IsNull)
System\Windows\Media\Animation\Animatable.cs (1)
361if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Animation\AnimationStorage.cs (2)
239if (!targetResource.GetHandle(channel).IsNull) 273if (!targetResource.GetHandle(channel).IsNull)
System\Windows\Media\BitmapCacheBrush.cs (1)
99if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Effects\Generated\BlurEffect.cs (1)
201if (hRadiusAnimations.IsNull)
System\Windows\Media\Effects\Generated\DropShadowEffect.cs (5)
271if (hShadowDepthAnimations.IsNull) 276if (hColorAnimations.IsNull) 281if (hDirectionAnimations.IsNull) 286if (hOpacityAnimations.IsNull) 291if (hBlurRadiusAnimations.IsNull)
System\Windows\Media\Effects\Generated\ImplicitInputBrush.cs (1)
166if (hOpacityAnimations.IsNull)
System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
122Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Effects\ShaderEffect.cs (2)
558Debug.Assert(!targetResource.GetHandle(channel).IsNull); 731Debug.Assert(!hBrush.IsNull || ss._brush == null, "If brush isn't null, hBrush better not be");
System\Windows\Media\Generated\BitmapCache.cs (1)
203if (hRenderAtScaleAnimations.IsNull)
System\Windows\Media\Generated\BitmapCacheBrush.cs (3)
126Debug.Assert(!targetResource.GetHandle(channel).IsNull); 187Debug.Assert(!targetResource.GetHandle(channel).IsNull); 370if (hOpacityAnimations.IsNull)
System\Windows\Media\Generated\Brush.cs (2)
128Debug.Assert(!targetResource.GetHandle(channel).IsNull); 172Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\CombinedGeometry.cs (2)
126Debug.Assert(!targetResource.GetHandle(channel).IsNull); 170Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\DashStyle.cs (1)
187if (hOffsetAnimations.IsNull)
System\Windows\Media\Generated\DrawingBrush.cs (4)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull); 228if (hOpacityAnimations.IsNull) 237if (hViewportAnimations.IsNull) 242if (hViewboxAnimations.IsNull)
System\Windows\Media\Generated\DrawingGroup.cs (8)
139Debug.Assert(!targetResource.GetHandle(channel).IsNull); 206Debug.Assert(!targetResource.GetHandle(channel).IsNull); 257Debug.Assert(!targetResource.GetHandle(channel).IsNull); 301Debug.Assert(!targetResource.GetHandle(channel).IsNull); 345Debug.Assert(!targetResource.GetHandle(channel).IsNull); 590if (hOpacityAnimations.IsNull) 711Debug.Assert(!thisResource.GetHandle(channel).IsNull); 739Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\DrawingImage.cs (1)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\EllipseGeometry.cs (3)
222if (hRadiusXAnimations.IsNull) 227if (hRadiusYAnimations.IsNull) 232if (hCenterAnimations.IsNull)
System\Windows\Media\Generated\Geometry.cs (1)
126Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GeometryDrawing.cs (3)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull); 163Debug.Assert(!targetResource.GetHandle(channel).IsNull); 207Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GeometryGroup.cs (3)
146Debug.Assert(!targetResource.GetHandle(channel).IsNull); 379Debug.Assert(!thisResource.GetHandle(channel).IsNull); 407Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\GlyphRunDrawing.cs (2)
104Debug.Assert(!targetResource.GetHandle(channel).IsNull); 148Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\ImageBrush.cs (4)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull); 228if (hOpacityAnimations.IsNull) 237if (hViewportAnimations.IsNull) 242if (hViewboxAnimations.IsNull)
System\Windows\Media\Generated\ImageDrawing.cs (2)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull); 225if (hRectAnimations.IsNull)
System\Windows\Media\Generated\LineGeometry.cs (2)
199if (hStartPointAnimations.IsNull) 204if (hEndPointAnimations.IsNull)
System\Windows\Media\Generated\MatrixTransform.cs (1)
159if (hMatrixAnimations.IsNull)
System\Windows\Media\Generated\Pen.cs (3)
119Debug.Assert(!targetResource.GetHandle(channel).IsNull); 205Debug.Assert(!targetResource.GetHandle(channel).IsNull); 396if (hThicknessAnimations.IsNull)
System\Windows\Media\Generated\RectangleGeometry.cs (3)
222if (hRadiusXAnimations.IsNull) 227if (hRadiusYAnimations.IsNull) 232if (hRectAnimations.IsNull)
System\Windows\Media\Generated\RotateTransform.cs (3)
205if (hAngleAnimations.IsNull) 210if (hCenterXAnimations.IsNull) 215if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\ScaleTransform.cs (4)
228if (hScaleXAnimations.IsNull) 233if (hScaleYAnimations.IsNull) 238if (hCenterXAnimations.IsNull) 243if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\SkewTransform.cs (4)
228if (hAngleXAnimations.IsNull) 233if (hAngleYAnimations.IsNull) 238if (hCenterXAnimations.IsNull) 243if (hCenterYAnimations.IsNull)
System\Windows\Media\Generated\SolidColorBrush.cs (2)
188if (hOpacityAnimations.IsNull) 195if (hColorAnimations.IsNull)
System\Windows\Media\Generated\TransformGroup.cs (3)
139Debug.Assert(!targetResource.GetHandle(channel).IsNull); 335Debug.Assert(!thisResource.GetHandle(channel).IsNull); 363Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media\Generated\TranslateTransform.cs (2)
182if (hXAnimations.IsNull) 187if (hYAnimations.IsNull)
System\Windows\Media\Generated\VideoDrawing.cs (2)
104Debug.Assert(!targetResource.GetHandle(channel).IsNull); 210if (hRectAnimations.IsNull)
System\Windows\Media\Generated\VisualBrush.cs (4)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull); 264if (hOpacityAnimations.IsNull) 273if (hViewportAnimations.IsNull) 278if (hViewboxAnimations.IsNull)
System\Windows\Media\HostVisual.cs (2)
227Debug.Assert(!targetsHandle.IsNull); 321if (!targetsHandle.IsNull)
System\Windows\Media\Renderer.cs (3)
137if (!rootHandle.IsNull) 152if (!deviceTransformHandle.IsNull) 161if (!targetHandle.IsNull)
System\Windows\Media\Visual.cs (1)
1190&& !ctx.Root.IsNull)
System\Windows\Media\VisualBrush.cs (1)
100if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\VisualProxy.cs (2)
125return !_head.Handle.IsNull; 129return !_tail[index].Handle.IsNull;
System\Windows\Media3D\Generated\AmbientLight.cs (1)
153if (hColorAnimations.IsNull)
System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (2)
182if (hAxisAnimations.IsNull) 187if (hAngleAnimations.IsNull)
System\Windows\Media3D\Generated\Camera.cs (1)
115Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
129Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\DirectionalLight.cs (2)
173if (hColorAnimations.IsNull) 178if (hDirectionAnimations.IsNull)
System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
122Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\GeometryModel3D.cs (3)
115Debug.Assert(!targetResource.GetHandle(channel).IsNull); 164Debug.Assert(!targetResource.GetHandle(channel).IsNull); 213Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\MaterialGroup.cs (3)
135Debug.Assert(!targetResource.GetHandle(channel).IsNull); 331Debug.Assert(!thisResource.GetHandle(channel).IsNull); 359Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\Model3D.cs (1)
115Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\Model3DGroup.cs (3)
135Debug.Assert(!targetResource.GetHandle(channel).IsNull); 352Debug.Assert(!thisResource.GetHandle(channel).IsNull); 380Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\OrthographicCamera.cs (6)
177if (hNearPlaneDistanceAnimations.IsNull) 182if (hFarPlaneDistanceAnimations.IsNull) 187if (hPositionAnimations.IsNull) 192if (hLookDirectionAnimations.IsNull) 197if (hUpDirectionAnimations.IsNull) 202if (hWidthAnimations.IsNull)
System\Windows\Media3D\Generated\PerspectiveCamera.cs (6)
177if (hNearPlaneDistanceAnimations.IsNull) 182if (hFarPlaneDistanceAnimations.IsNull) 187if (hPositionAnimations.IsNull) 192if (hLookDirectionAnimations.IsNull) 197if (hUpDirectionAnimations.IsNull) 202if (hFieldOfViewAnimations.IsNull)
System\Windows\Media3D\Generated\PointLight.cs (6)
158if (hColorAnimations.IsNull) 163if (hPositionAnimations.IsNull) 168if (hRangeAnimations.IsNull) 173if (hConstantAttenuationAnimations.IsNull) 178if (hLinearAttenuationAnimations.IsNull) 183if (hQuadraticAttenuationAnimations.IsNull)
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
158if (hQuaternionAnimations.IsNull)
System\Windows\Media3D\Generated\RotateTransform3D.cs (4)
144Debug.Assert(!targetResource.GetHandle(channel).IsNull); 278if (hCenterXAnimations.IsNull) 283if (hCenterYAnimations.IsNull) 288if (hCenterZAnimations.IsNull)
System\Windows\Media3D\Generated\ScaleTransform3D.cs (6)
288if (hScaleXAnimations.IsNull) 293if (hScaleYAnimations.IsNull) 298if (hScaleZAnimations.IsNull) 303if (hCenterXAnimations.IsNull) 308if (hCenterYAnimations.IsNull) 313if (hCenterZAnimations.IsNull)
System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
122Debug.Assert(!targetResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\SpotLight.cs (9)
224if (hColorAnimations.IsNull) 229if (hPositionAnimations.IsNull) 234if (hRangeAnimations.IsNull) 239if (hConstantAttenuationAnimations.IsNull) 244if (hLinearAttenuationAnimations.IsNull) 249if (hQuadraticAttenuationAnimations.IsNull) 254if (hDirectionAnimations.IsNull) 259if (hOuterConeAngleAnimations.IsNull) 264if (hInnerConeAngleAnimations.IsNull)
System\Windows\Media3D\Generated\Transform3DGroup.cs (3)
135Debug.Assert(!targetResource.GetHandle(channel).IsNull); 331Debug.Assert(!thisResource.GetHandle(channel).IsNull); 359Debug.Assert(!thisResource.GetHandle(channel).IsNull);
System\Windows\Media3D\Generated\TranslateTransform3D.cs (3)
210if (hOffsetXAnimations.IsNull) 215if (hOffsetYAnimations.IsNull) 220if (hOffsetZAnimations.IsNull)