8 references to IndexOf
PresentationCore (8)
Core\CSharp\MS\Internal\Ink\Renderer.cs (2)
501System.Diagnostics.Debug.Assert(_strokes.IndexOf(sender as Stroke) != -1); 597i = _strokes.IndexOf(visual.Stroke);
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (1)
186int firstIndex = _strokes.IndexOf(added[0]);
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (5)
341if ( this.IndexOf(stroke) != -1 ) 362if ( IndexOf(stroke) != -1 ) 468if ( this.IndexOf(stroke) != -1 ) 545if ( this.IndexOf(stroke) != -1 ) 576Debug.Assert(stroke != null && IndexOf(stroke) == -1);