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