Base:
property
NodeType
System.Xml.XmlReader.NodeType
71 references to NodeType
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
517
switch (reader.
NodeType
)
PresentationFramework (2)
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
40
if (base.
NodeType
== XmlNodeType.XmlDeclaration)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1411
if (reader.
NodeType
== XmlNodeType.Element)
System.Configuration (49)
System\Configuration\AppSettingsSection.cs (1)
140
XmlNodeType t = xmlUtil.Reader.
NodeType
;
System\Configuration\BaseConfigurationRecord.cs (6)
1959
XmlNodeType t = xmlUtil.Reader.
NodeType
;
2268
if (xmlUtil.Reader.
NodeType
!= XmlNodeType.Element || xmlUtil.Reader.Name != KEYWORD_CONFIGURATION) {
3136
XmlNodeType t = xmlUtil.Reader.
NodeType
;
3185
if (xmlUtil.Reader.
NodeType
!= XmlNodeType.Element) {
4247
nodeType = clone.
NodeType
;
4277
nodeType = clone.
NodeType
;
System\Configuration\MgmtConfigurationRecord.cs (18)
702
if (reader.
NodeType
!= XmlNodeType.Element) {
703
throw new ConfigurationErrorsException(SR.GetString(SR.Config_unexpected_node_type, reader.
NodeType
));
723
switch (reader.
NodeType
) {
735
if (reader.Depth <= 0 && reader.
NodeType
!= XmlNodeType.EndElement) {
2305
if (xmlUtil.Reader.
NodeType
== XmlNodeType.Element && utilWriter.IsLastLineBlank) {
2329
Debug.Assert(reader.
NodeType
== XmlNodeType.Element && reader.Name == KEYWORD_CONFIGURATION,
2361
if (reader.
NodeType
== XmlNodeType.Element && reader.Name == KEYWORD_CONFIGSECTIONS) {
2384
Debug.Assert(reader.
NodeType
== XmlNodeType.EndElement && reader.Name == KEYWORD_CONFIGSECTIONS,
2427
bool skipFirstIndent = reader.Depth > 0 && reader.
NodeType
== XmlNodeType.Element;
2510
if (reader.
NodeType
== XmlNodeType.Element) {
2514
else if (reader.
NodeType
== XmlNodeType.EndElement) {
2555
if (reader.
NodeType
== XmlNodeType.Element) {
2736
if (reader.
NodeType
== XmlNodeType.Element) {
2740
else if (reader.
NodeType
== XmlNodeType.EndElement) {
2785
if (reader.
NodeType
== XmlNodeType.Element) {
3028
if (reader.
NodeType
== XmlNodeType.EndElement) {
3199
if (reader.
NodeType
== XmlNodeType.Element) {
3226
if (reader.IsEmptyElement || reader.
NodeType
== XmlNodeType.EndElement) {
System\Configuration\XmlUtil.cs (23)
100
switch (_reader.
NodeType
) {
158
int trueLinePosition = Reader.LinePosition - GetPositionOffset(Reader.
NodeType
);
195
while (!_reader.EOF && _reader.
NodeType
!= XmlNodeType.Element) {
207
if (_reader.
NodeType
== XmlNodeType.Element) {
223
while (!_reader.EOF && _reader.
NodeType
!= XmlNodeType.Element) {
243
while (!_reader.EOF && _reader.
NodeType
!= XmlNodeType.EndElement) {
253
XmlNodeType nodeType = _reader.
NodeType
;
388
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element, "_reader.NodeType == XmlNodeType.Element");
394
while (_reader.
NodeType
!= XmlNodeType.EndElement) {
397
if (_reader.
NodeType
== XmlNodeType.Element) {
405
if (_reader.
NodeType
== XmlNodeType.Whitespace) {
443
if (_reader.
NodeType
== XmlNodeType.EndElement)
454
if (_reader.
NodeType
== XmlNodeType.Element)
482
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element, "_reader.NodeType == XmlNodeType.Element");
507
if (_reader.
NodeType
!= XmlNodeType.Whitespace) {
526
if (_reader.
NodeType
== XmlNodeType.Element)
543
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element, "_reader.NodeType== XmlNodeType.Element");
603
XmlNodeType nodeType = _reader.
NodeType
;
814
nodeType = _reader.
NodeType
;
863
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element,
898
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element, "_reader.NodeType == NodeType.Element");
988
(Reader.
NodeType
== XmlNodeType.Whitespace)) {
1028
XmlNodeType nodeType = reader.
NodeType
;
System\Configuration\XmlUtilWriter.cs (1)
293
if (reader.
NodeType
== XmlNodeType.Text) {
System.Data (2)
fx\src\data\System\Data\DataViewManager.cs (1)
113
if (r.
NodeType
!= XmlNodeType.Element)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
1089
if (xmlMessageReader.
NodeType
== XmlNodeType.Text) {
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (2)
189
while (newReader.
NodeType
!= XmlNodeType.Element) {
190
if (newReader.
NodeType
== XmlNodeType.ProcessingInstruction) {
System.Windows.Forms (3)
winforms\Managed\System\Resources\ResXResourceReader.cs (3)
385
if (reader.
NodeType
== XmlNodeType.Element) {
609
if(reader.
NodeType
== XmlNodeType.EndElement && ( reader.LocalName.Equals(ResXResourceWriter.DataStr) || reader.LocalName.Equals(ResXResourceWriter.MetadataStr) )) {
614
if (reader.
NodeType
== XmlNodeType.Element) {
System.Workflow.ComponentModel (2)
AuthoringOM\Design\ComponentSerializationService.cs (2)
240
while (reader.
NodeType
!= XmlNodeType.Element && reader.
NodeType
!= XmlNodeType.ProcessingInstruction && reader.Read());
WindowsBase (10)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (3)
604
if (reader.
NodeType
== XmlNodeType.EndElement)
608
if (reader.
NodeType
!= XmlNodeType.Element)
728
if (reader.
NodeType
!= XmlNodeType.Text)
Base\System\IO\Packaging\ZipPackage.cs (6)
1139
if ((reader.
NodeType
== XmlNodeType.Element)
1158
if (reader.
NodeType
== XmlNodeType.None)
1163
if (reader.
NodeType
== XmlNodeType.Element
1171
if (reader.
NodeType
== XmlNodeType.Element
1179
if (reader.
NodeType
== XmlNodeType.EndElement && reader.Depth == 0 && String.CompareOrdinal(reader.Name, TypesTagName) == 0)
1397
if (reader.
NodeType
== XmlNodeType.EndElement && String.CompareOrdinal(elementName, reader.LocalName) == 0)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
72
if (reader.Read() && reader.
NodeType
== XmlNodeType.XmlDeclaration && reader.Depth == 0)