38 references to IsValid
PresentationCore (38)
MS\Internal\Ink\Lasso.cs (7)
334
System.Diagnostics.Debug.Assert(!crossing.IsEmpty && crossing.StartNode.
IsValid
&& crossing.EndNode.
IsValid
);
337
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
344
System.Diagnostics.Debug.Assert(!mcrossing.IsEmpty && mcrossing.StartNode.
IsValid
&& mcrossing.EndNode.
IsValid
);
557
System.Diagnostics.Debug.Assert(strokeNode.
IsValid
);
MS\Internal\Ink\StrokeNode.cs (20)
82
internal bool IsEllipse { get { return
IsValid
&& _operations.IsNodeShapeEllipse; } }
95
return
IsValid
? _operations.GetNodeBounds(_thisNode) : Rect.Empty;
104
return
IsValid
? Rect.Union(_operations.GetNodeBounds(_thisNode), ConnectingQuad.Bounds) : Rect.Empty;
112
if (
IsValid
)
123
if (
IsValid
)
134
if (
IsValid
)
192
if (
IsValid
)
317
if (
IsValid
)
425
if (
IsValid
&& previous.
IsValid
)
847
if (!
IsValid
|| !hitNode.
IsValid
)
865
if ((!
IsValid
) || (!hitNode.
IsValid
))
888
if (!
IsValid
)
915
System.Diagnostics.Debug.Assert(
IsValid
&& (_index >= 0));
946
System.Diagnostics.Debug.Assert(
IsValid
);
1000
System.Diagnostics.Debug.Assert(
IsValid
);
1018
System.Diagnostics.Debug.Assert(
IsValid
);
1036
System.Diagnostics.Debug.Assert(
IsValid
);
MS\Internal\Ink\StrokeRenderer.cs (11)
70
System.Diagnostics.Debug.Assert(strokeNode.
IsValid
);
266
if (!prevPrevStrokeNode.
IsValid
)
268
if (prevStrokeNode.
IsValid
)
284
if (!prevStrokeNode.
IsValid
)
286
if (strokeNode.
IsValid
)
358
if (!strokeNode.
IsValid
)
615
if (prevPrevStrokeNode.
IsValid
)
617
if (prevStrokeNode.
IsValid
)
624
Debug.Assert(!strokeNode.
IsValid
);
677
else if (prevStrokeNode.
IsValid
&& strokeNode.
IsValid
)