87 references to Reader
System.Configuration (87)
System\Configuration\AppSettingsSection.cs (5)
129
if (xmlUtil.
Reader
.Name != ElementName) {
135
lineOffset = xmlUtil.
Reader
.LineNumber;
139
while (!xmlUtil.
Reader
.EOF) {
140
XmlNodeType t = xmlUtil.
Reader
.NodeType;
145
xmlUtil.
Reader
.Read();
System\Configuration\BaseConfigurationRecord.cs (73)
625
ConfigStreamInfo.StreamEncoding = xmlUtil.
Reader
.Encoding;
636
if (xmlUtil.
Reader
.Depth == 1) {
1815
while (xmlUtil.
Reader
.Depth > 0) {
1816
if (xmlUtil.
Reader
.Name == KEYWORD_LOCATION) {
1818
string locationSubPathAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_LOCATION_PATH);
1861
int depth = xmlUtil.
Reader
.Depth;
1864
while (xmlUtil.
Reader
.Depth > depth) {
1865
if (xmlUtil.
Reader
.Name == name) {
1882
int lineOffset = xmlUtil.
Reader
.LineNumber;
1888
else if (iKey == 0 && xmlUtil.
Reader
.Name == KEYWORD_LOCATION) {
1889
string locationSubPath = xmlUtil.
Reader
.GetAttribute(KEYWORD_LOCATION_PATH);
1933
if (xmlUtil.
Reader
.Name != name) {
1938
string protectionProviderAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_PROTECTION_PROVIDER);
1940
if (xmlUtil.
Reader
.AttributeCount != 1) {
1949
string configBuilderAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_CONFIG_BUILDER);
1954
int lineOffset = xmlUtil.
Reader
.LineNumber;
1958
while (!xmlUtil.
Reader
.EOF) {
1959
XmlNodeType t = xmlUtil.
Reader
.NodeType;
1964
xmlUtil.
Reader
.Read();
2268
if (xmlUtil.
Reader
.NodeType != XmlNodeType.Element || xmlUtil.
Reader
.Name != KEYWORD_CONFIGURATION) {
2278
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
2279
switch (xmlUtil.
Reader
.Name) {
2281
if (xmlUtil.
Reader
.Value == KEYWORD_CONFIGURATION_NAMESPACE) {
2288
SR.GetString(SR.Config_namespace_invalid, xmlUtil.
Reader
.Value, KEYWORD_CONFIGURATION_NAMESPACE),
2304
if (xmlUtil.
Reader
.Depth == 1 && xmlUtil.
Reader
.Name == KEYWORD_CONFIGSECTIONS) {
2330
int depth = xmlUtil.
Reader
.Depth;
2333
while (xmlUtil.
Reader
.Depth == depth + 1) {
2336
switch (xmlUtil.
Reader
.Name) {
2344
int lineNumber = xmlUtil.
Reader
.LineNumber;
2345
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
2346
switch (xmlUtil.
Reader
.Name) {
2348
tagName = xmlUtil.
Reader
.Value;
2361
xmlUtil.
Reader
.MoveToElement(); // if on an attribute move back to the element
2435
int lineNumber = xmlUtil.
Reader
.LineNumber;
2436
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
2437
switch (xmlUtil.
Reader
.Name) {
2439
tagName = xmlUtil.
Reader
.Value;
2455
allowExeDefinition = AllowExeDefinitionToEnum(xmlUtil.
Reader
.Value, xmlUtil);
2465
allowDefinition = AllowDefinitionToEnum(xmlUtil.
Reader
.Value, xmlUtil);
2488
OverrideModeSetting.ParseOverrideModeXmlValue(xmlUtil.
Reader
.Value, xmlUtil));
2509
xmlUtil.
Reader
.MoveToElement(); // if on an attribute move back to the element
2603
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
2604
if (xmlUtil.
Reader
.Name != KEYWORD_SECTION_NAME) {
2608
name = xmlUtil.
Reader
.Value;
2609
lineNumber = xmlUtil.
Reader
.LineNumber;
2611
xmlUtil.
Reader
.MoveToElement();
2639
if (xmlUtil.
Reader
.Depth > depth + 1) {
2643
while (xmlUtil.
Reader
.Depth > (depth + 1)) {
2686
switch (xmlUtil.
Reader
.Value) {
2914
depth = xmlUtil.
Reader
.Depth;
2918
while (xmlUtil.
Reader
.Depth == depth + 1) {
2920
string tagName = xmlUtil.
Reader
.Name;
3010
if (xmlUtil.
Reader
.AttributeCount > 0) {
3013
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
3014
if (IsReservedAttributeName(xmlUtil.
Reader
.Name)) {
3019
xmlUtil.
Reader
.MoveToElement(); // if on an attribute move back to the element
3083
if (xmlUtil.
Reader
.AttributeCount >= 1) {
3086
string configSourceAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_CONFIGSOURCE);
3095
if (xmlUtil.
Reader
.AttributeCount != 1) {
3103
string protectionProviderAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_PROTECTION_PROVIDER);
3112
if (xmlUtil.
Reader
.AttributeCount != 1) {
3120
string configBuilderAttribute = xmlUtil.
Reader
.GetAttribute(KEYWORD_CONFIG_BUILDER);
3134
if (!xmlUtil.
Reader
.IsEmptyElement) {
3135
while (xmlUtil.
Reader
.Read()) {
3136
XmlNodeType t = xmlUtil.
Reader
.NodeType;
3185
if (xmlUtil.
Reader
.NodeType != XmlNodeType.Element) {
3273
while (xmlUtil.
Reader
.MoveToNextAttribute()) {
3274
switch (xmlUtil.
Reader
.Name) {
3276
locationSubPath = xmlUtil.
Reader
.Value;
3303
OverrideModeSetting.ParseOverrideModeXmlValue(xmlUtil.
Reader
.Value, xmlUtil));
3321
xmlUtil.
Reader
.MoveToElement(); // if on an attribute move back to the element
System\Configuration\MgmtConfigurationRecord.cs (5)
2305
if (xmlUtil.
Reader
.NodeType == XmlNodeType.Element && utilWriter.IsLastLineBlank) {
2324
XmlTextReader reader = xmlUtil.
Reader
;
2503
XmlTextReader reader = xmlUtil.
Reader
;
2729
XmlTextReader reader = xmlUtil.
Reader
;
3173
XmlTextReader reader = xmlUtil.
Reader
;
System\Configuration\XmlUtil.cs (4)
149
get { return
Reader
.LineNumber; }
158
int trueLinePosition =
Reader
.LinePosition - GetPositionOffset(
Reader
.NodeType);
988
(
Reader
.NodeType == XmlNodeType.Whitespace)) {