8 references to IndexOf
PresentationCore (8)
MS\Internal\Ink\Renderer.cs (2)
474System.Diagnostics.Debug.Assert(_strokes.IndexOf(sender as Stroke) != -1); 570i = _strokes.IndexOf(visual.Stroke);
System\Windows\Ink\IncrementalHitTester.cs (1)
168int firstIndex = _strokes.IndexOf(added[0]);
System\Windows\Ink\StrokeCollection.cs (5)
307if ( this.IndexOf(stroke) != -1 ) 325if ( IndexOf(stroke) != -1 ) 425if ( this.IndexOf(stroke) != -1 ) 502if ( this.IndexOf(stroke) != -1 ) 533Debug.Assert(stroke != null && IndexOf(stroke) == -1);