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