8 references to IndexOf
PresentationCore (8)
MS\Internal\Ink\Renderer.cs (2)
483System.Diagnostics.Debug.Assert(_strokes.IndexOf(sender as Stroke) != -1); 579i = _strokes.IndexOf(visual.Stroke);
System\Windows\Ink\IncrementalHitTester.cs (1)
178int firstIndex = _strokes.IndexOf(added[0]);
System\Windows\Ink\StrokeCollection.cs (5)
326if ( this.IndexOf(stroke) != -1 ) 344if ( IndexOf(stroke) != -1 ) 444if ( this.IndexOf(stroke) != -1 ) 521if ( this.IndexOf(stroke) != -1 ) 552Debug.Assert(stroke != null && IndexOf(stroke) == -1);