6 instantiations of SectionInput
System.Configuration.ConfigurationManager (6)
System\Configuration\BaseConfigurationRecord.cs (5)
421
new
SectionInput
(locationSectionRecord.SectionXmlInfo,
475
SectionInput sectionInput = new
SectionInput
(
505
SectionInput sectionInput = new
SectionInput
(locationSectionRecord.SectionXmlInfo,
2684
SectionInput fileInput = new
SectionInput
(sectionXmlInfo, localErrors);
3387
SectionInput fileInput = new
SectionInput
(sectionXmlInfo, null);
System\Configuration\MgmtConfigurationRecord.cs (1)
1851
fileInput = new
SectionInput
(sectionXmlInfo, null)
46 references to SectionInput
System.Configuration.ConfigurationManager (46)
System\Configuration\BaseConfigurationRecord.cs (23)
133
private static readonly IComparer<
SectionInput
> s_indirectInputsComparer = new IndirectLocationInputComparer();
382
Dictionary<string, List<
SectionInput
>> indirectLocationInputs = null;
413
indirectLocationInputs ??= new Dictionary<string, List<
SectionInput
>>(1);
418
indirectLocationInputs.Add(configKey, new List<
SectionInput
>(1));
436
foreach (KeyValuePair<string, List<
SectionInput
>> keyValuePair in indirectLocationInputs)
438
List<
SectionInput
> inputsPerConfigKey = keyValuePair.Value;
451
foreach (
SectionInput
sectionInput in inputsPerConfigKey)
475
SectionInput
sectionInput = new SectionInput(
505
SectionInput
sectionInput = new SectionInput(locationSectionRecord.SectionXmlInfo,
1165
List<
SectionInput
> locationInputs = sectionRecord.LocationInputs;
1166
List<
SectionInput
> indirectLocationInputs = sectionRecord.IndirectLocationInputs;
1167
SectionInput
fileInput = sectionRecord.FileInput;
1221
foreach (
SectionInput
input in indirectLocationInputs)
1237
foreach (
SectionInput
locationInput in locationInputs)
1298
SectionInput
locationInput = locationInputs[i];
1330
string[] keys,
SectionInput
input, bool isTrusted,
1537
protected ConfigXmlReader GetSectionXmlReader(string[] keys,
SectionInput
input)
2164
SectionInput
input = sectionRecord.IndirectLocationInputs[i];
2684
SectionInput
fileInput = new SectionInput(sectionXmlInfo, localErrors);
3387
SectionInput
fileInput = new SectionInput(sectionXmlInfo, null);
3736
private sealed class IndirectLocationInputComparer : IComparer<
SectionInput
>
3738
public int Compare(
SectionInput
x,
SectionInput
y)
System\Configuration\MgmtConfigurationRecord.cs (4)
341
SectionInput
input = sectionRecord.LastLocationInput;
350
SectionInput
input = sectionRecord.LastIndirectLocationInput;
1840
SectionInput
fileInput = sectionRecord.FileInput;
2984
SectionInput
fileInput = update.SectionRecord.FileInput;
System\Configuration\SectionInformation.cs (1)
457
SectionInput
fileInput = sectionRecord.FileInput;
System\Configuration\SectionRecord.cs (18)
108
internal List<
SectionInput
> LocationInputs { get; private set; }
110
internal
SectionInput
LastLocationInput => HasLocationInputs ? LocationInputs[LocationInputs.Count - 1] : null;
114
internal
SectionInput
FileInput { get; private set; }
119
internal List<
SectionInput
> IndirectLocationInputs { get; private set; }
121
internal
SectionInput
LastIndirectLocationInput
138
if (HasLocationInputs) foreach (
SectionInput
input in LocationInputs) if (input.HasErrors) return true;
141
foreach (
SectionInput
input in IndirectLocationInputs) if (input.HasErrors) return true;
148
AddLocationInput(
SectionInput
sectionInput)
166
internal void AddFileInput(
SectionInput
sectionInput)
202
AddIndirectLocationInput(
SectionInput
sectionInput)
208
AddLocationInputImpl(
SectionInput
sectionInput, bool isIndirectLocation)
210
List<
SectionInput
> inputs = isIndirectLocation
220
inputs = new List<
SectionInput
>(1);
253
foreach (
SectionInput
locationInput in LocationInputs) locationInput.SectionXmlInfo.RawXml = null;
257
foreach (
SectionInput
indirectLocationInput in IndirectLocationInputs)
268
if (LocationInputs != null) foreach (
SectionInput
input in LocationInputs) input.ClearResult();
279
foreach (
SectionInput
input in LocationInputs) ErrorsHelper.AddErrors(ref allErrors, input.Errors);
283
foreach (
SectionInput
input in IndirectLocationInputs)