1 implementation of CurrentIndex
System.Xaml (1)
System\Xaml\ReaderMultiIndexDelegate.cs (1)
78public int CurrentIndex
6 writes to CurrentIndex
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
603iReader.CurrentIndex = savedIdx;
System.Xaml (1)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
600indexingReader.CurrentIndex = -1;
System.Xaml.Tests (4)
System\Xaml\XamlNodeListTests.cs (4)
131indexingReader.CurrentIndex = 1; 155indexingReader.CurrentIndex = 2; 179indexingReader.CurrentIndex = -1; 205Assert.Throws<IndexOutOfRangeException>(() => indexingReader.CurrentIndex = value);
12 references to CurrentIndex
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
583int savedIdx = iReader.CurrentIndex;
System.Xaml (1)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
598if (deferredContent is IXamlIndexingReader indexingReader && indexingReader.CurrentIndex >= 0)
System.Xaml.Tests (10)
System\Xaml\XamlNodeListTests.cs (10)
62Assert.Equal(-1, indexingReader.CurrentIndex); 85Assert.Equal(0, indexingReader.CurrentIndex); 95Assert.Equal(1, indexingReader.CurrentIndex); 105Assert.Equal(2, indexingReader.CurrentIndex); 133Assert.Equal(1, indexingReader.CurrentIndex); 141Assert.Equal(1, indexingReader.CurrentIndex); 157Assert.Equal(2, indexingReader.CurrentIndex); 165Assert.Equal(2, indexingReader.CurrentIndex); 181Assert.Equal(-1, indexingReader.CurrentIndex); 189Assert.Equal(-1, indexingReader.CurrentIndex);