8 references to IndexOf
PresentationCore (8)
MS\Internal\Ink\Renderer.cs (2)
475System.Diagnostics.Debug.Assert(_strokes.IndexOf(sender as Stroke) != -1); 571i = _strokes.IndexOf(visual.Stroke);
System\Windows\Ink\IncrementalHitTester.cs (1)
169int firstIndex = _strokes.IndexOf(added[0]);
System\Windows\Ink\StrokeCollection.cs (5)
314if ( this.IndexOf(stroke) != -1 ) 332if ( IndexOf(stroke) != -1 ) 432if ( this.IndexOf(stroke) != -1 ) 509if ( this.IndexOf(stroke) != -1 ) 540Debug.Assert(stroke != null && IndexOf(stroke) == -1);