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)
308if ( this.IndexOf(stroke) != -1 ) 326if ( IndexOf(stroke) != -1 ) 426if ( this.IndexOf(stroke) != -1 ) 503if ( this.IndexOf(stroke) != -1 ) 534Debug.Assert(stroke != null && IndexOf(stroke) == -1);