1 write to initialDepth
System.Xml (1)
System\Xml\Core\XmlSubtreeReader.cs (1)
95initialDepth = reader.Depth;
24 references to initialDepth
System.Xml (24)
System\Xml\Core\XmlSubtreeReader.cs (14)
148int depth = reader.Depth - initialDepth; 386Debug.Assert( reader.Depth >= initialDepth ); 387if ( reader.Depth == initialDepth ) { 447Debug.Assert( reader.Depth >= initialDepth ); 449if (reader.Depth == initialDepth && reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement) { 453while (reader.Depth > initialDepth && reader.Read()) { 478Debug.Assert( reader.Depth >= initialDepth ); 479if ( reader.Depth == initialDepth ) { 483while ( reader.NodeType != XmlNodeType.EndElement && reader.Depth > initialDepth ) { 502Debug.Assert( reader.Depth >= initialDepth ); 776if ( reader.Depth == initialDepth ) { 893if ( reader.Depth == initialDepth ) { 1179if ( reader.Depth == initialDepth ) { 1203if ( reader.Depth == initialDepth ) {
System\Xml\Core\XmlSubtreeReaderAsync.cs (10)
36Debug.Assert( reader.Depth >= initialDepth ); 37if ( reader.Depth == initialDepth ) { 99Debug.Assert( reader.Depth >= initialDepth ); 100if ( reader.Depth == initialDepth ) { 104while ( reader.NodeType != XmlNodeType.EndElement && reader.Depth > initialDepth ) { 123Debug.Assert( reader.Depth >= initialDepth ); 300if ( reader.Depth == initialDepth ) { 417if ( reader.Depth == initialDepth ) { 530if ( reader.Depth == initialDepth ) { 554if ( reader.Depth == initialDepth ) {